/* Generated from approved design HTML head styles. Do not edit by hand; run scripts/build-modx-source.js. */

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }

.ccard-media > .ccard-img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; background: #090d18; }

.ccard-media .video-slot .ccard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; background: #090d18; }

.ba-layer .ba-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

.case-hero-ba .ba-layer { background: #090d18; }

.case-hero-ba .ba-img { object-fit: contain; }

.case-hero-media { position: relative; margin-top: clamp(26px, 4vw, 40px); }

.case-hero-media--compare .ba { aspect-ratio: 16/9; border-radius: 16px; box-shadow: var(--shadow-lg); }

.case-hero-media--compare .pin { position: absolute; top: -12px; left: 20px; z-index: 6; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--red); padding: 7px 13px; border-radius: 999px; box-shadow: 0 12px 26px -8px var(--red-glow); }

.case-media-img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }

.rel-pic .rel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; background: #090d18; transition: transform 1.1s var(--ease); }

.rel-card:hover .rel-pic .rel-img { transform: scale(1.05); }

.case-gallery-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }

.case-gallery-grid--single { max-width: 980px; }

@media (min-width: 760px) { .case-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .case-gallery-grid--single { grid-template-columns: 1fr; } }

.case-gallery-item { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-lg); }

.case-gallery-photo { aspect-ratio: 16 / 9; background: #090d18; }

.case-gallery-item figcaption { display: grid; gap: 5px; padding: 14px 16px; border-top: 1px solid var(--line); }

.case-gallery-item figcaption strong { color: var(--ink); font-size: 15px; line-height: 1.2; }

.case-gallery-item figcaption span { color: var(--text-dim); font-size: 13px; line-height: 1.4; }

.case-detail-gallery .gal-item { display: grid; grid-template-rows: auto 1fr; }

.case-detail-gallery .gal-photo { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; display: block; padding: 0; border: 0; cursor: zoom-in; background: #090d18; color: #fff; }

.case-detail-gallery .case-gallery-video-frame { cursor: default; }

.case-detail-gallery .case-gallery-video { background: #090d18; }

.case-detail-gallery .gal-img { transition: transform .6s var(--ease), filter .6s var(--ease); }

.case-detail-gallery .gal-photo:hover .gal-img { transform: scale(1.03); filter: brightness(.86); }

.case-gallery-zoom { position: absolute; right: 14px; bottom: 14px; z-index: 2; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.62); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 7px 11px; }

.case-gallery-note { display: block; margin-top: 5px; font-family: var(--text); font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--text-dim); }

.story-card li > span { min-width: 0; }

.case-worklist strong { display: block; color: var(--ink); overflow-wrap: anywhere; }

.case-worklist__text { display: block; margin-top: 2px; overflow-wrap: anywhere; }

.case-lightbox { position: fixed; inset: 0; z-index: 1200; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; padding: clamp(14px, 2.4vw, 28px); background: #070b14; color: #fff; isolation: isolate; animation: case-lightbox-in .22s ease both; }

.case-lightbox[hidden] { display: none; }

.case-lightbox__top { width: min(1180px, 100%); margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }

.case-lightbox__copy { min-width: 0; }

.case-lightbox__eyebrow { display: block; margin-bottom: 5px; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.46); }

.case-lightbox__title { margin: 0; overflow-wrap: anywhere; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 24px); line-height: 1.12; }

.case-lightbox__caption { margin: 5px 0 0; max-width: 72ch; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.45; }

.case-lightbox__actions { flex: none; display: flex; align-items: center; gap: 12px; }

.case-lightbox__counter { min-width: 56px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-align: right; color: rgba(255,255,255,.62); }

.case-lightbox__close, .case-lightbox__nav, .case-lightbox__thumb { appearance: none; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, opacity .2s ease, transform .2s ease; }

.case-lightbox__close { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; line-height: 1; }

.case-lightbox__close:hover, .case-lightbox__nav:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.16); }

.case-lightbox__close:focus-visible, .case-lightbox__nav:focus-visible, .case-lightbox__thumb:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.case-lightbox__stage { position: relative; align-self: center; width: min(1180px, 100%); height: 100%; max-height: min(680px, 68svh); min-height: 0; margin: 0 auto; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.025); box-shadow: 0 28px 80px rgba(0,0,0,.32); touch-action: pan-y; animation: case-lightbox-stage-in .28s ease both; }

.case-lightbox__image { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; border-radius: 12px; opacity: 1; transform: scale(1); transition: opacity .18s ease, transform .28s ease; }

.case-lightbox__image.is-loading { opacity: .25; transform: scale(.992); }

.case-lightbox__nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 27px; line-height: 1; background: rgba(5,9,18,.58); backdrop-filter: blur(10px); }

.case-lightbox__nav--prev { left: 14px; }

.case-lightbox__nav--next { right: 14px; }

.case-lightbox__thumbs { width: min(1180px, 100%); margin: 0 auto; display: flex; justify-content: center; gap: 8px; overflow-x: auto; padding: 2px 2px 4px; scrollbar-width: thin; }

.case-lightbox__thumb { flex: 0 0 72px; width: 72px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 9px; padding: 0; opacity: .5; }

.case-lightbox__thumb.is-active { opacity: 1; border-color: rgba(255,255,255,.86); transform: translateY(-2px); }

.case-lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

body.case-lightbox-open { overflow: hidden; }

@keyframes case-lightbox-in { from { opacity: 0; } to { opacity: 1; } }

@keyframes case-lightbox-stage-in { from { opacity: 0; transform: translateY(8px) scale(.992); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) { .case-detail-gallery .gal-photo { aspect-ratio: 4 / 5; } .case-lightbox { padding: 12px; gap: 10px; } .case-lightbox__top { align-items: center; } .case-lightbox__eyebrow, .case-lightbox__caption { display: none; } .case-lightbox__title { font-size: 18px; } .case-lightbox__actions { gap: 8px; } .case-lightbox__counter { min-width: 48px; font-size: 9px; } .case-lightbox__close { width: 40px; height: 40px; } .case-lightbox__stage { max-height: min(640px, 70svh); border-radius: 14px; } .case-lightbox__image { border-radius: 8px; } .case-lightbox__nav { width: 42px; height: 42px; font-size: 24px; } .case-lightbox__nav--prev { left: 8px; } .case-lightbox__nav--next { right: 8px; } .case-lightbox__thumbs { justify-content: flex-start; } .case-lightbox__thumb { flex-basis: 62px; width: 62px; border-radius: 8px; } }

@media (prefers-reduced-motion: reduce) { .case-lightbox, .case-lightbox__stage { animation: none; } .case-lightbox__image, .case-lightbox__close, .case-lightbox__nav, .case-lightbox__thumb { transition: none; } }

.case-video-link, .case-video-player { position: relative; display: block; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #090d18; box-shadow: var(--shadow-lg); color: #fff; }

.case-video-link .case-media-img { object-fit: cover; }

.case-video-link::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(9,13,24,.08), rgba(9,13,24,.48)); }

.case-video-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: var(--red); box-shadow: 0 20px 42px -16px var(--red-glow); }

.case-video-play svg { width: 26px; height: 26px; fill: #fff; transform: translateX(2px); }

.case-video-label { position: absolute; z-index: 2; left: 18px; bottom: 18px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }

.case-video-link--empty { cursor: default; }

.case-stats .wrap { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

.case-stats .svc-stat .v { font-size: clamp(28px, 5vw, 44px); line-height: 1; overflow-wrap: anywhere; }

.case-stats .svc-stat:first-child { border-left: 0; padding-left: 0; }

.case-stats .svc-stat:first-child:nth-child(odd) { padding-left: 0; }

.case-masters-section { padding-bottom: clamp(54px, 6vw, 86px); }

.case-masters-section + .case-detail-gallery-section, .case-masters-section + .case-related-section { padding-top: 0; }

.case-related-section { padding-top: clamp(70px, 8vw, 120px); }

.case-cta-section { padding-top: clamp(72px, 8vw, 120px); }

@media (max-width: 640px) { .case-stats .wrap { grid-template-columns: 1fr; } .case-stats .svc-stat { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } .case-stats .svc-stat:first-child { border-top: 0; } .case-related-section, .case-cta-section { padding-top: 64px; } }

.nav-links .dd-trigger.active { color: var(--ink); background: rgba(13,20,38,.06); }

.mobile-menu a.active, .mobile-menu .mm-row.active { color: #fff; background: rgba(255,255,255,.08); border-radius: 14px; padding-inline: 12px; }

.legal-title { overflow-wrap: anywhere; word-break: normal; hyphens: auto; max-width: 100%; }

.legal-title .word { display: inline; overflow: visible; }

@media (max-width: 640px) { .legal-title { font-size: clamp(42px, 14vw, 58px); line-height: .96; } }

.cases-filters .chip[hidden], .feed-filters .chip[hidden], .feed-empty[hidden] { display: none !important; }

.feed-empty { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); color: var(--text-dim); }

.feed-empty strong { display: block; color: var(--ink); font-family: var(--display); font-size: 20px; line-height: 1.15; }

.feed-empty span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; }

.case-media-placeholder { width: 100%; height: 100%; min-height: 220px; display: grid; place-items: center; align-content: center; gap: 8px; background: linear-gradient(145deg, #080d18 0%, #121a30 100%); color: rgba(255,255,255,.7); text-align: center; }

.ccard-media .case-media-placeholder { min-height: 0; }

.case-media-placeholder span { font-family: var(--display); font-size: 42px; font-weight: 800; line-height: 1; color: rgba(255,255,255,.14); }

.case-media-placeholder small { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }

@media (max-width: 640px) { .case-hero-media--compare .pin { left: 14px; } .case-gallery-photo, .case-video-link, .case-video-player { aspect-ratio: 4 / 5; } .case-video-play { width: 64px; height: 64px; } }

.ccard-media .video-slot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,13,24,.1), rgba(9,13,24,.36)); z-index: 1; pointer-events: none; }

.ccard-media .video-slot .video-play, .ccard-media .video-slot .video-meta { z-index: 2; }

/* index.html */
/* ===================== HERO ===================== */
/* ===================== HERO — cinematic full-bleed ===================== */
.hero { position: relative; padding-top: 70px; }
.hero-stage { position: relative; width: 100%; min-height: clamp(580px, 92vh, 960px); overflow: hidden; background: #090d18; isolation: isolate; }
.hero-stage .ba { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; width: 100%; }
.hero-stage .ba-layer, .hero-stage .paint, .hero-stage picture { height: 100%; }
.hero-stage picture { display: block; }
.hero-stage .ba-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-stage .ba-handle { background: rgba(255,255,255,.92); width: 2px; box-shadow: 0 0 26px rgba(0,0,0,.5); }
.hero-stage .ba-knob { width: 64px; height: 64px; box-shadow: 0 12px 30px -6px rgba(0,0,0,.6), 0 0 0 7px rgba(255,255,255,.14); }
.hero-stage .ba-knob svg { width: 26px; height: 26px; }
/* scrims for legibility over the moving media */
.hero-scrim { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9,13,24,.62) 0%, rgba(9,13,24,.08) 26%, rgba(9,13,24,.05) 50%, rgba(9,13,24,.78) 100%),
    linear-gradient(90deg, rgba(9,13,24,.55) 0%, transparent 42%); }

/* overlay content */
.hero-ov { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; pointer-events: none; }
.hero-ov .wrap { display: flex; flex-direction: column; height: 100%; }
.hero-ov a, .hero-ov button { pointer-events: auto; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 22px; }
.hero-chip { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.46); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.16); padding: 9px 14px; border-radius: 999px; }
.hero-chip .led { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 2.4s var(--ease) infinite; }
.hero-casetag { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.46); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.16); padding: 9px 13px; border-radius: 999px; }
.hero-bottom { position: relative; z-index: 1; margin-top: auto; padding-bottom: clamp(26px, 5vw, 50px); width: min(1180px, 100%); }
.hero-title { color: #fff; font-size: clamp(44px, 10.6vw, 108px); line-height: .88; letter-spacing: -.032em; text-shadow: 0 4px 40px rgba(0,0,0,.4); }
.hero-title .l { display: block; }
.hero-title .accent { color: var(--red); }
.hero-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.hero-lede { color: rgba(255,255,255,.86); max-width: 40ch; font-size: clamp(15px,2.1vw,18px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.34); }
.hero-actions .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* gloss meter — bottom right over media */
.gloss { position: absolute; right: clamp(16px,4vw,40px); top: clamp(80px,12vh,120px); z-index: 6; background: rgba(13,20,38,.5); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 13px 17px; color: #fff; pointer-events: none; }
.gloss-head { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 8px; }
.gloss-head .led { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.gloss-v { position: relative; display: inline-block; min-width: 130px; margin-top: 8px; padding-bottom: 12px; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; }
.gloss-v::after { content: ""; position: absolute; left: 0; bottom: 0; width: 130px; height: 4px; background: rgba(255,255,255,.2); border-radius: 2px; }
.gloss-v::before { content: ""; position: absolute; left: 0; bottom: 0; width: 130px; height: 4px; transform-origin: left; transform: scaleX(calc(var(--g,61) / 100)); background: var(--red); border-radius: 2px; z-index: 1; transition: transform .12s linear; }

/* drag hint pill — sits just under the knob, on the divider */
.hero-draghint { position: absolute; left: 50%; top: 38%; transform: translateX(-50%); z-index: 6; display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.5); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.hero-stage .ba.touched ~ .hero-draghint { opacity: 0; }
.hero-draghint svg { width: 14px; height: 14px; }

/* stats strip under the cinematic stage (light) */
.hero-stats { display: grid; grid-template-columns: repeat(2,1fr); border-bottom: 1px solid var(--line); background: var(--white); }
.hero-stats .hs { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.hero-stats .hs .v { font-family: var(--display); font-weight: 800; font-size: clamp(24px,5vw,34px); line-height: 1; color: var(--ink); }
.hero-stats .hs .v em { font-style: normal; color: var(--red); }
.hero-stats .hs .k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
@media (min-width: 720px){
  .hero-stats { grid-template-columns: repeat(4,1fr); }
  .hero-stats .hs { border-top: 0; }
  .hero-stats .hs:last-child { border-right: 0; }
}
@media (min-width: 920px){
  .hero-title { font-size: clamp(64px, 8.6vw, 116px); }
  .hero-title .l { white-space: nowrap; }
  .hero-lede { font-size: 18px; }
}

/* ===================== MARQUEE ===================== */
.marquee { background: var(--ink); color: #fff; overflow: hidden; white-space: nowrap; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.08); }
.marquee-track { display: inline-flex; align-items: center; gap: 0; animation: marq 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--display); font-weight: 700; font-size: clamp(20px,4vw,30px); letter-spacing: -.01em; text-transform: uppercase; padding: 0 26px; display: inline-flex; align-items: center; gap: 26px; }
.marquee-track span::after { content: ""; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); }
@keyframes marq { from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* ===================== CASE OF THE WEEK (real photo) ===================== */
.casefeat { position: relative; }
.casefeat-grid { display: grid; gap: 30px; align-items: center; }
.casefeat-media { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); background: #090d18; }
.casefeat-media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 5/4; }
.casefeat-split { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); background: rgba(255,255,255,.9); box-shadow: 0 0 22px rgba(0,0,0,.5); z-index: 3; pointer-events: none; }
.casefeat-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 4; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 26px -6px rgba(0,0,0,.55); pointer-events: none; }
.casefeat-knob svg { width: 20px; height: 20px; }
.casefeat-tag { position: absolute; top: 16px; z-index: 4; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; color: #fff; }
.casefeat-tag.b { left: 16px; background: rgba(13,20,38,.6); backdrop-filter: blur(6px); }
.casefeat-tag.a { right: 16px; background: var(--red); }
.casefeat-realtag { position: absolute; left: 16px; bottom: 16px; z-index: 4; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.55); backdrop-filter: blur(6px); padding: 8px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
.casefeat-realtag .led { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.casefeat-head .accent { color: var(--red); }
.casefeat-lede { margin-top: 16px; max-width: 42ch; }
.casefeat-specs { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 26px 0; }
.casefeat-spec { background: var(--white); padding: 16px 16px; }
.casefeat-spec .v { font-family: var(--display); font-weight: 800; font-size: clamp(20px,4.5vw,28px); line-height: 1; color: var(--ink); }
.casefeat-spec .v em { font-style: normal; color: var(--red); }
.casefeat-spec .k { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-top: 8px; }
.casefeat-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 920px){
  .casefeat-grid { grid-template-columns: .92fr 1.08fr; gap: 56px; }
  .casefeat-media img { aspect-ratio: 4/5; }
}

/* ===================== CASE FEED (works, no filter) ===================== */
.caselist { display: flex; flex-direction: column; gap: clamp(40px, 7vw, 90px); }
.caserow { display: grid; gap: 26px; align-items: center; }
.caserow-media { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); background: #090d18; }
.caserow-media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 16/11; }
.caserow-media .paint { position: absolute; inset: 0; }
.caserow-mediaph { position: relative; aspect-ratio: 16/11; }
.caserow-split { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); background: rgba(255,255,255,.9); box-shadow: 0 0 22px rgba(0,0,0,.5); z-index: 3; pointer-events: none; }
.caserow-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 4; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 26px -6px rgba(0,0,0,.55); pointer-events: none; }
.caserow-knob svg { width: 19px; height: 19px; }
.caserow-tag { position: absolute; top: 15px; z-index: 4; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; color: #fff; }
.caserow-tag.b { left: 15px; background: rgba(13,20,38,.6); backdrop-filter: blur(6px); }
.caserow-tag.a { right: 15px; background: var(--red); }
.caserow-real { position: absolute; left: 15px; bottom: 15px; z-index: 4; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.55); backdrop-filter: blur(6px); padding: 8px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
.caserow-real .led { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
/* video case media */
.caserow-media.video img { object-position: center; }
.caserow-media.video::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(9,13,24,.18) 0%, transparent 32%, transparent 60%, rgba(9,13,24,.55) 100%); pointer-events: none; }
.caserow-vbadge { position: absolute; top: 15px; left: 15px; z-index: 4; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 11px 6px 9px; border-radius: 999px; color: #fff; background: var(--red); display: inline-flex; align-items: center; gap: 7px; }
.caserow-vbadge svg { width: 12px; height: 12px; }
.caserow-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 4; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(0,0,0,.6); transition: transform .35s var(--ease), background .35s var(--ease); }
.caserow-play svg { width: 22px; height: 22px; margin-left: 3px; }
.caserow-play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); animation: playpulse 2.4s var(--ease) infinite; }
@keyframes playpulse { 0%{ transform: scale(1); opacity:.7;} 70%{ transform: scale(1.35); opacity:0;} 100%{ opacity:0;} }
.caserow-media.video:hover .caserow-play { transform: translate(-50%,-50%) scale(1.08); background:#fff; }
.caserow-vmeta { position: absolute; left: 15px; bottom: 15px; z-index: 4; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
@media (prefers-reduced-motion: reduce){ .caserow-play::before { animation: none; } }
.caserow-no { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); }
.caserow-tagline { display: inline-flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.caserow-pill { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); background: var(--blue-tint); padding: 7px 12px; border-radius: 999px; }
.caserow h3 { margin: 14px 0 0; }
.caserow-lede { margin-top: 14px; color: var(--text-dim); max-width: 44ch; }
.caserow-specs { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 24px 0; }
.caserow-spec { background: var(--white); padding: 16px; }
.caserow-spec .v { font-family: var(--display); font-weight: 800; font-size: clamp(19px,4vw,26px); line-height: 1; color: var(--ink); }
.caserow-spec .v em { font-style: normal; color: var(--red); }
.caserow-spec .k { font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--steel); margin-top: 8px; }
.caserow-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); transition: gap .3s var(--ease); }
.caserow-link svg { width: 16px; height: 16px; }
.caserow-link:hover { gap: 16px; color: var(--red); }
@media (min-width: 880px){
  .caserow { grid-template-columns: 1.05fr .95fr; gap: 50px; }
  .caserow.flip .caserow-media { order: 2; }
  .caserow-media img, .caserow-mediaph { aspect-ratio: 4/3; }
}

