/* ==========================================================================
   PitStop — автомобильный комплекс. Стили сайта.
   Фирменный стиль повторяет интернет-магазин pitstop-dn.ru:
   чёрный/графит, красный акцент, Inter Tight, острые углы, «уголки» у кнопок.
   ========================================================================== */

:root {
  --bg: #0B0B0C;
  --bg-2: #0E0E10;
  --panel: #111214;
  --surface: #141518;
  --surface-2: #1A1B1F;
  --line: #1C1D20;
  --line-2: #26282C;
  --line-3: #3A3D43;
  --red: #E31E24;
  --red-2: #FF252D;
  --white: #FFFFFF;
  --soft: #BFC3C9;
  --muted: #8A8F97;
  --muted-2: #6E737B;
  --head-grey: #7A7F87;
  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1340px;
  --gutter: 40px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--white);
  font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--red); padding: 10px 16px; }
.skip:focus { top: 12px; }
.is-hidden { display: none !important; }

/* ---------- typography ---------- */
.h1 { font-weight: 300; font-size: clamp(42px, 5.6vw, 84px); line-height: 1; letter-spacing: -.035em; color: var(--head-grey); }
.h2 { font-weight: 300; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -.03em; color: var(--head-grey); }
.h1 strong, .h2 strong { font-weight: 700; color: var(--white); }
.h1 em, .h2 em { font-style: italic; color: var(--white); font-weight: 400; }
.h3 { font-size: 24px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--red-2); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 18px; line-height: 1.65; color: #9A9FA7; max-width: 640px; }
.muted { color: var(--muted); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; font-weight: 700; font-style: italic; font-size: 25px; letter-spacing: -.5px; color: #fff; white-space: nowrap; line-height: 1; }
.logo__slash { display: inline-block; width: 4px; height: 23px; margin: 0 6px; background: var(--red); transform: skewX(-20deg); }
.logo__sub { display: block; margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line-3); font-style: normal; font-weight: 400; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); line-height: 1.35; }
.logo img { height: 34px; width: auto; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 28px; border: 0; border-radius: 0; cursor: pointer; white-space: nowrap;
  background: var(--red); color: #fff; font: 500 15px/1 var(--font);
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--red-2); box-shadow: 0 14px 34px -12px rgba(227, 30, 36, .6); }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow, .ghost:hover .arrow { transform: translateX(5px); }
.btn--lg { height: 64px; padding: 0 34px; font-size: 17px; }
.btn--sm { height: 46px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; justify-content: space-between; }
.btn--dark { background: #fff; color: #0B0B0C; }
.btn--dark:hover { background: #E9EAEC; box-shadow: none; }

/* ghost button with corner ticks (как в магазине) */
.ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px; border: 0; border-radius: 0; cursor: pointer; white-space: nowrap;
  color: #fff; font: 400 15px/1 var(--font);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  background:
    linear-gradient(#fff,#fff) 0 0/10px 1px no-repeat, linear-gradient(#fff,#fff) 0 0/1px 10px no-repeat,
    linear-gradient(#fff,#fff) 100% 0/10px 1px no-repeat, linear-gradient(#fff,#fff) 100% 0/1px 10px no-repeat,
    linear-gradient(#fff,#fff) 0 100%/10px 1px no-repeat, linear-gradient(#fff,#fff) 0 100%/1px 10px no-repeat,
    linear-gradient(#fff,#fff) 100% 100%/10px 1px no-repeat, linear-gradient(#fff,#fff) 100% 100%/1px 10px no-repeat,
    transparent;
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.ghost:hover { background-color: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.ghost--sm { height: 46px; padding: 0 20px; font-size: 14px; }
.ghost--block { width: 100%; justify-content: space-between; }
.ghost svg, .btn svg { flex: none; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); border-bottom: 1px solid transparent; }
.header::before { content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; background: linear-gradient(180deg, rgba(11,11,12,.7), rgba(11,11,12,0)); pointer-events: none; transition: opacity .35s; }
.header.is-solid::before { opacity: 0; }
.header.is-solid { background: rgba(11, 11, 12, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 16px 30px; min-height: var(--header-h); }
.nav { display: flex; gap: 6px 28px; font-size: 15px; margin-left: auto; }
.nav a { white-space: nowrap; color: var(--soft); padding: 6px 0; position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--red); transition: right .3s var(--ease); }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.header__phone a { font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: color .2s; }
.header__phone a:hover { color: var(--red-2); }
.header__phone span { font-size: 12px; color: var(--muted); }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.header__burger, .header__call { display: none; }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); background: var(--panel); border-right: 1px solid var(--line-2); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .35s var(--ease); overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer__nav { padding: 10px 20px; }
.drawer__nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.drawer__nav a span { color: var(--muted-2); font-size: 13px; }
.drawer__foot { margin-top: auto; padding: 20px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.drawer__foot .drawer__phone { font-size: 22px; font-weight: 600; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(760px, 100svh); overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.hero__plane { position: absolute; inset: 0; pointer-events: none; }
.hero__plane--1 { background: #0E0E10; clip-path: polygon(26% 0, 44% 0, 20% 100%, 2% 100%); }
.hero__plane--2 { background: #111214; clip-path: polygon(62% 0, 100% 0, 100% 18%, 54% 18%); }
.hero__plane--3 { background: #0F1012; clip-path: polygon(0 78%, 40% 78%, 32% 100%, 0 100%); }
.hline { position: absolute; height: 1px; background: var(--line-2); pointer-events: none; }
.vline { position: absolute; width: 1px; background: var(--line-2); transform: skewX(-38deg); transform-origin: top; pointer-events: none; }

.hero__band { position: absolute; right: 0; top: 150px; width: 64%; height: min(560px, 58vh); min-height: 400px; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); background: var(--red); overflow: hidden; }
.hero__band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: brightness(1.12) contrast(1.05); transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
.hero__band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: repeating-linear-gradient(180deg, rgba(9,9,9,.65) 0 3px, rgba(9,9,9,0) 3px 11px); -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 40%); mask-image: linear-gradient(180deg, #000 0, transparent 40%); }
.hero__band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,11,12,.6) 0%, rgba(11,11,12,0) 34%), linear-gradient(0deg, rgba(11,11,12,.55), rgba(11,11,12,0) 40%); }
.hero__redline { position: absolute; right: 0; top: calc(150px + min(560px, 58vh) + 22px); width: 36%; height: 4px; background: var(--red); clip-path: polygon(3% 0, 100% 0, 100% 100%, 0 100%); }
@keyframes heroZoom { to { transform: scale(1); } }

.hero__body { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-top: calc(var(--header-h) + 60px); padding-bottom: 60px; }
.hero__copy { max-width: 640px; }
.hero__copy .lead { margin-top: 26px; font-size: 19px; color: var(--soft); }
.hero__note { margin-top: 18px; font-size: 15px; color: var(--muted); max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 8px 14px 8px 10px; font-size: 13px; color: var(--soft); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-2); }
.hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 4px rgba(227,30,36,.18); }

/* 3 направления — полоса под первым экраном */
.strip { position: relative; z-index: 2; border-top: 1px solid var(--line); background: rgba(11,11,12,.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip__item { display: flex; gap: 18px; align-items: center; padding: 28px 28px 28px 0; position: relative; transition: background-color .3s; }
.strip__item + .strip__item { padding-left: 28px; border-left: 1px solid var(--line); }
.strip__n { font-size: 13px; color: var(--red-2); align-self: flex-start; padding-top: 4px; }
.strip__t { font-size: 19px; font-weight: 600; }
.strip__d { font-size: 14px; color: var(--muted); }
.strip__go { margin-left: auto; color: var(--muted-2); transition: transform .3s var(--ease), color .3s; }
.strip__item:hover .strip__go { color: var(--red-2); transform: translateX(4px); }
.strip__item:hover .strip__t { color: #fff; }

/* ---------- sections ---------- */
.section { position: relative; padding: 130px 0; }
.section--tight { padding: 90px 0; }
.section--panel { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 56px; }
.section__head .lead { max-width: 520px; }

/* ---------- direction cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-3), var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s; filter: saturate(.85); }
.card:hover .card__media img { transform: scale(1.06); filter: saturate(1); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,18,20,0) 45%, rgba(17,18,20,.95)); }
.card__num { position: absolute; left: 24px; top: 22px; z-index: 1; font-size: 13px; letter-spacing: 1px; color: #fff; background: rgba(11,11,12,.6); padding: 6px 10px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.card__tag { position: absolute; right: 22px; top: 22px; z-index: 1; font-size: 12px; color: #fff; background: var(--red); padding: 6px 10px; }
.card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 0 28px 28px; margin-top: -34px; z-index: 1; }
.card__title { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.card__text { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.card__list { margin: 20px 0 24px; display: grid; gap: 10px; }
.card__list li { display: flex; gap: 12px; font-size: 15px; color: var(--soft); line-height: 1.45; }
.card__list li::before { content: ""; flex: none; width: 10px; height: 2px; margin-top: 10px; background: var(--red); }
.card__phone { margin-top: auto; padding: 16px 0; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__phone small { display: block; font-size: 12px; color: var(--muted-2); }
.card__phone a { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.card__phone a:hover { color: var(--red-2); }
.card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card__actions--one { grid-template-columns: 1fr; }
.card__actions .btn, .card__actions .ghost { height: 52px; padding: 0 18px; }

/* ---------- split (text + media) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__text .lead { margin-top: 22px; }
.split__text p + p { margin-top: 14px; }
.split__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.collage { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1.15 / 1; }
.collage figure { margin: 0; position: relative; overflow: hidden; background: var(--surface); }
.collage figure:first-child { grid-row: 1 / 3; }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.collage figure:hover img { transform: scale(1.05); }
.collage::before { content: ""; position: absolute; left: -22px; bottom: -22px; width: 46%; height: 46%; background: var(--red); clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); z-index: -1; opacity: .9; }

.single { position: relative; margin: 0; }
.single img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; }
.single::before { content: ""; position: absolute; left: -22px; bottom: -22px; width: 46%; height: 46%; background: var(--red); clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); z-index: -1; }
.xlink--plain { min-height: 200px; background: linear-gradient(135deg, var(--panel), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.xlink--plain::after { background: linear-gradient(115deg, transparent 60%, rgba(227,30,36,.14)); }
.xlink--plain:hover { box-shadow: inset 0 0 0 1px var(--red); transform: translateY(-4px); }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 34px; border-top: 1px solid var(--line-2); }
.feat { display: flex; gap: 16px; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line-2); }
.feat:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line-2); }
.feat__n { font-size: 13px; color: var(--red-2); padding-top: 3px; }
.feat__t { font-weight: 600; font-size: 16px; }
.feat__d { font-size: 14px; color: var(--muted); margin-top: 2px; }

.phone-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 30px; }
.phone-line small { display: block; font-size: 12px; color: var(--muted-2); letter-spacing: .5px; }
.phone-line a.big { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.phone-line a.big:hover { color: var(--red-2); }

/* ---------- showcase (wash / sto teaser on home) ---------- */
.showcase { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; background: var(--bg); }
.showcase__bg { position: absolute; inset: 0; }
.showcase__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.showcase.is-in .showcase__bg img { transform: scale(1); }
.showcase__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 18%, rgba(11,11,12,.82) 46%, rgba(11,11,12,.15) 100%), linear-gradient(180deg, rgba(11,11,12,.5) 0, rgba(11,11,12,0) 30%, rgba(11,11,12,0) 70%, rgba(11,11,12,.7) 100%); }
.showcase--rev .showcase__bg::after { background: linear-gradient(270deg, var(--bg) 18%, rgba(11,11,12,.82) 46%, rgba(11,11,12,.15) 100%), linear-gradient(180deg, rgba(11,11,12,.5) 0, rgba(11,11,12,0) 30%, rgba(11,11,12,0) 70%, rgba(11,11,12,.7) 100%); }
.showcase__body { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 110px; }
.showcase__copy { max-width: 560px; }
.showcase--rev .showcase__copy { margin-left: auto; }
.showcase__copy .lead { margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { font-size: 14px; padding: 9px 14px; color: var(--soft); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-3); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.about__media::after { content: ""; position: absolute; right: -18px; top: -18px; width: 120px; height: 120px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); }
.about__trio { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line-2); }
.about__trio div { padding: 22px 16px 0 0; }
.about__trio div + div { padding-left: 18px; border-left: 1px solid var(--line-2); }
.about__trio b { display: block; font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.about__trio b em { font-style: normal; color: var(--red-2); }
.about__trio span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- advantages ---------- */
.adv { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-2); box-shadow: 0 0 0 1px var(--line-2); }
.adv__item { position: relative; background: var(--bg); padding: 34px 26px 36px; overflow: hidden; transition: background-color .35s var(--ease); }
.adv__item::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.adv__item:hover { background: var(--panel); }
.adv__item:hover::before { transform: scaleX(1); }
.adv__icon { width: 54px; height: 54px; display: grid; place-items: center; color: var(--red-2); box-shadow: inset 0 0 0 1px var(--line-3); margin-bottom: 28px; transition: background-color .35s, color .35s; }
.adv__item:hover .adv__icon { background: var(--red); color: #fff; box-shadow: none; }
.adv__icon svg { width: 26px; height: 26px; }
.adv__t { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.adv__d { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- contacts ---------- */
.contacts { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.cbox { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); padding: 36px; }
.cbox__title { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.plist__row { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.plist__row:first-child { padding-top: 0; }
.plist__row:last-child { border-bottom: 0; padding-bottom: 0; }
.plist__dept { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.plist__dept i { width: 8px; height: 8px; background: var(--red); transform: skewX(-20deg); }
.plist__num { display: block; margin-top: 4px; font-size: 24px; font-weight: 600; letter-spacing: -.015em; }
.plist__num:hover { color: var(--red-2); }
.plist__btns { display: flex; gap: 8px; }
.plist__btns .ghost, .plist__btns .btn { height: 44px; padding: 0 16px; font-size: 14px; }
.msgr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.msgr a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; font-size: 15px; box-shadow: inset 0 0 0 1px var(--line-3); transition: background-color .25s, box-shadow .25s; }
.msgr a:hover { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--soft); }
.msgr a svg { width: 20px; height: 20px; }
.info-list { display: grid; gap: 22px; }
.info-list__row { display: flex; gap: 16px; }
.info-list__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; color: var(--red-2); box-shadow: inset 0 0 0 1px var(--line-3); }
.info-list__icon svg { width: 20px; height: 20px; }
.info-list small { display: block; font-size: 12px; color: var(--muted-2); letter-spacing: .5px; text-transform: uppercase; }
.info-list b { display: block; font-weight: 500; font-size: 17px; margin-top: 2px; }
.info-list a:hover { color: var(--red-2); }
.hours { display: grid; gap: 4px; margin-top: 4px; }
.hours div { display: grid; grid-template-columns: 64px auto; gap: 16px; font-size: 16px; }
.hours div span:first-child { color: var(--muted); }

/* map */
.map { position: relative; margin-top: 24px; height: 460px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.map__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 20px;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0/40px 40px, var(--panel); }
.map__pin { width: 54px; height: 54px; display: grid; place-items: center; background: var(--red); clip-path: polygon(50% 100%, 0 40%, 0 0, 100% 0, 100% 40%); }
.map__pin svg { width: 22px; height: 22px; margin-top: -8px; }
.map__bar { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 16px 18px 16px 22px; background: rgba(11,11,12,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line-2); }
.map__bar b { font-weight: 500; }
.map__bar .btn { height: 48px; }

/* ---------- главная: компактная версия ---------- */
.hero--home { min-height: 0; }
.hero--home .hero__body { padding-top: calc(var(--header-h) + 90px); padding-bottom: 110px; min-height: min(760px, 92svh); }
.section--home { padding-top: 90px; }
.qc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.qc__item { display: flex; gap: 16px; align-items: flex-start; padding: 6px 28px; }
.qc__item:first-child { padding-left: 0; }
.qc__item + .qc__item { border-left: 1px solid var(--line-2); }
.qc__item small, .quick__item small { display: block; font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .5px; }
.qc__item b { display: block; font-size: 19px; font-weight: 600; margin-top: 2px; line-height: 1.35; }
.qc__item b a:hover { color: var(--red-2); }
.qc__link { display: inline-block; margin-top: 8px; padding: 0; border: 0; background: none; cursor: pointer; font: 500 14px var(--font); color: var(--red-2); }
.qc__link:hover { color: #fff; }
.card__more { font-size: 14px; color: var(--muted); white-space: nowrap; }
.card__more:hover { color: #fff; }
.card__link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); }
.card__link:hover { color: #fff; text-decoration-color: var(--red); }
.phero--plain { min-height: 0; }
.phero--plain .phero__body { padding-bottom: 20px; }
.phero--plain + .section { padding-top: 50px; }
.about--solo { grid-template-columns: 1.2fr 1fr; }
.about__trio--side { grid-template-columns: 1fr; margin-top: 0; border-top: 0; }
.about__trio--side div, .about__trio--side div + div { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line-2); display: flex; align-items: baseline; gap: 22px; }
.about__trio--side span { margin-top: 0; font-size: 16px; }
.collage--two { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 1 / 1.1; }
.collage--two figure:first-child { grid-row: auto; }

/* ---------- отзывы (Яндекс) ---------- */
.yrev { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 64px; align-items: center; }
.yrev__widget { position: relative; height: 720px; background: #fff; box-shadow: 0 0 0 1px var(--line-2), var(--shadow); overflow: hidden; }
.yrev__widget::before { content: ""; position: absolute; left: 0; top: 0; width: 90px; height: 3px; background: var(--red); z-index: 2; }
.yrev__widget iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yrev__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 20px; background: var(--panel); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--red); }
.cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(0,0,0,.08) 0 2px, transparent 2px 22px); }
.cta::after { content: ""; position: absolute; right: -6%; top: 0; bottom: 0; width: 44%; background: rgba(0,0,0,.16); clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%); }
.cta__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 40px; padding-top: 64px; padding-bottom: 64px; }
.cta__t { font-size: clamp(28px, 3vw, 42px); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; }
.cta__t strong { font-weight: 700; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .ghost { --c: #fff; }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg); }
.footer__bg { position: absolute; right: -40px; bottom: -30px; width: 58%; max-width: 900px; opacity: .55; mix-blend-mode: lighten; pointer-events: none; }
.footer__fade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 30%, rgba(11,11,12,.6) 70%, rgba(11,11,12,.3)); pointer-events: none; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 40px; padding-top: 80px; padding-bottom: 60px; }
.footer__about { margin-top: 20px; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 320px; }
.footer__title { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.footer__list { display: grid; gap: 10px; font-size: 15px; }
.footer__list a { color: var(--soft); transition: color .2s; }
.footer__list a:hover { color: #fff; }
.footer__list small { display: block; font-size: 12px; color: var(--muted-2); }
.footer__bottom { position: relative; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 22px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }

/* ---------- modal (обратный звонок) ---------- */
.modal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); opacity: 0; transition: opacity .3s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__box { position: relative; width: 100%; max-width: 480px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px rgba(0,0,0,.6); padding: 40px 36px 34px; transform: translateY(20px); opacity: 0; transition: transform .35s var(--ease), opacity .35s; }
.modal.is-open .modal__box { transform: none; opacity: 1; }
.modal__box::before { content: ""; position: absolute; left: 0; top: 0; width: 90px; height: 3px; background: var(--red); }
.modal__close { position: absolute; right: 8px; top: 8px; }
.modal__title { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.modal__text { margin-top: 8px; color: var(--muted); font-size: 15px; }
.form { display: grid; gap: 14px; margin-top: 26px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select { width: 100%; height: 54px; padding: 0 16px; border: 0; border-radius: 0; background: var(--bg); color: #fff; font: 400 16px var(--font); box-shadow: inset 0 0 0 1px var(--line-3); transition: box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, #8A8F97 50%), linear-gradient(135deg, #8A8F97 50%, transparent 50%); background-position: calc(100% - 22px) 24px, calc(100% - 16px) 24px; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus { outline: 0; box-shadow: inset 0 0 0 1px var(--red-2); }
.check { display: flex; gap: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--red); }
.check a { color: var(--soft); text-decoration: underline; text-underline-offset: 2px; }
.form__status { font-size: 14px; line-height: 1.5; }
.form__status.is-ok { color: #4ADE80; }
.form__status.is-err { color: #FCA5A5; }
.form__status a { color: #fff; text-decoration: underline; }
.cb-alt { display: grid; gap: 10px; margin-top: 24px; }
.cb-alt .btn { justify-content: center; }
.cb-alt.is-hidden { display: none; }
.form__alt { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.form__alt a { color: #fff; font-weight: 600; }

/* ---------- inner pages ---------- */
.phero { position: relative; min-height: 680px; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.phero__bg { position: absolute; inset: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s var(--ease) forwards; transform: scale(1.08); }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.95) 0%, rgba(11,11,12,.75) 45%, rgba(11,11,12,.25) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(11,11,12,0) 45%); }
.phero__body { position: relative; z-index: 1; width: 100%; padding-top: calc(var(--header-h) + 90px); padding-bottom: 80px; }
.phero__copy { max-width: 700px; }
.phero__copy .lead { margin-top: 24px; color: var(--soft); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted-2); margin-bottom: 28px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { color: var(--line-3); }

.quick { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); }
.quick__item { display: flex; gap: 16px; align-items: flex-start; padding: 26px 28px; }
.quick__item + .quick__item { border-left: 1px solid var(--line-2); }
.quick__item small { display: block; font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .5px; }
.quick__item b { display: block; font-size: 18px; font-weight: 600; margin-top: 2px; }
.quick__item a:hover { color: var(--red-2); }
.quick__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--red); }
.quick__icon svg { width: 20px; height: 20px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { position: relative; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.service:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-3), var(--shadow); }
.service__media { aspect-ratio: 16 / 10; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.service:hover .service__media img { transform: scale(1.06); }
.service__body { padding: 26px 28px 30px; }
.service__n { font-size: 13px; color: var(--red-2); }
.service__t { margin-top: 8px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.service__d { margin-top: 10px; font-size: 15px; color: var(--muted); }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--surface); }
.gallery figure:first-child { grid-row: 1 / 3; }
.gallery figure:nth-child(4) { grid-column: 2 / 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery--3 { grid-template-columns: 2fr 1fr; }
.gallery--3 figure:nth-child(4) { grid-column: auto; }
.gallery figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 12px; font-size: 12px; color: var(--soft); background: rgba(11,11,12,.7); }

.soon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.soon__item { position: relative; padding: 30px 28px 32px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 10px, transparent 10px 20px), var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.soon__label { display: inline-block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); padding: 5px 9px; box-shadow: inset 0 0 0 1px var(--line-3); margin-bottom: 22px; }
.soon__t { font-size: 20px; font-weight: 600; }
.soon__d { margin-top: 8px; font-size: 15px; color: var(--muted); }
.soon__d a { color: #fff; font-weight: 600; }

.price { width: 100%; border-collapse: collapse; }
.price td { padding: 18px 0; border-bottom: 1px solid var(--line-2); font-size: 17px; }
.price td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 20px; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { padding: 28px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); }
.review p { color: var(--soft); }
.review b { display: block; margin-top: 18px; font-weight: 600; }

.xlinks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.xlink { position: relative; display: flex; align-items: flex-end; min-height: 280px; padding: 30px; overflow: hidden; background: var(--panel); }
.xlink img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; transition: transform .9s var(--ease), opacity .5s; }
.xlink::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,12,.95), rgba(11,11,12,.1)); }
.xlink:hover img { transform: scale(1.06); opacity: .6; }
.xlink__body { position: relative; z-index: 1; display: flex; width: 100%; align-items: flex-end; justify-content: space-between; gap: 20px; }
.xlink small { font-size: 13px; color: var(--red-2); }
.xlink b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.xlink .arrow { font-size: 26px; transition: transform .3s var(--ease); }
.xlink:hover .arrow { transform: translateX(6px); }