/* ===================== SERVICES SCROLLYTELLING ===================== */
.svc { position: relative; }
.svc-grid { display: grid; gap: 26px; }
.svc-aside .kicker { margin-bottom: 18px; }
.svc-railwrap { display: none; }
.svc-dyn { min-width: 0; }
.svc-num { font-family: var(--display); font-weight: 800; font-size: clamp(90px,12vw,150px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--red); letter-spacing: -.03em; }
.svc-num.flip { animation: numflip .5s var(--ease); }
@keyframes numflip { from{ opacity:0; transform: translateY(16px) rotate(-3deg);} to{ opacity:1; transform:none;} }
.svc-code { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-top: 16px; }
.svc-name { margin: 10px 0 14px; }
.svc-desc { color: var(--text-dim); max-width: 40ch; font-size: 16px; }
.svc-price { font-family: var(--mono); font-weight: 700; font-size: 18px; margin-top: 20px; }
.svc-price span { color: var(--steel-2); font-weight: 400; font-size: 13px; }
.svc-foot { margin-top: 26px; display: flex; align-items: center; gap: 18px; }
.svc-dots { display: flex; gap: 8px; }
.svc-dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: .3s var(--ease); }
.svc-dot.on { background: var(--red); border-color: var(--red); transform: scale(1.2); }
.svc-progress { position: relative; width: 3px; background: var(--line); margin-left: 2px; align-self: stretch; min-height: 60px; border-radius: 2px; overflow: hidden; }
.svc-bar { position: absolute; inset: 0; transform-origin: top; transform: scaleY(.2); background: var(--red); transition: transform .5s var(--ease); }

.svc-panels { display: flex; flex-direction: column; gap: 22px; }
.svc-panel { position: relative; }
.svc-panel .hero-frame { box-shadow: var(--shadow); border-radius: 10px; }
.svc-panel .ba { aspect-ratio: 16/11; }
.svc-cap { margin-top: 18px; }
.svc-cap .c1 { display: flex; align-items: center; gap: 13px; }
.svc-cap .c1 .n { font-family: var(--display); font-weight: 800; font-size: 34px; color: transparent; -webkit-text-stroke: 1.6px var(--red); line-height: 1; flex: none; }
.svc-cap .c1 .nm { font-family: var(--display); font-weight: 700; font-size: clamp(22px,5.4vw,30px); line-height: 1.04; }
.svc-cap .cc { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 13px 0 7px; }
.svc-cap p { color: var(--text-dim); margin: 0 0 12px; }
.svc-cap .pr { font-family: var(--mono); font-weight: 700; }
.svc-cap .pr span { color: var(--steel-2); font-weight: 400; }
@media (min-width: 960px){
  .svc-grid { grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
  .svc-railwrap { display: flex; gap: 24px; align-items: stretch; }
  .svc-aside { position: sticky; top: 104px; align-self: start; }
  .svc-cap { display: none; }
  .svc-panels { gap: 4.5vh; }
  .svc-panel { min-height: 60vh; display: flex; align-items: center; }
  .svc-panel .hero-frame { width: 100%; }
}

/* ===================== WORKS COLLAGE ===================== */
.works-head { display: grid; gap: 16px; margin-bottom: 28px; }
@media (min-width: 860px){ .works-head { grid-template-columns: 1fr auto; align-items: end; } }
.collage { display: grid; gap: 18px; grid-template-columns: 1fr; }
.wcard { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #090d18; box-shadow: var(--shadow); }
.wcard .pic { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.wcard .pic .paint { transition: transform 1.2s var(--ease); }
.wcard:hover .pic .paint { transform: scale(1.06); }
.wcard .scrim { position: absolute; inset: 0; z-index: 3; background: linear-gradient(0deg, rgba(9,13,24,.92) 2%, rgba(9,13,24,.05) 52%, transparent); }
.wcard .code { position: absolute; top: 14px; left: 14px; z-index: 4; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; color: #fff; background: rgba(13,20,38,.5); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; }
.wcard .pill { position: absolute; top: 14px; right: 14px; z-index: 4; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; color: #fff; background: var(--red); padding: 6px 10px; border-radius: 999px; }
.wcard .meta { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 4; }
.wcard .meta .cat { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #ff5560; font-weight: 700; }
.wcard .meta .ttl { font-family: var(--display); font-weight: 700; font-size: clamp(19px,3.2vw,28px); color: #fff; margin-top: 7px; line-height: 1.04; }
.wcard .meta .arr { margin-top: 14px; display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-dim); transition: gap .3s var(--ease), color .3s; }
.wcard:hover .meta .arr { gap: 16px; color: #fff; }
@media (min-width: 760px){
  .collage { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 1fr; }
  .wcard.w1 { grid-column: span 7; }
  .wcard.w2 { grid-column: span 5; margin-top: 46px; }
  .wcard.w3 { grid-column: span 4; }
  .wcard.w4 { grid-column: span 4; margin-top: 30px; }
  .wcard.w5 { grid-column: span 4; }
  .wcard.w1 .pic { aspect-ratio: 16/11; }
}

/* ===================== NIGHT STUDIO (stats + reviews) ===================== */
.night-grid { display: grid; gap: 44px; position: relative; z-index: 1; }
.stat2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; overflow: hidden; margin-top: 28px; }
.stat2 .st { background: var(--ink); padding: 26px 22px; }
.stat2 .st .n { font-family: var(--display); font-weight: 800; font-size: clamp(38px,8vw,58px); line-height: .9; color: #fff; }
.stat2 .st .n em { font-style: normal; color: var(--red); }
.stat2 .st .l { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-dim); margin-top: 12px; }
.reviews-side { display: grid; gap: 18px; align-content: start; }
.revcol { display: grid; gap: 16px; }
.rev { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 26px; }
.rev .q { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: .5; color: var(--red); height: 28px; }
.rev p { color: #fff; font-size: 15.5px; line-height: 1.6; margin: 14px 0 20px; }
.rev .who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.rev .av { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; flex: none; }
.rev .nm { font-weight: 600; font-size: 14px; color: #fff; }
.rev .car { font-family: var(--mono); font-size: 11px; color: var(--on-dark-dim); margin-top: 3px; }
.review-source { display: inline-flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; padding: 12px 16px 12px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #fff; background: rgba(255,255,255,.05); transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
.review-source:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.09); }
.review-source__mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #ed1c24; font-family: Arial, sans-serif; font-weight: 800; font-size: 18px; line-height: 1; flex: none; }
.review-source b { display: block; font-size: 13px; line-height: 1.1; }
.review-source small { display: block; margin-top: 3px; font-family: var(--mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--on-dark-dim); }
@media (min-width: 940px){ .night-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }

/* ============================================================
   MOBILE — purpose-built layout (not a shrink)
   ============================================================ */
.svc-hint, .svc-mob-cta, .m-dots, .m-dock { display: none; }
.m-dots { justify-content: center; gap: 9px; margin-top: 22px; }
.m-dot { width: 8px; height: 8px; border-radius: 50%; background: transparent; border: 1.5px solid var(--line-2); transition: .3s var(--ease); padding: 0; }
.m-dot.on { background: var(--red); border-color: var(--red); transform: scale(1.3); }

@media (max-width: 959px){
  /* ---- SERVICES → swipe carousel, live outlined number on top ---- */
  .svc-grid { gap: 22px; }
  .svc-aside .kicker { margin-bottom: 16px; }
  .svc-railwrap { display: flex !important; }
  .svc-progress { display: none; }
  .svc-dyn { display: flex; align-items: center; gap: clamp(16px,5vw,28px); width: 100%; min-width: 0; }
  .svc-num { font-size: clamp(66px, 23vw, 116px); margin: 0; line-height: .76; flex: none; }
  .svc-railwrap .svc-code,
  .svc-railwrap .svc-name,
  .svc-railwrap .svc-desc,
  .svc-railwrap .svc-price,
  .svc-railwrap .svc-dyn > .btn { display: none; }
  .svc-foot { margin-top: 0; flex-direction: column; align-items: flex-start; gap: 12px; }
  .svc-hint { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); }
  .svc-hint svg { width: 15px; height: 15px; animation: nudge 1.8s var(--ease) infinite; }

  .svc-panels { flex-direction: row; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 10px; }
  .svc-panels::-webkit-scrollbar { display: none; }
  .svc-panel { flex: 0 0 84%; max-width: 360px; min-height: 0; display: block; scroll-snap-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
  .svc-panel .hero-frame { border-radius: 0; box-shadow: none; width: 100%; }
  .svc-panel .ba { aspect-ratio: 16/12; pointer-events: none; }
  .svc-panel .ba-knob { display: none; }
  .svc-cap { display: block !important; margin-top: 0; padding: 18px 18px 22px; }
  .svc-cap .c1 .n { display: none; }
  .svc-cap .c1 { gap: 0; }

  .svc-mob-cta { display: inline-flex; margin-top: 20px; }
}
@keyframes nudge { 0%,100%{ transform: translateX(0); } 50%{ transform: translateX(5px); } }

@media (max-width: 879px){
  /* ---- WORKS → swipe carousel of compact cases ---- */
  .caselist { flex-direction: row; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 10px; }
  .caselist::-webkit-scrollbar { display: none; }
  .caserow, .caserow.flip { display: block; flex: 0 0 86%; max-width: 380px; scroll-snap-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
  .caserow-media { border-radius: 0; box-shadow: none; }
  .caserow-media img, .caserow-mediaph { aspect-ratio: 16/11; }
  .caserow.flip .caserow-media { order: 0; }
  .caserow-copy { padding: 18px; }
  .caserow .case-master { display: none; }
  .caserow-lede { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 12px; }
  .m-dots[data-dots="works"] { display: flex; }
}

@media (max-width: 939px){
  /* ---- REVIEWS → swipe ---- */
  .revcol { grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 6px; }
  .revcol::-webkit-scrollbar { display: none; }
  .rev { scroll-snap-align: center; }
  .m-dots[data-dots="reviews"] { display: flex; }
  .m-dots[data-dots="reviews"] .m-dot { border-color: rgba(255,255,255,.32); }
}

@media (max-width: 600px){
  /* ---- HERO ---- */
  .hero-stage { min-height: 0; height: auto; aspect-ratio: 4 / 5; }
  .hero-stage .ba-img { object-fit: contain; object-position: center top; background: #090d18; }
  .hero-casetag { display: none; }
  .hero-bottom { padding-bottom: clamp(18px, 5vw, 28px); width: 100%; }
  .gloss,
  .hero-draghint,
  .hero-actions { display: none; }
  .hero-title { font-size: clamp(32px, 8.6vw, 42px); line-height: .9; max-width: 100%; }
  .hero-title .l { white-space: nowrap; }
  .hero-sub { display: block; margin-top: 10px; }
  .hero-lede { font-size: 13px; line-height: 1.35; max-width: 29ch; }
  /* ---- CTA shot trimmed ---- */
  .cta-shot { min-height: 190px; max-height: 230px; }
}

@media (max-width: 759px){
  /* ---- FOOTER → brand + contacts full width, link columns paired ---- */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { padding-bottom: 94px; }
}

@media (max-width: 760px){
  /* ---- mobile action dock replaces the FAB ---- */
  .m-dock { display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 850; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(238,240,244,.92); backdrop-filter: blur(16px) saturate(150%); border-top: 1px solid var(--line); transform: translateY(130%); transition: transform .45s var(--ease); }
  .m-dock.show { transform: none; }
  .m-dock .btn { flex: 1; padding: 16px 14px; }
  .m-dock .dock-call { flex: 0 0 auto; width: 54px; padding: 0; }
  .m-dock .dock-call svg { width: 20px; height: 20px; }
  .fab { display: none; }
}

/* uslugi.html */
/* ===================== CATALOG HERO ===================== */
.cat-hero { position: relative; padding-top: clamp(96px, 15vw, 130px); padding-bottom: clamp(8px, 2vw, 18px); overflow: clip; }
.cat-hero .bgword { position: absolute; right: -3%; top: clamp(64px, 10vw, 92px); font-family: var(--display); font-weight: 800; font-size: clamp(120px, 22vw, 320px); line-height: .8; color: var(--ink); opacity: .035; pointer-events: none; white-space: nowrap; letter-spacing: -.05em; z-index: 0; }
.cat-hero .wrap { position: relative; z-index: 1; }
.cat-hero h1 { margin: 16px 0 0; max-width: 17ch; }
.cat-hero .lede { margin-top: 18px; max-width: 54ch; }
.cat-hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: clamp(24px, 3.4vw, 32px); }
.cat-hero-meta .m { }
.cat-hero-meta .m .v { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 4vw, 38px); color: var(--ink); letter-spacing: -.02em; }
.cat-hero-meta .m .v em { font-style: normal; color: var(--red); }
.cat-hero-meta .m .k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-top: 6px; }

/* ===================== SERVICE LIST ===================== */
.cat-list { display: grid; gap: clamp(16px, 2.2vw, 22px); grid-template-columns: 1fr; }
@media (min-width: 880px) { .cat-list { grid-template-columns: 1fr 1fr; } }

.scard { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }

/* media strip with before/after-ish paint */
.scard-media { position: relative; aspect-ratio: 16/8; overflow: hidden; background: #090d18; }
.scard-media .paint { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
.scard:hover .scard-media .paint { transform: scale(1.06); }
.scard-ix { position: absolute; left: 18px; top: 14px; z-index: 3; font-family: var(--display); font-weight: 800; font-size: 15px; color: #fff; opacity: .9; letter-spacing: .04em; }
.scard-code { position: absolute; right: 16px; top: 14px; z-index: 3; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 6px 11px; border-radius: 999px; }

.scard-body { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 30px); flex: 1; }
.scard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.scard-name { font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2.4vw, 26px); color: var(--ink); line-height: 1.1; }
.scard-price { text-align: right; flex: none; }
.scard-price .p { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); white-space: nowrap; }
.scard-price .p span { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--steel); }
.scard-desc { font-size: 14.5px; line-height: 1.6; color: var(--text-dim); }
.scard-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.scard-tags span { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: var(--text-dim); background: var(--pearl, #f3f4f7); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; }
.scard-cta { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.scard-cta .go { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; color: var(--ink); transition: color .2s; }
.scard:hover .scard-cta .go { color: var(--red); }
.scard-cta .go svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .3s var(--ease); }
.scard:hover .scard-cta .go svg { transform: translateX(4px); }
.scard-cta .ask { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--steel); }
/* whole card clickable */
.scard-link { position: absolute; inset: 0; z-index: 5; }

/* ===================== HELP / FINAL CTA ===================== */
.help-card { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: var(--rad); padding: clamp(30px, 5vw, 56px); }
.help-card .glow { position: absolute; right: -8%; top: -55%; width: 50%; height: 210%; background: radial-gradient(circle, var(--red-glow), transparent 60%); pointer-events: none; }
.help-card .inner { position: relative; z-index: 1; max-width: 54ch; }
.help-card h2 { color: #fff; margin-top: 14px; }
.help-card .lede { margin-top: 14px; max-width: 44ch; }

/* ===================== MOBILE: dock (shared) ===================== */
.m-dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 850; display: flex; gap: 10px; padding: 10px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px -18px rgba(13,20,38,.4); transform: translateY(140%); transition: transform .4s var(--spring); padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.m-dock.show { transform: none; }
.m-dock .btn { padding: 15px 18px; }
.m-dock .dock-call { flex: none; width: 54px; padding: 0; display: grid; place-items: center; }
.m-dock .dock-call svg { width: 20px; height: 20px; }
.m-dock .btn-red { flex: 1; }
@media (max-width: 759px) { .fab { display: none; } }
@media (min-width: 1040px) { .m-dock { display: none; } }

/* usluga-pdr.html */
/* ===================== SERVICE HERO ===================== */
.svc-hero { position: relative; padding-top: clamp(96px, 15vw, 130px); padding-bottom: clamp(34px, 6vw, 60px); overflow: clip; }
.svc-hero .bgword { position: absolute; right: -3%; top: clamp(70px, 11vw, 96px); font-family: var(--display); font-weight: 800; font-size: clamp(160px, 30vw, 460px); line-height: .8; color: var(--ink); opacity: .035; pointer-events: none; white-space: nowrap; letter-spacing: -.05em; z-index: 0; }
.svc-hero .wrap { position: relative; z-index: 1; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); }
.crumb a { transition: color .2s; }
.crumb a:hover { color: var(--red); }
.crumb .sep { opacity: .45; }
.crumb .cur { color: var(--ink); }
.svc-hero-grid { display: grid; gap: clamp(28px, 5vw, 52px); margin-top: clamp(20px, 3vw, 30px); }
.svc-hero h1 { margin: 16px 0 0; }
.svc-hero h1 em { font-style: normal; color: var(--red); }
.svc-lede { margin-top: 20px; max-width: 46ch; }
.svc-points { display: grid; gap: 13px; margin-top: 26px; }
.svc-point { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--text-dim); }
.svc-point svg { width: 22px; height: 22px; flex: none; stroke: var(--red); fill: none; stroke-width: 2; margin-top: 1px; }
.svc-point b { color: var(--ink); font-weight: 700; }
.svc-hero-actions { display: grid; gap: 12px; margin-top: 30px; }
.svc-hero-actions .btn { width: 100%; }
/* hero media (interactive before/after) */
.svc-hero-media { position: relative; }
.svc-hero-media .ba { border-radius: 16px; box-shadow: var(--shadow-lg); }
.svc-media-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.svc-media-cap .led { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; margin-right: 7px; vertical-align: middle; }
@media (min-width: 980px) {
  .svc-hero-grid { grid-template-columns: 1.02fr .98fr; align-items: center; }
  .svc-hero-grid > * { min-width: 0; }
  .svc-hero-actions { display: flex; flex-wrap: wrap; }
  .svc-hero-actions .btn { width: auto; }
}

/* ===================== STAT STRIP (animated numbers) ===================== */
.svc-stats { border-block: 1px solid var(--line); background: var(--white); }
.svc-stats .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
.svc-stat { padding: clamp(22px, 4vw, 34px) clamp(8px, 2vw, 20px) clamp(22px, 4vw, 34px) 0; }
.svc-stat:nth-child(odd) { padding-left: 0; }
.svc-stat .v { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 8vw, 58px); line-height: .9; color: var(--ink); letter-spacing: -.02em; }
.svc-stat .v em { font-style: normal; color: var(--red); }
.svc-stat .k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-top: 10px; max-width: 22ch; }
@media (min-width: 760px) { .svc-stats .wrap { grid-template-columns: repeat(4, 1fr); } .svc-stat { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 30px); } .svc-stat:first-child { border-left: 0; padding-left: 0; } }

/* ===================== WHAT IS удаление вмятин без покраски ===================== */
.what-grid { display: grid; gap: clamp(28px, 5vw, 54px); align-items: start; }
.what-lede { margin-top: 18px; }
.what-lede p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--text-dim); }
.what-lede p b { color: var(--ink); }
@media (min-width: 900px) { .what-grid { grid-template-columns: .9fr 1.1fr; } .what-grid > * { min-width: 0; } }