.notice { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; background: var(--panel); box-shadow: inset 3px 0 0 var(--red), inset 0 0 0 1px var(--line-2); font-size: 15px; color: var(--soft); }
.notice svg { flex: none; width: 22px; height: 22px; color: var(--red-2); margin-top: 1px; }

/* legal page */
.legal { max-width: 820px; }
.legal h2 { font-size: 22px; font-weight: 600; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--soft); }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }

/* ---------- reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1499px) {
  .header__phone span { display: none; }
}
@media (max-width: 1399px) {
  .logo__sub { display: none; }
}

@media (max-width: 1279px) {
  .nav { gap: 6px 18px; font-size: 14px; }
  .header__cb { display: none; }
  .logo__sub { display: none; }
  .header__phone span { display: none; }
  .adv { grid-template-columns: repeat(3, 1fr); }
  .adv__item:nth-child(4), .adv__item:nth-child(5) { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1099px) {
  :root { --gutter: 28px; --header-h: 68px; }
  .header__cb { display: none; }
  .header__call { display: none; }
  .nav { margin-left: 24px; gap: 6px 18px; }
  .header__inner { gap: 10px; }
  .header__actions { margin-left: auto; gap: 6px; margin-right: -10px; }
  .logo__sub { display: none; }

  .hero { min-height: 0; }
  .hero__band { position: relative; top: auto; width: 100%; height: 380px; min-height: 0; margin-top: var(--header-h); clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
  .hero__redline { display: none; }
  .hero__body { padding-top: 44px; padding-bottom: 54px; }
  .hero .vline, .hero .hline { display: none; }
  .strip__grid { grid-template-columns: 1fr; }
  .strip__item, .strip__item + .strip__item { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .strip__item:first-child { border-top: 0; }

  .cards { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .split, .about { grid-template-columns: 1fr; gap: 48px; }
  .split--rev .split__media { order: 0; }
  .contacts { grid-template-columns: 1fr; }
  .yrev { grid-template-columns: 1fr; gap: 36px; }
  .services { grid-template-columns: 1fr 1fr; }
  .soon, .reviews { grid-template-columns: 1fr; }
  .quick, .qc { grid-template-columns: 1fr; }
  .qc__item, .qc__item:first-child { padding: 18px 0; }
  .qc__item + .qc__item { border-left: 0; border-top: 1px solid var(--line-2); }
  .about--solo { grid-template-columns: 1fr; }
  .hero--home .hero__body { min-height: 0; padding-top: 40px; padding-bottom: 50px; }
  .quick__item + .quick__item { border-left: 0; border-top: 1px solid var(--line-2); }
  .showcase { min-height: 0; }
  .showcase__bg::after, .showcase--rev .showcase__bg::after { background: linear-gradient(0deg, var(--bg) 8%, rgba(11,11,12,.8) 55%, rgba(11,11,12,.35) 100%); }
  .showcase__body { padding-top: 220px; padding-bottom: 80px; }
  .showcase--rev .showcase__copy { margin-left: 0; }
}

@media (max-width: 899px) {
  :root { --header-h: 108px; }
  .header__inner { flex-wrap: wrap; row-gap: 0; min-height: 0; padding-top: 10px; }
  .nav { order: 3; flex: 0 0 calc(100% + var(--gutter) * 2); margin: 6px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); gap: 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-top: 1px solid var(--line); height: 46px; align-items: center; flex-wrap: nowrap; }
  .nav::-webkit-scrollbar { display: none; }
  .header__phone { display: none; }
  .header__call { display: inline-flex; }
  .nav a { padding: 12px 0; font-size: 14px; }
  .nav a::after { bottom: 4px; }
  .header { background: rgba(11, 11, 12, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
  .header::before { display: none; }
}

@media (max-width: 599px) {
  :root { --header-h: 146px; }
  .nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: auto; gap: 0; overflow: visible; padding: 4px var(--gutter) 6px; }
  .nav a { padding: 9px 4px; text-align: center; font-size: 14px; }
  .nav a::after { left: 30%; right: 70%; bottom: 3px; }
  .nav a:hover::after, .nav a.is-active::after { left: 30%; right: 30%; }
}

@media (max-width: 767px) {
  :root { --gutter: 18px; }
  body { font-size: 15px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .header { background: rgba(11, 11, 12, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
  .logo { font-size: 22px; }
  .logo__slash { height: 20px; }
  .section { padding: 84px 0; }
  .section--tight { padding: 64px 0; }
  .section__head { margin-bottom: 36px; }
  .lead { font-size: 16px; }
  .h3 { font-size: 21px; }

  .hero__band { height: 250px; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
  .hero__body { padding-top: 34px; padding-bottom: 40px; }
  .hero__copy .lead { font-size: 16px; margin-top: 18px; }
  .hero__cta { margin-top: 28px; }
  .hero__cta .btn, .hero__cta .ghost { flex: 1 1 100%; justify-content: center; }
  .hero__badge { margin-bottom: 20px; }

  .card__body { padding: 0 20px 22px; }
  .card__title { font-size: 26px; }
  .collage { aspect-ratio: auto; grid-template-rows: 180px 180px; }
  .collage::before, .single::before { display: none; }
  .feats { grid-template-columns: 1fr; }
  .feat:nth-child(2n) { padding-left: 0; border-left: 0; }
  .split__actions .btn, .split__actions .ghost, .showcase .split__actions .btn, .showcase .split__actions .ghost { flex: 1 1 100%; justify-content: space-between; }
  .phone-line a.big { font-size: 22px; }
  .about__trio b { font-size: 30px; }
  .about__media::after { right: -8px; top: -8px; width: 70px; height: 70px; }
  .adv { grid-template-columns: 1fr; }
  .adv__item { padding: 26px 20px; display: grid; grid-template-columns: 54px 1fr; gap: 0 18px; }
  .adv__icon { margin-bottom: 0; grid-row: 1 / 3; }
  .cbox { padding: 26px 20px; }
  .plist__row { grid-template-columns: 1fr auto; padding: 16px 0; }
  .plist__btns .btn { width: 48px; height: 48px; padding: 0; }
  .plist__btns .btn span { display: none; }
  .plist__num { font-size: 21px; }
  .msgr { grid-template-columns: 1fr; }
  .yrev__widget { height: 560px; }
  .map { height: auto; display: flex; flex-direction: column; }
  .map iframe, .map__ph { position: relative; inset: auto; height: 320px; flex: none; }
  .map__bar { position: static; order: 2; box-shadow: none; border-top: 1px solid var(--line-2); padding: 16px 18px; }
  .map__bar .btn { width: 100%; justify-content: space-between; }
  .cta__inner { padding-top: 48px; padding-bottom: 48px; }
  .cta__actions { width: 100%; }
  .cta__actions > * { flex: 1 1 100%; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-top: 56px; padding-bottom: 40px; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer__grid > div:nth-child(3) { display: none; }
  .footer__bg { width: 130%; right: -30%; opacity: .35; }

  .phero { min-height: 560px; }
  .phero.phero--plain { min-height: 0; }
  .phero--plain .phero__body { padding-top: calc(var(--header-h) + 36px); }
  .phero__body { padding-bottom: 48px; }
  .services { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; }
  .gallery figure:first-child { grid-column: 1 / 3; grid-row: auto; }
  .gallery figure:nth-child(4) { grid-column: auto; }
  .gallery--3 { grid-template-rows: 220px 160px; }
  .xlinks { grid-template-columns: 1fr; }
  .xlink { min-height: 200px; padding: 22px; }
  .xlink b { font-size: 24px; }
  .modal__box { padding: 34px 20px 24px; }

  .callbar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(11,11,12,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-2);
    transform: translateY(0); transition: transform .3s var(--ease);
  }
  .callbar .btn, .callbar .ghost { height: 52px; padding: 0 14px; font-size: 15px; }
  .callbar .btn { animation: pulse 2.6s infinite; }
}

@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(227,30,36,.5); } 60% { box-shadow: 0 0 0 10px rgba(227,30,36,0); } }

@media (max-width: 359px) {
  .callbar { grid-template-columns: 1fr; }
  .callbar .ghost { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