/* benefits */
.benefits { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: clamp(34px, 5vw, 52px); }
.benefit { padding: clamp(22px, 3vw, 28px); border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit .b-ico { width: 50px; height: 50px; border-radius: 13px; background: var(--red-tint); display: grid; place-items: center; margin-bottom: 18px; }
.benefit .b-ico svg { width: 25px; height: 25px; stroke: var(--red); fill: none; stroke-width: 1.7; }
.benefit h4 { font-family: var(--display); font-weight: 700; font-size: 19px; margin: 0 0 9px; color: var(--ink); }
.benefit p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }
@media (min-width: 600px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(4, 1fr); } }

/* ===================== SUITABILITY (подходит / не подходит) ===================== */
.suit { display: grid; gap: 18px; grid-template-columns: 1fr; }
.suit-col { border-radius: 16px; padding: clamp(24px, 3.5vw, 34px); border: 1px solid var(--line); background: var(--white); }
.suit-col.yes { border-color: rgba(27,169,84,.32); background: linear-gradient(180deg, rgba(27,169,84,.05), transparent 60%), var(--white); }
.suit-col.no { border-color: var(--line-2); }
.suit-col h3 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); }
.suit-col h3 .badge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.suit-col.yes .badge { background: #1ba954; }
.suit-col.no .badge { background: var(--steel); }
.suit-col h3 .badge svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.6; }
.suit-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 13px; }
.suit-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-dim); line-height: 1.5; }
.suit-list li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; fill: none; stroke-width: 2.2; }
.suit-col.yes .suit-list li svg { stroke: #1ba954; }
.suit-col.no .suit-list li svg { stroke: var(--steel-2); }
@media (min-width: 820px) { .suit { grid-template-columns: 1fr 1fr; } }

/* ===================== STEPS (numbered process) ===================== */
.steps-head { display: grid; gap: 16px; margin-bottom: clamp(30px, 4vw, 44px); }
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.step { background: var(--white); padding: clamp(24px, 3.4vw, 36px); display: grid; gap: 14px; position: relative; }
.step .s-ix { font-family: var(--display); font-weight: 800; font-size: clamp(46px, 6vw, 68px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--red); letter-spacing: -.02em; }
.step h4 { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); }
.step p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ===================== GALLERY (mobile swipe) ===================== */
.gal-head { text-align: center; margin-bottom: clamp(30px, 4vw, 46px); }
.gal-head .lede { margin-top: 14px; max-width: 48ch; margin-inline: auto; }
.gallery { display: grid; gap: 18px; grid-template-columns: 1fr; }
.gal-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.gal-item .ba { aspect-ratio: 16/10; }
.gcap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.gcap .t { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.gcap .c { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ===================== PRICE ===================== */
.price-card { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: var(--rad); padding: clamp(30px, 5vw, 56px); }
.price-card .glow { position: absolute; right: -10%; top: -60%; width: 55%; height: 220%; background: radial-gradient(circle, var(--red-glow), transparent 60%); pointer-events: none; }
.price-card .inner { position: relative; z-index: 1; }
.price-card h2 { color: #fff; margin-top: 16px; max-width: 20ch; }
.price-rows { display: grid; gap: 1px; background: rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; margin: clamp(26px, 4vw, 36px) 0 22px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--navy); padding: 18px 20px; }
.price-row .pn { font-weight: 600; font-size: 15.5px; color: #fff; }
.price-row .pn small { display: block; color: var(--on-dark-dim); font-size: 12.5px; font-weight: 500; margin-top: 4px; }
.price-row .pp { font-family: var(--display); font-weight: 700; font-size: 19px; white-space: nowrap; color: #fff; }
.price-row .pp span { font-size: 11px; color: var(--on-dark-dim); font-family: var(--mono); font-weight: 400; }
.price-note { font-size: 13.5px; color: var(--on-dark-dim); margin: 0 0 26px; max-width: 52ch; }
.price-card .cta-actions { margin-top: 0; }

/* ===================== FAQ ===================== */
.faq-head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.faq { display: grid; gap: 12px; max-width: 840px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .25s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 24px; height: 24px; flex: none; position: relative; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; background: var(--red); transition: transform .3s var(--ease), opacity .3s; }
.faq summary .ic::before { top: 11px; left: 4px; width: 16px; height: 2px; }
.faq summary .ic::after { top: 4px; left: 11px; width: 2px; height: 16px; }
.faq details[open] summary .ic::after { transform: rotate(90deg); opacity: 0; }
.faq .ans { padding: 0 24px 24px; font-size: 15px; color: var(--text-dim); line-height: 1.65; max-width: 64ch; }

/* ===================== RELATED WORKS ===================== */
.rel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(26px, 4vw, 40px); }
.rel-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.rel-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.rel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.rel-pic { position: relative; aspect-ratio: 16/11; overflow: hidden; background: #090d18; }
.rel-pic .paint { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
.rel-card:hover .rel-pic .paint { transform: scale(1.05); }
.rel-pic .badge { position: absolute; top: 13px; left: 13px; z-index: 3; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.55); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; }
.rel-body { padding: 20px 20px 22px; }
.rel-body .cat { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.rel-body .title { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); margin-top: 9px; line-height: 1.1; }
.rel-body .sub { font-size: 13.5px; color: var(--text-mute); margin-top: 8px; font-family: var(--mono); }
@media (min-width: 720px) { .rel-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===================== MOBILE: swipe carousels + dock ===================== */
.m-dots { display: none; }
.m-dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 850; display: flex; gap: 10px; padding: 10px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px -18px rgba(13,20,38,.4); transform: translateY(140%); transition: transform .4s var(--spring); padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.m-dock.show { transform: none; }
.m-dock .btn { padding: 15px 18px; }
.m-dock .dock-call { flex: none; width: 54px; padding: 0; display: grid; place-items: center; }
.m-dock .dock-call svg { width: 20px; height: 20px; }
.m-dock .btn-red { flex: 1; }

@media (max-width: 759px) {
  .gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery .gal-item { flex: 0 0 84%; scroll-snap-align: center; }
  .rel-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .rel-grid::-webkit-scrollbar { display: none; }
  .rel-grid .rel-card { flex: 0 0 80%; scroll-snap-align: center; }
  .m-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
  .m-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .25s, transform .25s; }
  .m-dot.on { background: var(--red); transform: scale(1.3); }
  .fab { display: none; }
}
@media (min-width: 1040px) { .m-dock { display: none; } }

/* usluga-plenka.html */
/* ===================== SERVICE HERO ===================== */
.svc-hero { position: relative; padding-top: clamp(96px, 15vw, 130px); padding-bottom: clamp(34px, 6vw, 60px); overflow: clip; }
.svc-hero .bgword { position: absolute; right: -3%; top: clamp(70px, 11vw, 96px); font-family: var(--display); font-weight: 800; font-size: clamp(160px, 30vw, 460px); line-height: .8; color: var(--ink); opacity: .035; pointer-events: none; white-space: nowrap; letter-spacing: -.05em; z-index: 0; }
.svc-hero .wrap { position: relative; z-index: 1; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); }
.crumb a { transition: color .2s; }
.crumb a:hover { color: var(--red); }
.crumb .sep { opacity: .45; }
.crumb .cur { color: var(--ink); }
.svc-hero-grid { display: grid; gap: clamp(28px, 5vw, 52px); margin-top: clamp(20px, 3vw, 30px); }
.svc-hero h1 { margin: 16px 0 0; }
.svc-hero h1 em { font-style: normal; color: var(--red); }
.svc-lede { margin-top: 20px; max-width: 46ch; }
.svc-points { display: grid; gap: 13px; margin-top: 26px; }
.svc-point { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--text-dim); }
.svc-point svg { width: 22px; height: 22px; flex: none; stroke: var(--red); fill: none; stroke-width: 2; margin-top: 1px; }
.svc-point b { color: var(--ink); font-weight: 700; }
.svc-hero-actions { display: grid; gap: 12px; margin-top: 30px; }
.svc-hero-actions .btn { width: 100%; }
/* hero media (interactive before/after) */
.svc-hero-media { position: relative; }
.svc-hero-media .ba { border-radius: 16px; box-shadow: var(--shadow-lg); }
.svc-media-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.svc-media-cap .led { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; margin-right: 7px; vertical-align: middle; }
@media (min-width: 980px) {
  .svc-hero-grid { grid-template-columns: 1.02fr .98fr; align-items: center; }
  .svc-hero-grid > * { min-width: 0; }
  .svc-hero-actions { display: flex; flex-wrap: wrap; }
  .svc-hero-actions .btn { width: auto; }
}

/* ===================== STAT STRIP (animated numbers) ===================== */
.svc-stats { border-block: 1px solid var(--line); background: var(--white); }
.svc-stats .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
.svc-stat { padding: clamp(22px, 4vw, 34px) clamp(8px, 2vw, 20px) clamp(22px, 4vw, 34px) 0; }
.svc-stat:nth-child(odd) { padding-left: 0; }
.svc-stat .v { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 8vw, 58px); line-height: .9; color: var(--ink); letter-spacing: -.02em; }
.svc-stat .v em { font-style: normal; color: var(--red); }
.svc-stat .k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-top: 10px; max-width: 22ch; }
@media (min-width: 760px) { .svc-stats .wrap { grid-template-columns: repeat(4, 1fr); } .svc-stat { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 30px); } .svc-stat:first-child { border-left: 0; padding-left: 0; } }

/* ===================== WHAT IS удаление вмятин без покраски ===================== */
.what-grid { display: grid; gap: clamp(28px, 5vw, 54px); align-items: start; }
.what-lede { margin-top: 18px; }
.what-lede p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--text-dim); }
.what-lede p b { color: var(--ink); }
@media (min-width: 900px) { .what-grid { grid-template-columns: .9fr 1.1fr; } .what-grid > * { min-width: 0; } }

/* benefits */
.benefits { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: clamp(34px, 5vw, 52px); }
.benefit { padding: clamp(22px, 3vw, 28px); border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit .b-ico { width: 50px; height: 50px; border-radius: 13px; background: var(--red-tint); display: grid; place-items: center; margin-bottom: 18px; }
.benefit .b-ico svg { width: 25px; height: 25px; stroke: var(--red); fill: none; stroke-width: 1.7; }
.benefit h4 { font-family: var(--display); font-weight: 700; font-size: 19px; margin: 0 0 9px; color: var(--ink); }
.benefit p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }
@media (min-width: 600px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(4, 1fr); } }

/* ===================== SUITABILITY (подходит / не подходит) ===================== */
.suit { display: grid; gap: 18px; grid-template-columns: 1fr; }
.suit-col { border-radius: 16px; padding: clamp(24px, 3.5vw, 34px); border: 1px solid var(--line); background: var(--white); }
.suit-col.yes { border-color: rgba(27,169,84,.32); background: linear-gradient(180deg, rgba(27,169,84,.05), transparent 60%), var(--white); }
.suit-col.no { border-color: var(--line-2); }
.suit-col h3 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); }
.suit-col h3 .badge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.suit-col.yes .badge { background: #1ba954; }
.suit-col.no .badge { background: var(--steel); }
.suit-col h3 .badge svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.6; }
.suit-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 13px; }
.suit-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-dim); line-height: 1.5; }
.suit-list li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; fill: none; stroke-width: 2.2; }
.suit-col.yes .suit-list li svg { stroke: #1ba954; }
.suit-col.no .suit-list li svg { stroke: var(--steel-2); }
@media (min-width: 820px) { .suit { grid-template-columns: 1fr 1fr; } }

/* ===================== STEPS (numbered process) ===================== */
.steps-head { display: grid; gap: 16px; margin-bottom: clamp(30px, 4vw, 44px); }
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.step { background: var(--white); padding: clamp(24px, 3.4vw, 36px); display: grid; gap: 14px; position: relative; }
.step .s-ix { font-family: var(--display); font-weight: 800; font-size: clamp(46px, 6vw, 68px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--red); letter-spacing: -.02em; }
.step h4 { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); }
.step p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ===================== GALLERY (mobile swipe) ===================== */
.gal-head { text-align: center; margin-bottom: clamp(30px, 4vw, 46px); }
.gal-head .lede { margin-top: 14px; max-width: 48ch; margin-inline: auto; }
.gallery { display: grid; gap: 18px; grid-template-columns: 1fr; }
.gal-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.gal-item .ba { aspect-ratio: 16/10; }
.gcap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.gcap .t { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.gcap .c { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ===================== PRICE ===================== */
.price-card { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: var(--rad); padding: clamp(30px, 5vw, 56px); }
.price-card .glow { position: absolute; right: -10%; top: -60%; width: 55%; height: 220%; background: radial-gradient(circle, var(--red-glow), transparent 60%); pointer-events: none; }
.price-card .inner { position: relative; z-index: 1; }
.price-card h2 { color: #fff; margin-top: 16px; max-width: 20ch; }
.price-rows { display: grid; gap: 1px; background: rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; margin: clamp(26px, 4vw, 36px) 0 22px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--navy); padding: 18px 20px; }
.price-row .pn { font-weight: 600; font-size: 15.5px; color: #fff; }
.price-row .pn small { display: block; color: var(--on-dark-dim); font-size: 12.5px; font-weight: 500; margin-top: 4px; }
.price-row .pp { font-family: var(--display); font-weight: 700; font-size: 19px; white-space: nowrap; color: #fff; }
.price-row .pp span { font-size: 11px; color: var(--on-dark-dim); font-family: var(--mono); font-weight: 400; }
.price-note { font-size: 13.5px; color: var(--on-dark-dim); margin: 0 0 26px; max-width: 52ch; }
.price-card .cta-actions { margin-top: 0; }

/* ===================== FAQ ===================== */
.faq-head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.faq { display: grid; gap: 12px; max-width: 840px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .25s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 24px; height: 24px; flex: none; position: relative; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; background: var(--red); transition: transform .3s var(--ease), opacity .3s; }
.faq summary .ic::before { top: 11px; left: 4px; width: 16px; height: 2px; }
.faq summary .ic::after { top: 4px; left: 11px; width: 2px; height: 16px; }
.faq details[open] summary .ic::after { transform: rotate(90deg); opacity: 0; }
.faq .ans { padding: 0 24px 24px; font-size: 15px; color: var(--text-dim); line-height: 1.65; max-width: 64ch; }

/* ===================== RELATED WORKS ===================== */
.rel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(26px, 4vw, 40px); }
.rel-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.rel-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.rel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.rel-pic { position: relative; aspect-ratio: 16/11; overflow: hidden; background: #090d18; }
.rel-pic .paint { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
.rel-card:hover .rel-pic .paint { transform: scale(1.05); }
.rel-pic .badge { position: absolute; top: 13px; left: 13px; z-index: 3; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.55); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; }
.rel-body { padding: 20px 20px 22px; }
.rel-body .cat { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.rel-body .title { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); margin-top: 9px; line-height: 1.1; }
.rel-body .sub { font-size: 13.5px; color: var(--text-mute); margin-top: 8px; font-family: var(--mono); }
@media (min-width: 720px) { .rel-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===================== MOBILE: swipe carousels + dock ===================== */
.m-dots { display: none; }
.m-dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 850; display: flex; gap: 10px; padding: 10px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px -18px rgba(13,20,38,.4); transform: translateY(140%); transition: transform .4s var(--spring); padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.m-dock.show { transform: none; }
.m-dock .btn { padding: 15px 18px; }
.m-dock .dock-call { flex: none; width: 54px; padding: 0; display: grid; place-items: center; }
.m-dock .dock-call svg { width: 20px; height: 20px; }
.m-dock .btn-red { flex: 1; }

@media (max-width: 759px) {
  .gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery .gal-item { flex: 0 0 84%; scroll-snap-align: center; }
  .rel-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .rel-grid::-webkit-scrollbar { display: none; }
  .rel-grid .rel-card { flex: 0 0 80%; scroll-snap-align: center; }
  .m-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
  .m-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .25s, transform .25s; }
  .m-dot.on { background: var(--red); transform: scale(1.3); }
  .fab { display: none; }
}
@media (min-width: 1040px) { .m-dock { display: none; } }

/* usluga-polirovka.html */
/* ===================== SERVICE HERO ===================== */
.svc-hero { position: relative; padding-top: clamp(96px, 15vw, 130px); padding-bottom: clamp(34px, 6vw, 60px); overflow: clip; }
.svc-hero .bgword { position: absolute; right: -3%; top: clamp(70px, 11vw, 96px); font-family: var(--display); font-weight: 800; font-size: clamp(160px, 30vw, 460px); line-height: .8; color: var(--ink); opacity: .035; pointer-events: none; white-space: nowrap; letter-spacing: -.05em; z-index: 0; }
.svc-hero .wrap { position: relative; z-index: 1; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); }
.crumb a { transition: color .2s; }
.crumb a:hover { color: var(--red); }
.crumb .sep { opacity: .45; }
.crumb .cur { color: var(--ink); }
.svc-hero-grid { display: grid; gap: clamp(28px, 5vw, 52px); margin-top: clamp(20px, 3vw, 30px); }
.svc-hero h1 { margin: 16px 0 0; }
.svc-hero h1 em { font-style: normal; color: var(--red); }
.svc-lede { margin-top: 20px; max-width: 46ch; }
.svc-points { display: grid; gap: 13px; margin-top: 26px; }
.svc-point { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--text-dim); }
.svc-point svg { width: 22px; height: 22px; flex: none; stroke: var(--red); fill: none; stroke-width: 2; margin-top: 1px; }
.svc-point b { color: var(--ink); font-weight: 700; }
.svc-hero-actions { display: grid; gap: 12px; margin-top: 30px; }
.svc-hero-actions .btn { width: 100%; }
/* hero media (interactive before/after) */
.svc-hero-media { position: relative; }
.svc-hero-media .ba { border-radius: 16px; box-shadow: var(--shadow-lg); }
.svc-media-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.svc-media-cap .led { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; margin-right: 7px; vertical-align: middle; }
@media (min-width: 980px) {
  .svc-hero-grid { grid-template-columns: 1.02fr .98fr; align-items: center; }
  .svc-hero-grid > * { min-width: 0; }
  .svc-hero-actions { display: flex; flex-wrap: wrap; }
  .svc-hero-actions .btn { width: auto; }
}

/* ===================== STAT STRIP (animated numbers) ===================== */
.svc-stats { border-block: 1px solid var(--line); background: var(--white); }
.svc-stats .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
.svc-stat { padding: clamp(22px, 4vw, 34px) clamp(8px, 2vw, 20px) clamp(22px, 4vw, 34px) 0; }
.svc-stat:nth-child(odd) { padding-left: 0; }
.svc-stat .v { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 8vw, 58px); line-height: .9; color: var(--ink); letter-spacing: -.02em; }
.svc-stat .v em { font-style: normal; color: var(--red); }
.svc-stat .k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-top: 10px; max-width: 22ch; }
@media (min-width: 760px) { .svc-stats .wrap { grid-template-columns: repeat(4, 1fr); } .svc-stat { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 30px); } .svc-stat:first-child { border-left: 0; padding-left: 0; } }

/* ===================== WHAT IS удаление вмятин без покраски ===================== */
.what-grid { display: grid; gap: clamp(28px, 5vw, 54px); align-items: start; }
.what-lede { margin-top: 18px; }
.what-lede p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--text-dim); }
.what-lede p b { color: var(--ink); }
@media (min-width: 900px) { .what-grid { grid-template-columns: .9fr 1.1fr; } .what-grid > * { min-width: 0; } }

/* benefits */
.benefits { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: clamp(34px, 5vw, 52px); }
.benefit { padding: clamp(22px, 3vw, 28px); border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit .b-ico { width: 50px; height: 50px; border-radius: 13px; background: var(--red-tint); display: grid; place-items: center; margin-bottom: 18px; }
.benefit .b-ico svg { width: 25px; height: 25px; stroke: var(--red); fill: none; stroke-width: 1.7; }
.benefit h4 { font-family: var(--display); font-weight: 700; font-size: 19px; margin: 0 0 9px; color: var(--ink); }
.benefit p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }
@media (min-width: 600px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(4, 1fr); } }

/* ===================== SUITABILITY (подходит / не подходит) ===================== */
.suit { display: grid; gap: 18px; grid-template-columns: 1fr; }
.suit-col { border-radius: 16px; padding: clamp(24px, 3.5vw, 34px); border: 1px solid var(--line); background: var(--white); }
.suit-col.yes { border-color: rgba(27,169,84,.32); background: linear-gradient(180deg, rgba(27,169,84,.05), transparent 60%), var(--white); }
.suit-col.no { border-color: var(--line-2); }
.suit-col h3 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); }
.suit-col h3 .badge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.suit-col.yes .badge { background: #1ba954; }
.suit-col.no .badge { background: var(--steel); }
.suit-col h3 .badge svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.6; }
.suit-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 13px; }
.suit-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-dim); line-height: 1.5; }
.suit-list li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; fill: none; stroke-width: 2.2; }
.suit-col.yes .suit-list li svg { stroke: #1ba954; }
.suit-col.no .suit-list li svg { stroke: var(--steel-2); }
@media (min-width: 820px) { .suit { grid-template-columns: 1fr 1fr; } }

/* ===================== STEPS (numbered process) ===================== */
.steps-head { display: grid; gap: 16px; margin-bottom: clamp(30px, 4vw, 44px); }
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.step { background: var(--white); padding: clamp(24px, 3.4vw, 36px); display: grid; gap: 14px; position: relative; }
.step .s-ix { font-family: var(--display); font-weight: 800; font-size: clamp(46px, 6vw, 68px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--red); letter-spacing: -.02em; }
.step h4 { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); }
.step p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ===================== GALLERY (mobile swipe) ===================== */
.gal-head { text-align: center; margin-bottom: clamp(30px, 4vw, 46px); }
.gal-head .lede { margin-top: 14px; max-width: 48ch; margin-inline: auto; }
.gallery { display: grid; gap: 18px; grid-template-columns: 1fr; }
.gal-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.gal-item .ba { aspect-ratio: 16/10; }
.gcap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.gcap .t { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.gcap .c { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ===================== PRICE ===================== */
.price-card { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: var(--rad); padding: clamp(30px, 5vw, 56px); }
.price-card .glow { position: absolute; right: -10%; top: -60%; width: 55%; height: 220%; background: radial-gradient(circle, var(--red-glow), transparent 60%); pointer-events: none; }
.price-card .inner { position: relative; z-index: 1; }
.price-card h2 { color: #fff; margin-top: 16px; max-width: 20ch; }
.price-rows { display: grid; gap: 1px; background: rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; margin: clamp(26px, 4vw, 36px) 0 22px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--navy); padding: 18px 20px; }
.price-row .pn { font-weight: 600; font-size: 15.5px; color: #fff; }
.price-row .pn small { display: block; color: var(--on-dark-dim); font-size: 12.5px; font-weight: 500; margin-top: 4px; }
.price-row .pp { font-family: var(--display); font-weight: 700; font-size: 19px; white-space: nowrap; color: #fff; }
.price-row .pp span { font-size: 11px; color: var(--on-dark-dim); font-family: var(--mono); font-weight: 400; }
.price-note { font-size: 13.5px; color: var(--on-dark-dim); margin: 0 0 26px; max-width: 52ch; }
.price-card .cta-actions { margin-top: 0; }

/* ===================== FAQ ===================== */
.faq-head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.faq { display: grid; gap: 12px; max-width: 840px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .25s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 24px; height: 24px; flex: none; position: relative; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; background: var(--red); transition: transform .3s var(--ease), opacity .3s; }
.faq summary .ic::before { top: 11px; left: 4px; width: 16px; height: 2px; }
.faq summary .ic::after { top: 4px; left: 11px; width: 2px; height: 16px; }
.faq details[open] summary .ic::after { transform: rotate(90deg); opacity: 0; }
.faq .ans { padding: 0 24px 24px; font-size: 15px; color: var(--text-dim); line-height: 1.65; max-width: 64ch; }

/* ===================== RELATED WORKS ===================== */
.rel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(26px, 4vw, 40px); }
.rel-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.rel-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.rel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.rel-pic { position: relative; aspect-ratio: 16/11; overflow: hidden; background: #090d18; }
.rel-pic .paint { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
.rel-card:hover .rel-pic .paint { transform: scale(1.05); }
.rel-pic .badge { position: absolute; top: 13px; left: 13px; z-index: 3; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.55); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; }
.rel-body { padding: 20px 20px 22px; }
.rel-body .cat { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.rel-body .title { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); margin-top: 9px; line-height: 1.1; }
.rel-body .sub { font-size: 13.5px; color: var(--text-mute); margin-top: 8px; font-family: var(--mono); }
@media (min-width: 720px) { .rel-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===================== MOBILE: swipe carousels + dock ===================== */
.m-dots { display: none; }
.m-dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 850; display: flex; gap: 10px; padding: 10px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px -18px rgba(13,20,38,.4); transform: translateY(140%); transition: transform .4s var(--spring); padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.m-dock.show { transform: none; }
.m-dock .btn { padding: 15px 18px; }
.m-dock .dock-call { flex: none; width: 54px; padding: 0; display: grid; place-items: center; }
.m-dock .dock-call svg { width: 20px; height: 20px; }
.m-dock .btn-red { flex: 1; }

@media (max-width: 759px) {
  .gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery .gal-item { flex: 0 0 84%; scroll-snap-align: center; }
  .rel-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .rel-grid::-webkit-scrollbar { display: none; }
  .rel-grid .rel-card { flex: 0 0 80%; scroll-snap-align: center; }
  .m-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
  .m-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .25s, transform .25s; }
  .m-dot.on { background: var(--red); transform: scale(1.3); }
  .fab { display: none; }
}
@media (min-width: 1040px) { .m-dock { display: none; } }

/* usluga-steklo.html */
/* ===================== SERVICE HERO ===================== */
.svc-hero { position: relative; padding-top: clamp(96px, 15vw, 130px); padding-bottom: clamp(34px, 6vw, 60px); overflow: clip; }
.svc-hero .bgword { position: absolute; right: -3%; top: clamp(70px, 11vw, 96px); font-family: var(--display); font-weight: 800; font-size: clamp(160px, 30vw, 460px); line-height: .8; color: var(--ink); opacity: .035; pointer-events: none; white-space: nowrap; letter-spacing: -.05em; z-index: 0; }
.svc-hero .wrap { position: relative; z-index: 1; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); }
.crumb a { transition: color .2s; }
.crumb a:hover { color: var(--red); }
.crumb .sep { opacity: .45; }
.crumb .cur { color: var(--ink); }
.svc-hero-grid { display: grid; gap: clamp(28px, 5vw, 52px); margin-top: clamp(20px, 3vw, 30px); }
.svc-hero h1 { margin: 16px 0 0; }
.svc-hero h1 em { font-style: normal; color: var(--red); }
.svc-lede { margin-top: 20px; max-width: 46ch; }
.svc-points { display: grid; gap: 13px; margin-top: 26px; }
.svc-point { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--text-dim); }
.svc-point svg { width: 22px; height: 22px; flex: none; stroke: var(--red); fill: none; stroke-width: 2; margin-top: 1px; }
.svc-point b { color: var(--ink); font-weight: 700; }
.svc-hero-actions { display: grid; gap: 12px; margin-top: 30px; }
.svc-hero-actions .btn { width: 100%; }
/* hero media (interactive before/after) */
.svc-hero-media { position: relative; }
.svc-hero-media .ba { border-radius: 16px; box-shadow: var(--shadow-lg); }
.svc-media-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.svc-media-cap .led { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; margin-right: 7px; vertical-align: middle; }
@media (min-width: 980px) {
  .svc-hero-grid { grid-template-columns: 1.02fr .98fr; align-items: center; }
  .svc-hero-grid > * { min-width: 0; }
  .svc-hero-actions { display: flex; flex-wrap: wrap; }
  .svc-hero-actions .btn { width: auto; }
}

/* ===================== STAT STRIP (animated numbers) ===================== */
.svc-stats { border-block: 1px solid var(--line); background: var(--white); }
.svc-stats .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
.svc-stat { padding: clamp(22px, 4vw, 34px) clamp(8px, 2vw, 20px) clamp(22px, 4vw, 34px) 0; }
.svc-stat:nth-child(odd) { padding-left: 0; }
.svc-stat .v { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 8vw, 58px); line-height: .9; color: var(--ink); letter-spacing: -.02em; }
.svc-stat .v em { font-style: normal; color: var(--red); }
.svc-stat .k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-top: 10px; max-width: 22ch; }
@media (min-width: 760px) { .svc-stats .wrap { grid-template-columns: repeat(4, 1fr); } .svc-stat { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 30px); } .svc-stat:first-child { border-left: 0; padding-left: 0; } }

/* ===================== WHAT IS удаление вмятин без покраски ===================== */
.what-grid { display: grid; gap: clamp(28px, 5vw, 54px); align-items: start; }
.what-lede { margin-top: 18px; }
.what-lede p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--text-dim); }
.what-lede p b { color: var(--ink); }
@media (min-width: 900px) { .what-grid { grid-template-columns: .9fr 1.1fr; } .what-grid > * { min-width: 0; } }

/* benefits */
.benefits { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: clamp(34px, 5vw, 52px); }
.benefit { padding: clamp(22px, 3vw, 28px); border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit .b-ico { width: 50px; height: 50px; border-radius: 13px; background: var(--red-tint); display: grid; place-items: center; margin-bottom: 18px; }
.benefit .b-ico svg { width: 25px; height: 25px; stroke: var(--red); fill: none; stroke-width: 1.7; }
.benefit h4 { font-family: var(--display); font-weight: 700; font-size: 19px; margin: 0 0 9px; color: var(--ink); }
.benefit p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }
@media (min-width: 600px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(4, 1fr); } }

/* ===================== SUITABILITY (подходит / не подходит) ===================== */
.suit { display: grid; gap: 18px; grid-template-columns: 1fr; }
.suit-col { border-radius: 16px; padding: clamp(24px, 3.5vw, 34px); border: 1px solid var(--line); background: var(--white); }
.suit-col.yes { border-color: rgba(27,169,84,.32); background: linear-gradient(180deg, rgba(27,169,84,.05), transparent 60%), var(--white); }
.suit-col.no { border-color: var(--line-2); }
.suit-col h3 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); }
.suit-col h3 .badge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.suit-col.yes .badge { background: #1ba954; }
.suit-col.no .badge { background: var(--steel); }
.suit-col h3 .badge svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.6; }
.suit-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 13px; }
.suit-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-dim); line-height: 1.5; }
.suit-list li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; fill: none; stroke-width: 2.2; }
.suit-col.yes .suit-list li svg { stroke: #1ba954; }
.suit-col.no .suit-list li svg { stroke: var(--steel-2); }
@media (min-width: 820px) { .suit { grid-template-columns: 1fr 1fr; } }

/* ===================== STEPS (numbered process) ===================== */
.steps-head { display: grid; gap: 16px; margin-bottom: clamp(30px, 4vw, 44px); }
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.step { background: var(--white); padding: clamp(24px, 3.4vw, 36px); display: grid; gap: 14px; position: relative; }
.step .s-ix { font-family: var(--display); font-weight: 800; font-size: clamp(46px, 6vw, 68px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--red); letter-spacing: -.02em; }
.step h4 { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); }
.step p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ===================== GALLERY (mobile swipe) ===================== */
.gal-head { text-align: center; margin-bottom: clamp(30px, 4vw, 46px); }
.gal-head .lede { margin-top: 14px; max-width: 48ch; margin-inline: auto; }
.gallery { display: grid; gap: 18px; grid-template-columns: 1fr; }
.gal-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.gal-item .ba { aspect-ratio: 16/10; }
.gcap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.gcap .t { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.gcap .c { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ===================== PRICE ===================== */
.price-card { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: var(--rad); padding: clamp(30px, 5vw, 56px); }
.price-card .glow { position: absolute; right: -10%; top: -60%; width: 55%; height: 220%; background: radial-gradient(circle, var(--red-glow), transparent 60%); pointer-events: none; }
.price-card .inner { position: relative; z-index: 1; }
.price-card h2 { color: #fff; margin-top: 16px; max-width: 20ch; }
.price-rows { display: grid; gap: 1px; background: rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; margin: clamp(26px, 4vw, 36px) 0 22px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--navy); padding: 18px 20px; }
.price-row .pn { font-weight: 600; font-size: 15.5px; color: #fff; }
.price-row .pn small { display: block; color: var(--on-dark-dim); font-size: 12.5px; font-weight: 500; margin-top: 4px; }
.price-row .pp { font-family: var(--display); font-weight: 700; font-size: 19px; white-space: nowrap; color: #fff; }
.price-row .pp span { font-size: 11px; color: var(--on-dark-dim); font-family: var(--mono); font-weight: 400; }
.price-note { font-size: 13.5px; color: var(--on-dark-dim); margin: 0 0 26px; max-width: 52ch; }
.price-card .cta-actions { margin-top: 0; }

/* ===================== FAQ ===================== */
.faq-head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.faq { display: grid; gap: 12px; max-width: 840px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .25s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 24px; height: 24px; flex: none; position: relative; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; background: var(--red); transition: transform .3s var(--ease), opacity .3s; }
.faq summary .ic::before { top: 11px; left: 4px; width: 16px; height: 2px; }
.faq summary .ic::after { top: 4px; left: 11px; width: 2px; height: 16px; }
.faq details[open] summary .ic::after { transform: rotate(90deg); opacity: 0; }
.faq .ans { padding: 0 24px 24px; font-size: 15px; color: var(--text-dim); line-height: 1.65; max-width: 64ch; }

/* ===================== RELATED WORKS ===================== */
.rel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(26px, 4vw, 40px); }
.rel-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.rel-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.rel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.rel-pic { position: relative; aspect-ratio: 16/11; overflow: hidden; background: #090d18; }
.rel-pic .paint { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
.rel-card:hover .rel-pic .paint { transform: scale(1.05); }
.rel-pic .badge { position: absolute; top: 13px; left: 13px; z-index: 3; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.55); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; }
.rel-body { padding: 20px 20px 22px; }
.rel-body .cat { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.rel-body .title { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); margin-top: 9px; line-height: 1.1; }
.rel-body .sub { font-size: 13.5px; color: var(--text-mute); margin-top: 8px; font-family: var(--mono); }
@media (min-width: 720px) { .rel-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===================== MOBILE: swipe carousels + dock ===================== */
.m-dots { display: none; }
.m-dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 850; display: flex; gap: 10px; padding: 10px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px -18px rgba(13,20,38,.4); transform: translateY(140%); transition: transform .4s var(--spring); padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.m-dock.show { transform: none; }
.m-dock .btn { padding: 15px 18px; }
.m-dock .dock-call { flex: none; width: 54px; padding: 0; display: grid; place-items: center; }
.m-dock .dock-call svg { width: 20px; height: 20px; }
.m-dock .btn-red { flex: 1; }

@media (max-width: 759px) {
  .gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery .gal-item { flex: 0 0 84%; scroll-snap-align: center; }
  .rel-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .rel-grid::-webkit-scrollbar { display: none; }
  .rel-grid .rel-card { flex: 0 0 80%; scroll-snap-align: center; }
  .m-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
  .m-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .25s, transform .25s; }
  .m-dot.on { background: var(--red); transform: scale(1.3); }
  .fab { display: none; }
}
@media (min-width: 1040px) { .m-dock { display: none; } }

/* usluga-fary.html */
/* ===================== SERVICE HERO ===================== */
.svc-hero { position: relative; padding-top: clamp(96px, 15vw, 130px); padding-bottom: clamp(34px, 6vw, 60px); overflow: clip; }
.svc-hero .bgword { position: absolute; right: -3%; top: clamp(70px, 11vw, 96px); font-family: var(--display); font-weight: 800; font-size: clamp(160px, 30vw, 460px); line-height: .8; color: var(--ink); opacity: .035; pointer-events: none; white-space: nowrap; letter-spacing: -.05em; z-index: 0; }
.svc-hero .wrap { position: relative; z-index: 1; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); }
.crumb a { transition: color .2s; }
.crumb a:hover { color: var(--red); }
.crumb .sep { opacity: .45; }
.crumb .cur { color: var(--ink); }
.svc-hero-grid { display: grid; gap: clamp(28px, 5vw, 52px); margin-top: clamp(20px, 3vw, 30px); }
.svc-hero h1 { margin: 16px 0 0; }
.svc-hero h1 em { font-style: normal; color: var(--red); }
.svc-lede { margin-top: 20px; max-width: 46ch; }
.svc-points { display: grid; gap: 13px; margin-top: 26px; }
.svc-point { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--text-dim); }
.svc-point svg { width: 22px; height: 22px; flex: none; stroke: var(--red); fill: none; stroke-width: 2; margin-top: 1px; }
.svc-point b { color: var(--ink); font-weight: 700; }
.svc-hero-actions { display: grid; gap: 12px; margin-top: 30px; }
.svc-hero-actions .btn { width: 100%; }
/* hero media (interactive before/after) */
.svc-hero-media { position: relative; }
.svc-hero-media .ba { border-radius: 16px; box-shadow: var(--shadow-lg); }
.svc-media-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.svc-media-cap .led { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; margin-right: 7px; vertical-align: middle; }
@media (min-width: 980px) {
  .svc-hero-grid { grid-template-columns: 1.02fr .98fr; align-items: center; }
  .svc-hero-grid > * { min-width: 0; }
  .svc-hero-actions { display: flex; flex-wrap: wrap; }
  .svc-hero-actions .btn { width: auto; }
}

/* ===================== STAT STRIP (animated numbers) ===================== */
.svc-stats { border-block: 1px solid var(--line); background: var(--white); }
.svc-stats .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
.svc-stat { padding: clamp(22px, 4vw, 34px) clamp(8px, 2vw, 20px) clamp(22px, 4vw, 34px) 0; }
.svc-stat:nth-child(odd) { padding-left: 0; }
.svc-stat .v { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 8vw, 58px); line-height: .9; color: var(--ink); letter-spacing: -.02em; }
.svc-stat .v em { font-style: normal; color: var(--red); }
.svc-stat .k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-top: 10px; max-width: 22ch; }
@media (min-width: 760px) { .svc-stats .wrap { grid-template-columns: repeat(4, 1fr); } .svc-stat { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 30px); } .svc-stat:first-child { border-left: 0; padding-left: 0; } }

/* ===================== WHAT IS удаление вмятин без покраски ===================== */
.what-grid { display: grid; gap: clamp(28px, 5vw, 54px); align-items: start; }
.what-lede { margin-top: 18px; }
.what-lede p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--text-dim); }
.what-lede p b { color: var(--ink); }
@media (min-width: 900px) { .what-grid { grid-template-columns: .9fr 1.1fr; } .what-grid > * { min-width: 0; } }

/* benefits */
.benefits { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: clamp(34px, 5vw, 52px); }
.benefit { padding: clamp(22px, 3vw, 28px); border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit .b-ico { width: 50px; height: 50px; border-radius: 13px; background: var(--red-tint); display: grid; place-items: center; margin-bottom: 18px; }
.benefit .b-ico svg { width: 25px; height: 25px; stroke: var(--red); fill: none; stroke-width: 1.7; }
.benefit h4 { font-family: var(--display); font-weight: 700; font-size: 19px; margin: 0 0 9px; color: var(--ink); }
.benefit p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }
@media (min-width: 600px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(4, 1fr); } }

/* ===================== SUITABILITY (подходит / не подходит) ===================== */
.suit { display: grid; gap: 18px; grid-template-columns: 1fr; }
.suit-col { border-radius: 16px; padding: clamp(24px, 3.5vw, 34px); border: 1px solid var(--line); background: var(--white); }
.suit-col.yes { border-color: rgba(27,169,84,.32); background: linear-gradient(180deg, rgba(27,169,84,.05), transparent 60%), var(--white); }
.suit-col.no { border-color: var(--line-2); }
.suit-col h3 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); }
.suit-col h3 .badge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.suit-col.yes .badge { background: #1ba954; }
.suit-col.no .badge { background: var(--steel); }
.suit-col h3 .badge svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.6; }
.suit-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 13px; }
.suit-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-dim); line-height: 1.5; }
.suit-list li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; fill: none; stroke-width: 2.2; }
.suit-col.yes .suit-list li svg { stroke: #1ba954; }
.suit-col.no .suit-list li svg { stroke: var(--steel-2); }
@media (min-width: 820px) { .suit { grid-template-columns: 1fr 1fr; } }

/* ===================== STEPS (numbered process) ===================== */
.steps-head { display: grid; gap: 16px; margin-bottom: clamp(30px, 4vw, 44px); }
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.step { background: var(--white); padding: clamp(24px, 3.4vw, 36px); display: grid; gap: 14px; position: relative; }
.step .s-ix { font-family: var(--display); font-weight: 800; font-size: clamp(46px, 6vw, 68px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--red); letter-spacing: -.02em; }
.step h4 { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); }
.step p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ===================== GALLERY (mobile swipe) ===================== */
.gal-head { text-align: center; margin-bottom: clamp(30px, 4vw, 46px); }
.gal-head .lede { margin-top: 14px; max-width: 48ch; margin-inline: auto; }
.gallery { display: grid; gap: 18px; grid-template-columns: 1fr; }
.gal-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.gal-item .ba { aspect-ratio: 16/10; }
.gcap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.gcap .t { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.gcap .c { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ===================== PRICE ===================== */
.price-card { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: var(--rad); padding: clamp(30px, 5vw, 56px); }
.price-card .glow { position: absolute; right: -10%; top: -60%; width: 55%; height: 220%; background: radial-gradient(circle, var(--red-glow), transparent 60%); pointer-events: none; }
.price-card .inner { position: relative; z-index: 1; }
.price-card h2 { color: #fff; margin-top: 16px; max-width: 20ch; }
.price-rows { display: grid; gap: 1px; background: rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; margin: clamp(26px, 4vw, 36px) 0 22px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--navy); padding: 18px 20px; }
.price-row .pn { font-weight: 600; font-size: 15.5px; color: #fff; }
.price-row .pn small { display: block; color: var(--on-dark-dim); font-size: 12.5px; font-weight: 500; margin-top: 4px; }
.price-row .pp { font-family: var(--display); font-weight: 700; font-size: 19px; white-space: nowrap; color: #fff; }
.price-row .pp span { font-size: 11px; color: var(--on-dark-dim); font-family: var(--mono); font-weight: 400; }
.price-note { font-size: 13.5px; color: var(--on-dark-dim); margin: 0 0 26px; max-width: 52ch; }
.price-card .cta-actions { margin-top: 0; }

/* ===================== FAQ ===================== */
.faq-head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.faq { display: grid; gap: 12px; max-width: 840px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .25s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 24px; height: 24px; flex: none; position: relative; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; background: var(--red); transition: transform .3s var(--ease), opacity .3s; }
.faq summary .ic::before { top: 11px; left: 4px; width: 16px; height: 2px; }
.faq summary .ic::after { top: 4px; left: 11px; width: 2px; height: 16px; }
.faq details[open] summary .ic::after { transform: rotate(90deg); opacity: 0; }
.faq .ans { padding: 0 24px 24px; font-size: 15px; color: var(--text-dim); line-height: 1.65; max-width: 64ch; }

/* ===================== RELATED WORKS ===================== */
.rel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(26px, 4vw, 40px); }
.rel-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.rel-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.rel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.rel-pic { position: relative; aspect-ratio: 16/11; overflow: hidden; background: #090d18; }
.rel-pic .paint { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
.rel-card:hover .rel-pic .paint { transform: scale(1.05); }
.rel-pic .badge { position: absolute; top: 13px; left: 13px; z-index: 3; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.55); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; }
.rel-body { padding: 20px 20px 22px; }
.rel-body .cat { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.rel-body .title { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); margin-top: 9px; line-height: 1.1; }
.rel-body .sub { font-size: 13.5px; color: var(--text-mute); margin-top: 8px; font-family: var(--mono); }
@media (min-width: 720px) { .rel-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===================== MOBILE: swipe carousels + dock ===================== */
.m-dots { display: none; }
.m-dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 850; display: flex; gap: 10px; padding: 10px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px -18px rgba(13,20,38,.4); transform: translateY(140%); transition: transform .4s var(--spring); padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.m-dock.show { transform: none; }
.m-dock .btn { padding: 15px 18px; }
.m-dock .dock-call { flex: none; width: 54px; padding: 0; display: grid; place-items: center; }
.m-dock .dock-call svg { width: 20px; height: 20px; }
.m-dock .btn-red { flex: 1; }

@media (max-width: 759px) {
  .gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery .gal-item { flex: 0 0 84%; scroll-snap-align: center; }
  .rel-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .rel-grid::-webkit-scrollbar { display: none; }
  .rel-grid .rel-card { flex: 0 0 80%; scroll-snap-align: center; }
  .m-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
  .m-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .25s, transform .25s; }
  .m-dot.on { background: var(--red); transform: scale(1.3); }
  .fab { display: none; }
}
@media (min-width: 1040px) { .m-dock { display: none; } }

/* raboty.html */
/* ===================== WORKS HERO ===================== */
.cases-hero { position: relative; padding-top: clamp(96px, 15vw, 130px); padding-bottom: clamp(6px, 2vw, 16px); overflow: clip; }
.cases-hero .bgword { position: absolute; right: -3%; top: clamp(64px, 10vw, 92px); font-family: var(--display); font-weight: 800; font-size: clamp(120px, 22vw, 320px); line-height: .8; color: var(--ink); opacity: .035; pointer-events: none; white-space: nowrap; letter-spacing: -.05em; z-index: 0; }
.cases-hero .wrap { position: relative; z-index: 1; }
.cases-hero h1 { margin: 16px 0 0; max-width: 16ch; }
.cases-hero .lede { margin-top: 18px; max-width: 52ch; }
.cases-filters { display: flex; gap: 10px; flex-wrap: wrap; margin: clamp(28px, 4vw, 40px) 0 0; }
.chip { appearance: none; border: 1px solid var(--line-2); background: var(--white); color: var(--text-dim); font: inherit; font-weight: 600; font-size: 14px; padding: 9px 17px; border-radius: 999px; cursor: pointer; transition: border-color .2s, color .2s, background .2s, transform .2s; }
.chip:hover { border-color: var(--steel-2); color: var(--ink); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cases-filters .chip[hidden] { display: none !important; }
.chip .n { font-family: var(--mono); font-size: 11px; opacity: .6; margin-left: 5px; }

/* ===================== CASE GRID ===================== */
.cases { display: grid; gap: clamp(18px, 2.4vw, 26px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.ccard { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.ccard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.ccard-media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: #090d18; }
.ccard-media .ba { position: absolute; inset: 0; border-radius: 0; box-shadow: none; }
.ccard-body { display: flex; flex-direction: column; gap: 9px; padding: clamp(18px, 2.2vw, 24px); flex: 1; }
.ccard-cat { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.ccard-title { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.18; color: var(--ink); text-wrap: pretty; }
.ccard-meta { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--text-mute); letter-spacing: .03em; }
.ccard-meta .go { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 700; transition: color .2s; }
.ccard:hover .ccard-meta .go { color: var(--red); }
.ccard-meta .go svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .3s var(--ease); }
.ccard:hover .ccard-meta .go svg { transform: translateX(3px); }
.ccard-link { position: absolute; left: 0; right: 0; bottom: 0; top: 62%; z-index: 6; }
/* video cards: no slider to protect → whole card clickable, play badge sits above link */
.ccard[data-media="video"] .ccard-link { top: 0; }
.ccard-media .video-slot { position: absolute; inset: 0; aspect-ratio: auto; }
.ccard[data-media="video"] .ccard-media .video-play { width: 64px; height: 64px; }
.ccard[data-media="video"] .ccard-media .video-play svg { width: 22px; height: 22px; }
.ccard:hover .ccard-media .video-slot .paint { transform: scale(1.06); transition: transform 1.1s var(--ease); }
.cases-end { text-align: center; margin-top: clamp(34px, 5vw, 52px); }

/* ===================== FINAL CTA ===================== */
.help-card { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: var(--rad); padding: clamp(30px, 5vw, 56px); }
.help-card .glow { position: absolute; right: -8%; top: -55%; width: 50%; height: 210%; background: radial-gradient(circle, var(--red-glow), transparent 60%); pointer-events: none; }
.help-card .inner { position: relative; z-index: 1; max-width: 54ch; }
.help-card h2 { color: #fff; margin-top: 14px; }
.help-card .lede { margin-top: 14px; max-width: 44ch; }

/* ===================== MOBILE: dock ===================== */
.m-dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 850; display: flex; gap: 10px; padding: 10px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px -18px rgba(13,20,38,.4); transform: translateY(140%); transition: transform .4s var(--spring); padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.m-dock.show { transform: none; }
.m-dock .btn { padding: 15px 18px; }
.m-dock .dock-call { flex: none; width: 54px; padding: 0; display: grid; place-items: center; }
.m-dock .dock-call svg { width: 20px; height: 20px; }
.m-dock .btn-red { flex: 1; }
@media (max-width: 759px) { .fab { display: none; } }
@media (min-width: 1040px) { .m-dock { display: none; } }

/* rabota.html */
/* ===================== SERVICE HERO ===================== */
.svc-hero { position: relative; padding-top: clamp(96px, 15vw, 130px); padding-bottom: clamp(34px, 6vw, 60px); overflow: clip; }
.svc-hero .bgword { position: absolute; right: -3%; top: clamp(70px, 11vw, 96px); font-family: var(--display); font-weight: 800; font-size: clamp(160px, 30vw, 460px); line-height: .8; color: var(--ink); opacity: .035; pointer-events: none; white-space: nowrap; letter-spacing: -.05em; z-index: 0; }
.svc-hero .wrap { position: relative; z-index: 1; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); }
.crumb a { transition: color .2s; }
.crumb a:hover { color: var(--red); }
.crumb .sep { opacity: .45; }
.crumb .cur { color: var(--ink); }
.svc-hero-grid { display: grid; gap: clamp(28px, 5vw, 52px); margin-top: clamp(20px, 3vw, 30px); }
.svc-hero h1 { margin: 16px 0 0; }
.svc-hero h1 em { font-style: normal; color: var(--red); }
.svc-lede { margin-top: 20px; max-width: 46ch; }
.svc-points { display: grid; gap: 13px; margin-top: 26px; }
.svc-point { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--text-dim); }
.svc-point svg { width: 22px; height: 22px; flex: none; stroke: var(--red); fill: none; stroke-width: 2; margin-top: 1px; }
.svc-point b { color: var(--ink); font-weight: 700; }
.svc-hero-actions { display: grid; gap: 12px; margin-top: 30px; }
.svc-hero-actions .btn { width: 100%; }
/* hero media (interactive before/after) */
.svc-hero-media { position: relative; }
.svc-hero-media .ba { border-radius: 16px; box-shadow: var(--shadow-lg); }
.svc-media-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.svc-media-cap .led { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; margin-right: 7px; vertical-align: middle; }
@media (min-width: 980px) {
  .svc-hero-grid { grid-template-columns: 1.02fr .98fr; align-items: center; }
  .svc-hero-grid > * { min-width: 0; }
  .svc-hero-actions { display: flex; flex-wrap: wrap; }
  .svc-hero-actions .btn { width: auto; }
}

/* ===================== STAT STRIP (animated numbers) ===================== */
.svc-stats { border-block: 1px solid var(--line); background: var(--white); }
.svc-stats .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
.svc-stat { padding: clamp(22px, 4vw, 34px) clamp(8px, 2vw, 20px) clamp(22px, 4vw, 34px) 0; }
.svc-stat:nth-child(odd) { padding-left: 0; }
.svc-stat .v { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 8vw, 58px); line-height: .9; color: var(--ink); letter-spacing: -.02em; }
.svc-stat .v em { font-style: normal; color: var(--red); }
.svc-stat .k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-top: 10px; max-width: 22ch; }
@media (min-width: 760px) { .svc-stats .wrap { grid-template-columns: repeat(4, 1fr); } .svc-stat { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 30px); } .svc-stat:first-child { border-left: 0; padding-left: 0; } }

/* ===================== WHAT IS удаление вмятин без покраски ===================== */
.what-grid { display: grid; gap: clamp(28px, 5vw, 54px); align-items: start; }
.what-lede { margin-top: 18px; }
.what-lede p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--text-dim); }
.what-lede p b { color: var(--ink); }
@media (min-width: 900px) { .what-grid { grid-template-columns: .9fr 1.1fr; } .what-grid > * { min-width: 0; } }

/* benefits */
.benefits { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: clamp(34px, 5vw, 52px); }
.benefit { padding: clamp(22px, 3vw, 28px); border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit .b-ico { width: 50px; height: 50px; border-radius: 13px; background: var(--red-tint); display: grid; place-items: center; margin-bottom: 18px; }
.benefit .b-ico svg { width: 25px; height: 25px; stroke: var(--red); fill: none; stroke-width: 1.7; }
.benefit h4 { font-family: var(--display); font-weight: 700; font-size: 19px; margin: 0 0 9px; color: var(--ink); }
.benefit p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }
@media (min-width: 600px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(4, 1fr); } }

/* ===================== SUITABILITY (подходит / не подходит) ===================== */
.suit { display: grid; gap: 18px; grid-template-columns: 1fr; }
.suit-col { border-radius: 16px; padding: clamp(24px, 3.5vw, 34px); border: 1px solid var(--line); background: var(--white); }
.suit-col.yes { border-color: rgba(27,169,84,.32); background: linear-gradient(180deg, rgba(27,169,84,.05), transparent 60%), var(--white); }
.suit-col.no { border-color: var(--line-2); }
.suit-col h3 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); }
.suit-col h3 .badge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.suit-col.yes .badge { background: #1ba954; }
.suit-col.no .badge { background: var(--steel); }
.suit-col h3 .badge svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.6; }
.suit-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 13px; }
.suit-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-dim); line-height: 1.5; }
.suit-list li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; fill: none; stroke-width: 2.2; }
.suit-col.yes .suit-list li svg { stroke: #1ba954; }
.suit-col.no .suit-list li svg { stroke: var(--steel-2); }
@media (min-width: 820px) { .suit { grid-template-columns: 1fr 1fr; } }

/* ===================== STEPS (numbered process) ===================== */
.steps-head { display: grid; gap: 16px; margin-bottom: clamp(30px, 4vw, 44px); }
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.step { background: var(--white); padding: clamp(24px, 3.4vw, 36px); display: grid; gap: 14px; position: relative; }
.step .s-ix { font-family: var(--display); font-weight: 800; font-size: clamp(46px, 6vw, 68px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--red); letter-spacing: -.02em; }
.step h4 { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); }
.step p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ===================== GALLERY (mobile swipe) ===================== */
.gal-head { text-align: center; margin-bottom: clamp(30px, 4vw, 46px); }
.gal-head .lede { margin-top: 14px; max-width: 48ch; margin-inline: auto; }
.gallery { display: grid; gap: 18px; grid-template-columns: 1fr; }
.gal-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.gal-item .ba { aspect-ratio: 16/10; }
.gcap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.gcap .t { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.gcap .c { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ===================== PRICE ===================== */
.price-card { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: var(--rad); padding: clamp(30px, 5vw, 56px); }
.price-card .glow { position: absolute; right: -10%; top: -60%; width: 55%; height: 220%; background: radial-gradient(circle, var(--red-glow), transparent 60%); pointer-events: none; }
.price-card .inner { position: relative; z-index: 1; }
.price-card h2 { color: #fff; margin-top: 16px; max-width: 20ch; }
.price-rows { display: grid; gap: 1px; background: rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; margin: clamp(26px, 4vw, 36px) 0 22px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--navy); padding: 18px 20px; }
.price-row .pn { font-weight: 600; font-size: 15.5px; color: #fff; }
.price-row .pn small { display: block; color: var(--on-dark-dim); font-size: 12.5px; font-weight: 500; margin-top: 4px; }
.price-row .pp { font-family: var(--display); font-weight: 700; font-size: 19px; white-space: nowrap; color: #fff; }
.price-row .pp span { font-size: 11px; color: var(--on-dark-dim); font-family: var(--mono); font-weight: 400; }
.price-note { font-size: 13.5px; color: var(--on-dark-dim); margin: 0 0 26px; max-width: 52ch; }
.price-card .cta-actions { margin-top: 0; }

/* ===================== FAQ ===================== */
.faq-head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.faq { display: grid; gap: 12px; max-width: 840px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .25s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 24px; height: 24px; flex: none; position: relative; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; background: var(--red); transition: transform .3s var(--ease), opacity .3s; }
.faq summary .ic::before { top: 11px; left: 4px; width: 16px; height: 2px; }
.faq summary .ic::after { top: 4px; left: 11px; width: 2px; height: 16px; }
.faq details[open] summary .ic::after { transform: rotate(90deg); opacity: 0; }
.faq .ans { padding: 0 24px 24px; font-size: 15px; color: var(--text-dim); line-height: 1.65; max-width: 64ch; }

/* ===================== RELATED WORKS ===================== */
.rel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(26px, 4vw, 40px); }
.rel-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.rel-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.rel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.rel-pic { position: relative; aspect-ratio: 16/11; overflow: hidden; background: #090d18; }
.rel-pic .paint { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
.rel-card:hover .rel-pic .paint { transform: scale(1.05); }
.rel-pic .badge { position: absolute; top: 13px; left: 13px; z-index: 3; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.55); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; }
.rel-body { padding: 20px 20px 22px; }
.rel-body .cat { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.rel-body .title { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); margin-top: 9px; line-height: 1.1; }
.rel-body .sub { font-size: 13.5px; color: var(--text-mute); margin-top: 8px; font-family: var(--mono); }
@media (min-width: 720px) { .rel-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===================== MOBILE: swipe carousels + dock ===================== */
.m-dots { display: none; }
.m-dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 850; display: flex; gap: 10px; padding: 10px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px -18px rgba(13,20,38,.4); transform: translateY(140%); transition: transform .4s var(--spring); padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.m-dock.show { transform: none; }
.m-dock .btn { padding: 15px 18px; }
.m-dock .dock-call { flex: none; width: 54px; padding: 0; display: grid; place-items: center; }
.m-dock .dock-call svg { width: 20px; height: 20px; }
.m-dock .btn-red { flex: 1; }

@media (max-width: 759px) {
  .gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery .gal-item { flex: 0 0 84%; scroll-snap-align: center; }
  .rel-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .rel-grid::-webkit-scrollbar { display: none; }
  .rel-grid .rel-card { flex: 0 0 80%; scroll-snap-align: center; }
  .m-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
  .m-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .25s, transform .25s; }
  .m-dot.on { background: var(--red); transform: scale(1.3); }
  .fab { display: none; }
}
@media (min-width: 1040px) { .m-dock { display: none; } }

/* ============================================================
   CASE CARD — page-specific
   ============================================================ */
/* meta strip under hero */
.case-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: clamp(22px, 3vw, 30px); }
.case-meta .m { background: var(--white); padding: 16px 18px; }
.case-meta .m .l { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); font-weight: 700; }
.case-meta .m .v { font-family: var(--display); font-weight: 700; font-size: 17px; margin-top: 7px; color: var(--ink); line-height: 1.15; }
.case-meta .m .v a { color: var(--red); }
@media (min-width: 680px) { .case-meta { grid-template-columns: repeat(4, 1fr); } }

/* hero centerpiece before/after */
.case-hero-ba { position: relative; margin-top: clamp(26px, 4vw, 40px); }
.case-hero-ba .ba { aspect-ratio: 16/9; border-radius: 16px; box-shadow: var(--shadow-lg); }
.case-hero-ba .pin { position: absolute; top: -12px; left: 20px; z-index: 6; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--red); padding: 7px 13px; border-radius: 999px; box-shadow: 0 12px 26px -8px var(--red-glow); }

/* story: problem / solution */
.story { display: grid; gap: 16px; grid-template-columns: 1fr; }
.story-card { padding: clamp(24px, 3.4vw, 34px); border-radius: 16px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.story-card.after { background: linear-gradient(160deg, rgba(216,31,42,.05), transparent 55%), var(--white); border-color: var(--red-line, rgba(216,31,42,.28)); }
.story-card .tag { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.story-card.before .tag { color: var(--steel); }
.story-card.after .tag { color: var(--red); }
.story-card .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.story-card h3 { font-family: var(--display); font-weight: 700; font-size: 21px; margin: 0 0 14px; color: var(--ink); }
.story-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.story-card li { display: flex; gap: 12px; font-size: 15px; color: var(--text-dim); align-items: flex-start; line-height: 1.5; }
.story-card li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; fill: none; stroke-width: 2; }
.story-card.before li svg { stroke: var(--steel-2); }
.story-card.after li svg { stroke: var(--red); }
@media (min-width: 760px) { .story { grid-template-columns: 1fr 1fr; } .story > * { min-width: 0; } }

/* video (dark band) */
.case-video { position: relative; }
.case-video .video-slot { aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; }

/* client quote */
.quote-card { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: var(--rad); padding: clamp(32px, 5vw, 60px); }
.quote-card .glow { position: absolute; right: -8%; top: -55%; width: 50%; height: 210%; background: radial-gradient(circle, var(--red-glow), transparent 60%); pointer-events: none; }
.quote-card .inner { position: relative; z-index: 1; max-width: 60ch; }
.quote-card .qm { font-family: var(--display); font-weight: 800; font-size: 80px; line-height: .6; color: var(--red); height: 44px; }
.quote-card blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(20px, 3vw, 30px); line-height: 1.3; color: #fff; }
.quote-card .who { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.quote-card .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: var(--red); flex: none; }
.quote-card .who .nm { font-weight: 600; color: #fff; font-size: 15px; }
.quote-card .who .rl { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-dim); margin-top: 3px; }

/* used services chips */
.used { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3vw, 26px); }
.used a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-weight: 600; font-size: 14.5px; color: var(--ink); transition: border-color .2s, color .2s, transform .2s; }
.used a:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.used a svg { width: 16px; height: 16px; stroke: var(--red); fill: none; stroke-width: 2; }

/* masters who did this case */
.crew { display: grid; gap: 16px; grid-template-columns: 1fr; }
.crew-card { display: flex; gap: 18px; align-items: center; padding: clamp(18px, 2.4vw, 24px); border-radius: 16px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.crew-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.crew-av { position: relative; width: 72px; height: 72px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 24px; overflow: hidden; }
.crew-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crew-av .ring { position: absolute; inset: -1px; border-radius: 50%; box-shadow: 0 0 0 2px var(--red) inset; opacity: 0; transition: opacity .3s; }
.crew-card:hover .crew-av .ring { opacity: 1; }
.crew-info { min-width: 0; }
.crew-name { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); }
.crew-role { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-top: 5px; }
.crew-did { font-size: 14px; color: var(--text-dim); line-height: 1.5; margin-top: 9px; }
.crew-did b { color: var(--ink); font-weight: 600; }
@media (min-width: 720px) { .crew { grid-template-columns: 1fr 1fr; } .crew > * { min-width: 0; } }

/* komanda.html */
.team-intro { display: grid; gap: clamp(30px,5vw,72px); align-items: center; }
.team-intro__copy { min-width: 0; }
.team-group-photo { position: relative; width: 100%; max-width: 470px; justify-self: end; margin: 0; overflow: hidden; border: 1px solid rgba(17,30,58,.14); border-radius: clamp(16px,2vw,22px); background: #090d18; box-shadow: 0 32px 76px -30px rgba(10,22,42,.42); isolation: isolate; }
.team-group-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.team-group-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; }
@media (min-width: 860px){ .team-intro { grid-template-columns: minmax(0,1.25fr) minmax(340px,.75fr); } }
@media (max-width: 859px){ .team-group-photo { max-width: 560px; justify-self: center; } }
@media (max-width: 480px){ .team-intro { gap: 26px; } .team-group-photo { border-radius: 14px; box-shadow: 0 22px 52px -28px rgba(10,22,42,.46); } }

/* stati.html */
/* ===================== NEWS HERO ===================== */
.news-hero { position: relative; padding-top: clamp(96px, 15vw, 130px); padding-bottom: clamp(20px, 3vw, 30px); overflow: clip; }
.news-hero .bgword { position: absolute; right: -3%; top: clamp(70px, 11vw, 96px); font-family: var(--display); font-weight: 800; font-size: clamp(150px, 26vw, 380px); line-height: .8; color: var(--ink); opacity: .035; pointer-events: none; white-space: nowrap; letter-spacing: -.05em; z-index: 0; }
.news-hero .wrap { position: relative; z-index: 1; }
.news-hero h1 { margin: 16px 0 0; max-width: 16ch; }
.news-hero .lede { margin-top: 18px; max-width: 52ch; }

/* status banner — режим работы (pinned) */
.status { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(24px, 3.5vw, 34px); padding: clamp(16px, 2.4vw, 22px) clamp(18px, 2.6vw, 26px); border-radius: 16px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.status .dot { width: 11px; height: 11px; border-radius: 50%; background: #1ba954; position: relative; flex: none; }
.status .dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #1ba954; opacity: .4; animation: statusPulse 2.4s ease-out infinite; }
@keyframes statusPulse { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
.status.closed .dot { background: var(--red); }
.status.closed .dot::after { border-color: var(--red); }
.status .st-txt { min-width: 0; }
.status .st-state { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); }
.status .st-sub { font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: var(--text-mute); margin-top: 4px; }
.status .st-hours { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--text-dim); text-align: right; }
.status .st-hours b { color: var(--ink); font-weight: 700; }
@media (max-width: 560px) { .status .st-hours { margin-left: 0; text-align: left; width: 100%; padding-top: 12px; border-top: 1px solid var(--line); } }

/* filter chips */
.feed-filters { display: flex; gap: 10px; flex-wrap: wrap; margin: clamp(30px, 4vw, 44px) 0 clamp(22px, 3vw, 30px); }
.chip { appearance: none; border: 1px solid var(--line-2); background: var(--white); color: var(--text-dim); font: inherit; font-weight: 600; font-size: 14px; padding: 9px 17px; border-radius: 999px; cursor: pointer; transition: border-color .2s, color .2s, background .2s, transform .2s; }
.chip:hover { border-color: var(--steel-2); color: var(--ink); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ===================== SOCIAL FEED ===================== */
.feed { display: flex; flex-direction: column; gap: clamp(18px, 2.5vw, 26px); max-width: 720px; margin-inline: auto; }
.post { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .4s var(--ease), border-color .4s var(--ease); }
.post:hover { box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.post-head { display: flex; align-items: center; gap: 12px; padding: 15px 18px; }
.post-ava { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; background: var(--ink); display: grid; place-items: center; }
.post-ava img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.post-id { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.post-name { font-family: var(--display); font-weight: 700; font-size: 14.5px; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; line-height: 1; }
.post-name svg { width: 15px; height: 15px; fill: var(--red); flex: none; }
.post-when { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: var(--text-mute); }
.post-tag { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); border: 1px solid var(--line-2); padding: 5px 11px; border-radius: 999px; }
.post-tag svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.post-tag.news { color: var(--red); border-color: rgba(216,31,42,.32); }
.post-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #090d18; }
.post-media .paint { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.post:hover .post-media .paint { transform: scale(1.04); }
.post-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-media .pplay { position: absolute; inset: 0; display: grid; place-items: center; }
.post-media .pplay span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1.5px solid rgba(255,255,255,.5); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; cursor: pointer; }
.post-media .pplay:hover span { transform: scale(1.08); background: var(--red); border-color: var(--red); }
.post-media .pplay svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.post-media .vlen { position: absolute; right: 12px; bottom: 12px; font-family: var(--mono); font-size: 11px; font-weight: 700; color: #fff; background: rgba(13,20,38,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 4px 9px; border-radius: 6px; }
.post-media-slider { position: relative; overflow: hidden; background: #090d18; }
.post-media-track { position: relative; background: #090d18; }
.post-media-slide { display: none; }
.post-media-slide.is-active { display: block; }
.post-media-slider .post-media { border-radius: 0; }
.post-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #090d18; border: 0; }
.post-media-caption { position: absolute; left: 12px; bottom: 12px; z-index: 3; max-width: calc(100% - 24px); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.64); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); padding: 6px 10px; border-radius: 999px; }
.post-media-nav { position: absolute; top: 50%; z-index: 5; width: 38px; height: 38px; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(13,20,38,.62); color: #fff; font-size: 28px; line-height: 1; display: grid; place-items: center; cursor: pointer; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); transition: background .2s, transform .2s; }
.post-media-nav:hover { background: var(--red); transform: translateY(-50%) scale(1.04); }
.post-media-prev { left: 12px; }
.post-media-next { right: 12px; }
.post-media-dots { position: absolute; right: 12px; top: 12px; z-index: 5; display: flex; gap: 7px; padding: 7px 9px; border-radius: 999px; background: rgba(13,20,38,.54); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.post-media-dot { width: 7px; height: 7px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; padding: 0; background: transparent; cursor: pointer; }
.post-media-dot.is-active { background: #fff; border-color: #fff; }
@media (max-width: 560px) { .post-media-nav { width: 34px; height: 34px; font-size: 24px; } .post-media-caption { left: 10px; bottom: 10px; font-size: 9px; } }
.post-body { padding: clamp(16px, 2.2vw, 22px); }
.post-title { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.2; color: var(--ink); margin: 0 0 10px; text-wrap: pretty; }
.post-text { margin: 0; font-size: 15px; line-height: 1.66; color: var(--text-dim); }
.post-text + .post-text { margin-top: 12px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; }
.post-tags span { font-family: var(--mono); font-size: 12.5px; color: var(--red); font-weight: 700; }
.post-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.post-foot .post-tags { margin-top: 0; }
.post-share { appearance: none; border: 1px solid var(--line-2); background: var(--white); color: var(--text-dim); font: inherit; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; cursor: pointer; transition: border-color .2s, color .2s, background .2s; flex: none; }
.post-share:hover { border-color: var(--red); color: var(--red); }
.post-share:active { transform: scale(.97); }
.post-share svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.post-share.copied { border-color: #1ba954; color: #1ba954; }
.post-share.copied svg { stroke: #1ba954; }
/* text-only announcement variant */
.post.announce { background: linear-gradient(180deg, rgba(216,31,42,.055), transparent 38%), var(--white); }
.post.announce .post-body { padding-top: clamp(20px, 2.6vw, 26px); }
.post.announce .post-title { display: flex; align-items: flex-start; gap: 12px; }
.post.announce .post-title svg { width: 26px; height: 26px; flex: none; stroke: var(--red); fill: none; stroke-width: 1.8; margin-top: 1px; }

/* ===================== FEED CTA (вместо подписки) ===================== */
.feed-end { display: flex; justify-content: center; margin-top: clamp(40px, 9vw, 56px); }
.feed-cta { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: var(--rad); padding: clamp(30px, 5vw, 56px); text-align: center; }
.feed-cta .glow { position: absolute; left: 50%; top: -70%; transform: translateX(-50%); width: 70%; height: 230%; background: radial-gradient(circle, var(--red-glow), transparent 60%); pointer-events: none; }
.feed-cta .inner { position: relative; z-index: 1; max-width: 52ch; margin-inline: auto; }
.feed-cta h2 { color: #fff; }
.feed-cta .lede { margin: 14px auto 26px; color: var(--on-dark-dim); }
.feed-cta .cta-actions { justify-content: center; }
.feed-social { display: flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.feed-social .fs-lab { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-dim); }
.feed-social .msgs { margin: 0; }

/* ===================== MOBILE: dots + dock (shared) ===================== */
.m-dots { display: none; }
.m-dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 850; display: flex; gap: 10px; padding: 10px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px -18px rgba(13,20,38,.4); transform: translateY(140%); transition: transform .4s var(--spring); padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.m-dock.show { transform: none; }
.m-dock .btn { padding: 15px 18px; }
.m-dock .dock-call { flex: none; width: 54px; padding: 0; display: grid; place-items: center; }
.m-dock .dock-call svg { width: 20px; height: 20px; }
.m-dock .btn-red { flex: 1; }
@media (max-width: 759px) { .fab { display: none; } }
@media (min-width: 1040px) { .m-dock { display: none; } }

/* politika.html */
.legal-hero { padding-top: clamp(96px, 15vw, 130px); padding-bottom: clamp(8px, 2vw, 16px); }
.legal-hero h1 { margin-top: 14px; max-width: 20ch; }
.legal-hero .lede { margin-top: 16px; max-width: 56ch; }
.legal { max-width: 820px; }
.legal-block { padding: clamp(22px, 3vw, 30px) 0; border-top: 1px solid var(--line); }
.legal-block:first-child { border-top: 0; }
.legal-block h2 { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); color: var(--ink); display: flex; gap: 14px; align-items: baseline; }
.legal-block h2 .n { font-family: var(--mono); font-size: 14px; color: var(--red); font-weight: 700; flex: none; }
.legal-block p, .legal-block li { font-size: 15.5px; line-height: 1.7; color: var(--text-dim); }
.legal-block p { margin: 14px 0 0; }
.legal-block ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.legal-block li { display: flex; gap: 12px; align-items: flex-start; }
.legal-block li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; margin-top: 9px; }
.legal-block a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.legal-upd { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--steel); margin-top: clamp(28px, 4vw, 40px); }

/* Mobile CTA photo: avoid iOS Safari mask rendering bug that can hide the image. */

@media (max-width: 760px) { .cta-feature .cta-photo { display: block !important; position: relative !important; inset: auto !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 10; overflow: hidden; -webkit-mask-image: none !important; mask-image: none !important; } .cta-feature .cta-photo img { display: block !important; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; opacity: 1; visibility: visible; } .cta-feature .cta-photo::after { background: linear-gradient(180deg, rgba(9,13,24,.08) 0%, rgba(9,13,24,.22) 48%, var(--ink) 100%) !important; } }

/* Case/work previews show complete manager-uploaded media, not cropped thumbnails. */

.casefeat-media img, .caserow-media img, .ccard-media > .ccard-img, .ccard-media .video-slot .ccard-img, .rel-pic .rel-img { object-fit: contain; object-position: center; background: #090d18; }

.casefeat-media img { object-fit: contain; object-position: center; background: #090d18; }

.caserow-media img { object-fit: contain; object-position: center; background: #090d18; }

/* Home case photos keep their native orientation: portraits get a softer frame, not black side bars. */

.caserow-media { isolation: isolate; }

.caserow-media::before { content: ''; position: absolute; inset: -22px; z-index: 0; background-image: var(--case-media-image, none); background-position: center; background-size: cover; filter: blur(22px) saturate(.8); opacity: 0; transform: scale(1.08); transition: opacity .35s var(--ease); }

.caserow-media > img { position: relative; z-index: 1; }

.caserow-media.is-portrait { aspect-ratio: 10 / 11; background: #0a0f1b; }

.caserow-media.is-portrait::before { opacity: .48; }

.caserow-media.is-portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; background: transparent; }

@media (min-width: 880px) { .caserow-media.is-portrait, .caserow-media.is-portrait > img { aspect-ratio: 10 / 11; } }

@media (max-width: 879px) { .caserow-media.is-portrait { aspect-ratio: 10 / 11; } .caserow-media.is-portrait > img { aspect-ratio: auto; } }

/* Related case cards reuse the same card surface as /raboty. */

.case-related-section .rel-grid { display: grid; gap: clamp(18px, 2.4vw, 26px); grid-template-columns: 1fr; }

@media (min-width: 640px) { .case-related-section .rel-grid { grid-template-columns: 1fr 1fr; } }

@media (min-width: 1000px) { .case-related-section .rel-grid { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 760px) { .case-related-section .rel-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); } .case-related-section .rel-grid::-webkit-scrollbar { display: none; } .case-related-section .rel-grid .ccard { flex: 0 0 80%; scroll-snap-align: center; } }

/* Mobile action dock: keep the call button square after page-specific dock rules. */

@media (max-width: 760px) { .m-dock { align-items: center; } .m-dock .dock-call { flex: 0 0 54px !important; width: 54px !important; min-width: 54px !important; max-width: 54px !important; height: 54px !important; min-height: 54px !important; padding: 0 !important; aspect-ratio: 1 / 1; display: grid !important; place-items: center; border-radius: 999px; } .m-dock .dock-call svg { flex: none; width: 20px; height: 20px; } .m-dock .btn-red { min-width: 0; flex: 1 1 auto; } }

/* Case detail adaptive facts. */

.case-meta { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

@media (min-width: 680px) { .case-meta { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

@media (max-width: 640px) { .case-meta { grid-template-columns: 1fr; } }

/* Real service photos from project assets. */

.service-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.svc-panel .ba, .svc-hero-media .ba { aspect-ratio: 4 / 5; background: #090d18; }
/* portrait client photos: cap their width on desktop so one service isn't a full screen of scrolling */
@media (min-width: 960px) { .svc-panel .hero-frame { max-width: 520px; margin-inline: auto; } }

@media (max-width: 520px) { .svc-hero-media .ba-hint { left: 12px; right: 12px; width: auto; max-width: none; transform: none; bottom: 12px; padding: 7px 10px; white-space: normal; text-align: center; font-size: 9px; line-height: 1.35; letter-spacing: .06em; } .svc-media-cap { display: grid; justify-content: stretch; gap: 6px; font-size: 10px; line-height: 1.35; } .svc-media-cap > span { display: block; min-width: 0; overflow-wrap: anywhere; } }

.scard-media { aspect-ratio: 4 / 5; background: #090d18; }

.scard-media > .service-photo { position: absolute; inset: 0; z-index: 1; transition: transform 1.1s var(--ease); }

.scard-media::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(9,13,24,.08), rgba(9,13,24,.34)); }

.scard:hover .scard-media > .service-photo { transform: scale(1.04); }

/* Team and case relations. */

.team-profile__grid { display: grid; gap: 44px; align-items: center; }

@media (min-width: 900px) { .team-profile__grid { grid-template-columns: minmax(0, 1.08fr) minmax(300px, 410px); } }

.team-profile__text { max-width: 720px; }

.team-profile__facts { margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); max-width: 720px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.78); box-shadow: 0 18px 46px rgba(10,22,42,.08); }

.team-profile__fact { min-height: 76px; padding: 16px 18px; display: grid; align-content: center; gap: 8px; border-left: 1px solid var(--line); }

.team-profile__fact:first-child { border-left: 0; }

.team-profile__fact span { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }

.team-profile__fact strong { color: var(--ink); font-size: 16px; line-height: 1.2; }

.team-portrait { width: 100%; max-width: 410px; justify-self: end; overflow: hidden; border: 1px solid rgba(17,30,58,.12); border-radius: 20px; background: var(--white); box-shadow: var(--shadow-lg); }

.team-portrait__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center; background: linear-gradient(145deg, #080d18 0%, #121a30 100%); }

.team-portrait__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8,13,24,.02), rgba(8,13,24,.28)); }

.team-portrait__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.team-portrait__initials { position: relative; z-index: 1; font-family: var(--display); font-weight: 800; font-size: 76px; line-height: 1; color: rgba(255,255,255,.12); }

.team-portrait__number { position: absolute; z-index: 2; top: 16px; right: 16px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; color: #fff; background: var(--red); padding: 7px 11px; border-radius: 999px; }

.team-portrait__soon { position: absolute; z-index: 2; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.55); backdrop-filter: blur(6px); padding: 8px 12px; border-radius: 999px; }

.team-portrait__soon svg { width: 13px; height: 13px; stroke: #fff; fill: none; }

.team-portrait__caption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-top: 1px solid var(--line); }

.team-portrait__caption span { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--red); }

.team-portrait__caption strong { color: var(--ink); font-size: 15px; line-height: 1.2; text-align: right; }

@media (max-width: 899px) { .team-portrait { justify-self: start; max-width: 360px; } }

@media (max-width: 640px) { .team-profile__grid { gap: 30px; } .team-profile__facts { grid-template-columns: 1fr; border-radius: 14px; } .team-profile__fact { min-height: 68px; border-left: 0; border-top: 1px solid var(--line); } .team-profile__fact:first-child { border-top: 0; } .team-portrait { max-width: none; border-radius: 16px; } .team-portrait__caption { align-items: flex-start; flex-direction: column; } .team-portrait__caption strong { text-align: left; } }

.tcard { position: relative; }

.tcard-link { position: absolute; inset: 0; z-index: 4; }

.case-masters { display: grid; gap: 14px; grid-template-columns: 1fr; }

@media (min-width: 680px) { .case-masters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.case-master { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 104px; padding: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(115deg, #fff 0%, #fff 72%, rgba(219,31,43,.045) 100%); box-shadow: var(--shadow); color: var(--ink); transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease); }

.case-master::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--red); transform: scaleY(.45); transform-origin: center; transition: transform .35s var(--ease); }

.case-master:hover { transform: translateY(-3px); border-color: rgba(219,31,43,.28); box-shadow: var(--shadow-lg); background: linear-gradient(115deg, #fff 0%, #fff 62%, rgba(219,31,43,.08) 100%); }

.case-master:hover::before { transform: scaleY(1); }

.case-master__photo { width: 66px; height: 66px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(155deg, var(--navy), var(--ink)); color: rgba(255,255,255,.72); font-family: var(--display); font-size: 18px; font-weight: 800; box-shadow: 0 0 0 4px rgba(219,31,43,.08); }

.case-master__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.case-master__body { min-width: 0; display: grid; gap: 5px; }

.case-master__name { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.05; }

.case-master__role { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); font-weight: 700; }

.case-master__more { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; color: var(--steel); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

.case-master__more-icon { display: grid; width: 40px; height: 40px; flex: none; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.7); transition: transform .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease); }

.case-master__more-icon svg { width: 18px; height: 18px; }

.case-master:hover .case-master__more-icon { transform: translateX(3px); border-color: var(--red); color: #fff; background: var(--red); }

@media (max-width: 480px) { .case-master { min-height: 92px; gap: 13px; padding: 14px; border-radius: 14px; } .case-master__photo { width: 54px; height: 54px; font-size: 16px; } .case-master__name { font-size: 18px; } .case-master__role { font-size: 9px; letter-spacing: .065em; } .case-master__more-label { display: none; } .case-master__more-icon { width: 36px; height: 36px; } }

/* Mobile homepage: Hero is uninterrupted; the image keeps its full vertical composition. */

@media (max-width: 600px) { .hero-stage { min-height: 0; height: auto; aspect-ratio: 1030 / 1526; } .hero-stage .ba-img { object-fit: cover; object-position: center; } .hero-stats { display: none; } }

/* System pages. */

.error-page { min-height: 58svh; display: flex; align-items: center; }

.error-page__grid { display: grid; gap: 44px; align-items: center; }

@media (min-width: 900px) { .error-page__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); } }

.error-page__content { max-width: 760px; }

.error-page__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.error-page__mark { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 22px; display: grid; place-items: center; align-content: center; gap: 12px; justify-self: end; width: 100%; max-width: 420px; background: linear-gradient(145deg, #080d18 0%, #121a30 100%); box-shadow: var(--shadow-lg); }

.error-page__mark::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0)); }

.error-page__mark span { position: relative; z-index: 1; font-family: var(--display); font-weight: 800; font-size: 96px; line-height: .9; color: rgba(255,255,255,.14); }

.error-page__mark small { position: relative; z-index: 1; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }

@media (max-width: 899px) { .error-page__mark { justify-self: start; max-width: 360px; } }

@media (max-width: 640px) { .error-page { min-height: auto; } .error-page__grid { gap: 30px; } .error-page__actions .btn { width: 100%; } .error-page__mark { max-width: none; border-radius: 16px; } .error-page__mark span { font-size: 72px; } }


/* ============================================================
   PAGE-SPECIFIC — lifted out of inline <style> blocks
   ============================================================ */
/* ---- from rabota.html ---- */
.case { position: relative; overflow: clip; padding-top: clamp(92px, 14vw, 122px); padding-bottom: clamp(40px, 6vw, 66px); }
.case .bgword { position: absolute; right: -3%; top: clamp(64px, 10vw, 92px); font-family: var(--display); font-weight: 800; font-size: clamp(150px, 28vw, 420px); line-height: .8; color: var(--ink); opacity: .03; pointer-events: none; white-space: nowrap; letter-spacing: -.05em; z-index: 0; }
.case .wrap { position: relative; z-index: 1; }
.case-hero { display: grid; gap: clamp(28px, 4vw, 50px); margin-top: clamp(22px, 3vw, 32px); }
@media (min-width: 980px){.case-hero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; }}
.case-info h1 { margin: 15px 0 0; }
.case-info h1 em { font-style: normal; color: var(--red); }
.case-lede { margin-top: 18px; max-width: 52ch; }
.case-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: clamp(22px, 3vw, 28px); }
.case-facts .f { background: var(--white); padding: 14px 16px; }
.case-facts .l { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); font-weight: 700; }
.case-facts .v { font-family: var(--display); font-weight: 700; font-size: 16px; margin-top: 6px; color: var(--ink); line-height: 1.15; }
.case-facts .v a { color: var(--red); }
@media (min-width: 460px){.case-facts { grid-template-columns: repeat(4, 1fr); }}
.case-figs { display: flex; flex-wrap: wrap; gap: clamp(22px, 4vw, 40px); margin-top: clamp(22px, 3vw, 28px); }
.fig { position: relative; }
.fig b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5vw, 44px); line-height: .9; letter-spacing: -.02em; color: var(--ink); }
.fig.red b { color: var(--red); }
.fig span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--steel); margin-top: 9px; max-width: 16ch; }
.fig + .fig::before { content: ""; position: absolute; left: calc(clamp(22px, 4vw, 40px) / -2 - 1px); top: 4px; bottom: 16px; width: 1px; background: var(--line); }
.case-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3.5vw, 32px); }
.case-media { position: relative; }
.case-media .pin { position: absolute; top: -12px; left: 18px; z-index: 6; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--red); padding: 7px 13px; border-radius: 999px; box-shadow: 0 12px 26px -8px var(--red-glow); }
.case-media .ba { aspect-ratio: 4/3; border-radius: 18px; box-shadow: var(--shadow-lg); }
.case-media-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--steel); }
.case-media-cap .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; margin-right: 8px; vertical-align: middle; }
.hero-gallery { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px){.hero-gallery { grid-template-columns: 1.4fr 1fr; }}
.hero-gallery .gal-item { margin: 0; }
.sec-head { margin-bottom: clamp(26px, 4vw, 40px); }
.story-card.solve { background: linear-gradient(162deg, rgba(216,31,42,.05), transparent 52%), var(--white); border-color: rgba(216,31,42,.26); }
.story-card.task .tag { color: var(--steel); }
.story-card.solve .tag { color: var(--red); }
.story-card.task li svg { stroke: var(--steel-2); }
.story-card.solve li svg { stroke: var(--red); }
.gal-item .ba, .gal-item .video-slot, .gal-item .gal-pic { aspect-ratio: 16/10; }
.gal-item .gal-pic { position: relative; overflow: hidden; background: #090d18; }
.gal-item .gal-pic .paint { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
.gal-item:hover .gal-pic .paint { transform: scale(1.04); }
.gal-item .video-slot { cursor: pointer; }
.gcap .c.neutral { color: var(--steel); }

/* ---- from komanda.html ---- */
.team-intro .ti-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.team-intro .ti-st { background: var(--white); padding: 18px 18px; }
.team-intro .ti-st .v { font-family: var(--display); font-weight: 800; font-size: clamp(26px,5vw,38px); line-height: 1; color: var(--ink); }
.team-intro .ti-st .v em { font-style: normal; color: var(--red); }
.team-intro .ti-st .k { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-top: 8px; }
.team-shot { position: relative; margin: clamp(26px,4vw,42px) auto 0; max-width: 520px; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: #090d18; }
/* client/team photos are shot vertically — cap the frame and crop instead of towering */
.team-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 600px) { .team-shot { max-width: none; aspect-ratio: 1 / 1; } }
.team-shot figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 7px 12px; border-radius: 7px; }
.team-shot figcaption .led { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* ============================================================
   DESIGN AUDIT — authoritative overrides (must stay last)
   ============================================================ */
/* dock: both buttons were different heights (54 vs 49) — match the square call button */
.m-dock .btn { min-height: 54px; padding-block: 0; }
/* section rhythm: kill the doubled gap where a tinted band follows a section */
.section + .section { padding-top: clamp(46px, 6.5vw, 88px); }
/* never break a Russian word mid-glyph — balance the line instead */
h1, h2, h3, .d-1, .d-2, .d-3 { overflow-wrap: normal; word-break: normal; hyphens: none; }
/* the CTA band spans the full viewport — no section padding, no wrap constraint */
.section.cta-full { padding: 0; }
.section.cta-full > .wrap { max-width: none; padding-inline: 0; }

/* ===================== REVIEWS · Yandex (replaces the stats + reviews split) ===================== */
.rvw-head { display: grid; gap: 24px; align-items: end; position: relative; z-index: 1; }
@media (min-width: 900px) { .rvw-head { grid-template-columns: 1fr auto; gap: 40px; } }
.rvw-score { display: inline-flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%;
  padding: 14px 22px 14px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
  background: rgba(255,255,255,.05); transition: transform .3s var(--ease), border-color .3s, background .3s; }
.rvw-score:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.09); }
.rvw-score__mark { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: #ed1c24; font-family: Arial, sans-serif; font-weight: 800; font-size: 21px; }
.rvw-score__top { display: flex; align-items: baseline; gap: 10px; }
.rvw-score__top b { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: #fff; }
.rvw-score__stars { color: #ffb400; font-size: 13px; letter-spacing: 1.5px; }
.rvw-score small { display: block; margin-top: 5px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .07em; text-transform: uppercase; color: var(--on-dark-dim); }

.rvw-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; position: relative; z-index: 1; }
.rvw-tags span { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 999px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .07em; text-transform: uppercase; color: var(--on-dark-dim); }
.rvw-tags b { font-family: var(--display); font-size: 15px; font-weight: 700; color: #5fd08a; letter-spacing: 0; }

.rvw-grid { display: grid; gap: 16px; margin-top: 30px; position: relative; z-index: 1; }
@media (min-width: 940px) { .rvw-grid { grid-template-columns: 1fr 1fr; } }
.rvw { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  padding: 24px; display: flex; flex-direction: column; transition: border-color .3s, background .3s; }
.rvw:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.rvw-who { display: flex; align-items: center; gap: 12px; }
.rvw-av { width: 42px; height: 42px; flex: none; border-radius: 50%; background: rgba(255,255,255,.1);
  color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 14px; }
.rvw-nm { display: block; font-weight: 600; font-size: 14.5px; color: #fff; }
.rvw-lvl { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em;
  color: var(--on-dark-dim); margin-top: 3px; }
.rvw-meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.rvw-stars { color: #ffb400; font-size: 13px; letter-spacing: 1.5px; }
.rvw-date { font-family: var(--mono); font-size: 11px; color: var(--on-dark-dim); }
.rvw p { color: rgba(255,255,255,.9); font-size: 14.8px; line-height: 1.62; margin: 12px 0 0; text-wrap: pretty; }
.rvw-foot { margin-top: 30px; position: relative; z-index: 1; }
.rvw-foot .btn svg { width: 15px; height: 15px; }

@media (max-width: 939px) {
  .rvw-grid { grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gut); -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .rvw-grid::-webkit-scrollbar { display: none; }
  .rvw { scroll-snap-align: center; }
  .rvw-foot .btn { width: 100%; }
}

/* dark-section headings: was inline style="color:#fff" on each h2 */
.dark h2, .dark h1, .cta-band h2 { color: var(--on-dark-strong, #fff); }

/* ============================================================
   BACKGROUND DISPLAY WORD — fit inside the viewport at any width
   Was: right:-3% + a vw font-size, so the word ran past the edge and
   the section's overflow:clip sliced it. Now the size is derived from the
   available width and the glyph count (--bgw-len), and it sits in the gutter.
   ============================================================ */
.cat-hero .bgword, .svc-hero .bgword, .cases-hero .bgword,
.news-hero .bgword, .case .bgword {
  left: var(--gut); right: var(--gut); width: auto;
  text-align: right; white-space: nowrap; overflow: visible;
  /* .68em ≈ average cap advance of the display face at weight 800 (measured on Cyrillic) */
  font-size: min(var(--bgw-max, 320px), calc((100vw - var(--gut) * 2) / (var(--bgw-len, 4) * 0.68)));
}
.cat-hero .bgword { --bgw-max: 300px; }
.cases-hero .bgword { --bgw-max: 300px; }
.news-hero .bgword { --bgw-max: 360px; }
.svc-hero .bgword { --bgw-max: 430px; }
.case .bgword { --bgw-max: 400px; }
@media (max-width: 600px) {
  .cat-hero .bgword, .svc-hero .bgword, .cases-hero .bgword,
  .news-hero .bgword, .case .bgword { opacity: .05; }
}

/* ============================================================
   SERVICE CATALOG CARDS — 3 up on wide screens, tighter overall
   ============================================================ */
@media (min-width: 1080px) { .cat-list { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 880px) and (max-width: 1079px) { .cat-list { grid-template-columns: 1fr 1fr; } }
/* single column below 880: a portrait photo at full column width made a 1050px-tall card */
@media (min-width: 560px) and (max-width: 879px) { .cat-list .scard-media { aspect-ratio: 16/10; } }
@media (min-width: 880px) {
  .cat-list .scard { border-radius: 16px; }
  .cat-list .scard-media { aspect-ratio: 16/10; }
  .cat-list .scard-body { gap: 10px; padding: 20px; }
  .cat-list .scard-name { font-size: 19px; }
  .cat-list .scard-price .p { font-size: 16px; }
  .cat-list .scard-desc { font-size: 13.5px; line-height: 1.55; }
  .cat-list .scard-tags span { font-size: 10.5px; padding: 4px 9px; }
  .cat-list .scard-cta { padding-top: 12px; }
  .cat-list .scard-cta .go { font-size: 13.5px; }
  .cat-list .scard-cta .go svg { width: 15px; height: 15px; }
  .cat-list .scard-cta .ask { font-size: 10px; }
  .cat-list .scard-ix { left: 15px; top: 12px; font-size: 13px; }
  .cat-list .scard-code { right: 13px; top: 12px; font-size: 9.5px; padding: 5px 9px; }
}

/* MODX integration: let the long legal-page heading wrap on narrow screens. */
.legal-title { overflow-wrap: anywhere; word-break: normal; hyphens: auto; max-width: 100%; }
.legal-title .word { display: inline; overflow: visible; }
@media (max-width: 640px) { .legal-title { font-size: clamp(42px, 14vw, 58px); line-height: .96; } }
