/* ===== SENSOR Авто Сервіс — стилі ===== */
:root {
  --bg: #07080c;
  --bg-2: #0c0e14;
  --surface: rgba(18, 20, 28, .72);
  --surface-solid: #12141c;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f3f3f5;
  --muted: #a3a6b1;
  --dim: #6d7080;
  --brand: #ed3904;
  --brand-2: #ff5a1f;
  --brand-glow: rgba(237, 57, 4, .45);
  --ok: #2fd47a;
  --star: #ffb21e;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1220px;
  --font-head: "Unbounded", system-ui, sans-serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 999; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

/* ===== 3D фон ===== */
#bg3d { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.bg-fallback {
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(900px 600px at 80% 10%, rgba(237, 57, 4, .18), transparent 60%),
    radial-gradient(700px 500px at 0% 90%, rgba(237, 57, 4, .10), transparent 60%),
    var(--bg);
}
.bg-vignette { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(7, 8, 12, .75) 100%); }

/* ===== Каркас ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
section { position: relative; padding: 64px 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--brand); transform: rotate(45deg); box-shadow: 0 0 14px var(--brand-glow); }
.h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 700; }
.h2 em { font-style: normal; color: var(--brand); }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }
.glass {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

/* ===== Кнопки ===== */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 30px -8px var(--brand-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px var(--brand-glow); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--brand); background: rgba(237, 57, 4, .08); }
.btn-viber { background: #7360f2; color: #fff; }
.btn-viber:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px #7360f2; }
.btn-tg { background: #229ed9; color: #fff; }
.btn-tg:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px #229ed9; }
.btn-sm { --h: 42px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn-block { width: 100%; }

/* ===== Шапка ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, border-color .3s, transform .35s;
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(7, 8, 12, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 44px; height: 44px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--font-head); font-size: 20px; letter-spacing: .04em; }
.logo-text span { font-size: 10.5px; font-weight: 700; letter-spacing: .26em; color: var(--brand-2); margin-top: 5px; }
.nav { display: flex; gap: 4px; }
.nav a { white-space: nowrap; padding: 8px 13px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover, .nav a.active { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-ic, .nav-arrow, .nav-extra { display: none; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.header-phone a { font-weight: 800; font-size: 16px; }
.header-phone small { white-space: nowrap; color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.status-dot.open { background: var(--ok); box-shadow: 0 0 0 0 rgba(47, 212, 122, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(47, 212, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 212, 122, 0); } }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 130px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.badge .stars { color: var(--star); letter-spacing: 1px; }
.badge svg { width: 16px; height: 16px; color: var(--brand-2); }
.hero h1 { font-size: clamp(30px, 4.4vw, 58px); font-weight: 800; margin-bottom: 24px; }
.hero h1 .accent { color: transparent; background: linear-gradient(90deg, var(--brand), var(--brand-2) 60%, #ffb08a); -webkit-background-clip: text; background-clip: text; }
.hero h1 small { display: block; font-family: var(--font); font-size: clamp(17px, 1.7vw, 22px); font-weight: 600; color: var(--muted); margin-top: 16px; letter-spacing: 0; line-height: 1.35; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 40px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 600px; }
.stat { padding: 18px; }
.stat b { display: block; font-family: var(--font-head); font-size: 26px; color: var(--text); }
.stat b span { color: var(--brand); }
.stat small { color: var(--muted); font-size: 13px; line-height: 1.35; display: block; margin-top: 4px; }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 651 / 755;
  border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 80px -30px var(--brand-glow);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s;
}
.hero-photo:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,8,12,.85)); }
.hero-photo-cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.hero-photo-cap b { font-family: var(--font-head); font-size: 17px; display: block; }
.hero-photo-cap span { color: var(--muted); font-size: 13px; }
.float-card { position: absolute; padding: 14px 18px; display: flex; align-items: center; gap: 12px; animation: float 6s ease-in-out infinite; z-index: 3; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); flex: none; }
.float-card .ic svg { width: 22px; height: 22px; color: #fff; }
.float-card b { display: block; font-size: 15px; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.float-card.fc-1 { top: 8%; left: -50px; }
.float-card.fc-2 { bottom: 18%; right: -34px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-12px); } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--brand); animation: scrollHint 1.8s infinite; }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===== Бігуча стрічка ===== */
.marquee { padding: 26px 0; border-block: 1px solid var(--line); background: rgba(7, 8, 12, .6); overflow: hidden; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--dim); display: flex; align-items: center; gap: 56px; white-space: nowrap; transition: color .2s; }
.marquee-track span:hover { color: var(--text); }
.marquee-track span::after { content: ""; width: 8px; height: 8px; background: var(--brand); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Послуги ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { position: relative; padding: 28px 24px 24px; overflow: hidden; transition: transform .35s, border-color .35s; display: flex; flex-direction: column; }
.service-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(237, 57, 4, .16), transparent 60%); opacity: 0; transition: opacity .35s; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(237, 57, 4, .5); }
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; }
.service-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(237, 57, 4, .12); border: 1px solid rgba(237, 57, 4, .3); }
.service-ic svg { width: 28px; height: 28px; color: var(--brand-2); }
.service-card h3 { font-size: 17px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.service-price { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--muted); }
.service-price b { color: var(--text); font-size: 16px; }

/* ===== Інтерактивна машина ===== */
.car-tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.car-tab { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; font-weight: 700; color: var(--muted); transition: background .25s, color .25s; }
.car-tab svg { width: 18px; height: 18px; }
.car-tab[aria-selected="true"] { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.car-tab:not([aria-selected="true"]):hover { color: var(--text); background: rgba(255,255,255,.05); }
.car-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; align-items: start; }
.car-stage { position: relative; padding: 26px; min-height: 420px; overflow: hidden; }
.car-stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); opacity: .5; }
.car-hint { position: relative; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; margin-bottom: 10px; }
.car-hint svg { width: 18px; height: 18px; color: var(--brand-2); }
.car-view { position: relative; display: none; }
.car-view.active { display: block; animation: viewIn .5s ease; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.car-svg { width: 100%; height: auto; overflow: visible; transition: transform .35s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; filter: drop-shadow(0 18px 30px rgba(0,0,0,.55)); }
.car-svg .base { stroke: rgba(0,0,0,.6); stroke-width: 1; }
.car-svg .deco { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1.5; pointer-events: none; }
.car-svg .zone { stroke: rgba(0,0,0,.55); stroke-width: 1; cursor: pointer; transition: fill .25s, stroke .25s, filter .25s; }
.car-svg .zone:hover, .car-svg .zone.hl { fill: rgba(237, 57, 4, .62); stroke: #ff7a45; stroke-width: 2; filter: url(#glow); }
.car-svg .zone.selected { fill: rgba(237, 57, 4, .82); stroke: #fff; stroke-width: 2; filter: url(#glow); }
.car-svg .zone.selected:hover { fill: rgba(255, 110, 60, .9); }
.car-svg .zone-label { font: 600 11px var(--font); fill: rgba(255,255,255,.5); pointer-events: none; text-anchor: middle; }
.car-svg .pulse { fill: var(--brand); pointer-events: none; }
.car-svg .pulse-ring { fill: none; stroke: var(--brand-2); stroke-width: 2; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: pulseRing 2.2s infinite; }
@keyframes pulseRing { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.car-tooltip {
  position: fixed; z-index: 200; pointer-events: none; padding: 10px 14px; border-radius: 12px;
  background: rgba(10, 11, 16, .95); border: 1px solid rgba(237, 57, 4, .6); box-shadow: 0 10px 30px rgba(0,0,0,.5);
  opacity: 0; transform: translate(-50%, calc(-100% - 18px)) scale(.95); transition: opacity .15s, transform .15s; max-width: 260px;
}
.car-tooltip.show { opacity: 1; transform: translate(-50%, calc(-100% - 18px)) scale(1); }
.car-tooltip b { display: block; font-size: 14px; }
.car-tooltip span { color: var(--brand-2); font-weight: 800; font-size: 15px; }
.car-tooltip small { display: block; color: var(--muted); font-size: 11.5px; }

.part-panel { padding: 26px; position: sticky; top: 100px; }
.part-empty { text-align: center; padding: 30px 6px; color: var(--muted); }
.part-empty svg { width: 64px; height: 64px; margin: 0 auto 16px; color: var(--brand); opacity: .8; }
.part-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.part-head h3 { font-size: 20px; margin: 0; }
.part-close { border: 1px solid var(--line-2); background: transparent; width: 32px; height: 32px; border-radius: 9px; cursor: pointer; flex: none; color: var(--muted); }
.part-close:hover { color: #fff; border-color: var(--brand); }
.part-desc { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.part-from { display: inline-flex; align-items: baseline; gap: 8px; margin-bottom: 16px; padding: 8px 14px; border-radius: 10px; background: rgba(237,57,4,.12); border: 1px solid rgba(237,57,4,.35); }
.part-from b { font-family: var(--font-head); font-size: 22px; color: var(--brand-2); }
.part-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.part-list li:last-child { border-bottom: 0; }
.part-list .nm { flex: 1; }
.part-list .pr { font-weight: 800; white-space: nowrap; }
.add-btn { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; flex: none; display: grid; place-items: center; transition: all .2s; color: var(--text); font-size: 18px; line-height: 1; }
.add-btn:hover { border-color: var(--brand); color: var(--brand-2); }
.add-btn.added { background: var(--brand); border-color: var(--brand); color: #fff; }
.part-note { font-size: 12.5px; color: var(--dim); margin-top: 14px; }

.estimate { margin-top: 22px; padding: 22px 26px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.estimate h3 { font-size: 17px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.estimate-count { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 13px; display: inline-grid; place-items: center; font-family: var(--font); }
.estimate-items { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: 13px; }
.chip button { border: 0; background: rgba(255,255,255,.08); width: 20px; height: 20px; border-radius: 50%; cursor: pointer; color: var(--muted); line-height: 1; padding: 0; }
.chip button:hover { background: var(--brand); color: #fff; }
.estimate-total { text-align: right; }
.estimate-total small { color: var(--muted); display: block; font-size: 13px; }
.estimate-total b { font-family: var(--font-head); font-size: 30px; color: var(--brand-2); display: block; margin: 2px 0 10px; }
.estimate-empty { color: var(--dim); font-size: 14px; }

/* ===== Цінова політика ===== */
.policy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 60px; }
.policy-item { padding: 26px 22px; }
.policy-item .num { font-family: var(--font-head); font-size: 14px; color: var(--brand); margin-bottom: 14px; display: block; }
.policy-item h3 { font-size: 16.5px; }
.policy-item p { color: var(--muted); font-size: 14.5px; margin: 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; align-items: stretch; }
.plan { padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: rgba(237, 57, 4, .65); box-shadow: 0 0 0 1px rgba(237,57,4,.3), 0 30px 80px -30px var(--brand-glow); background: linear-gradient(180deg, rgba(237,57,4,.12), var(--surface) 45%); }
.plan-tag { position: absolute; top: -13px; left: 28px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plan h3 { font-size: 19px; margin-bottom: 6px; }
.plan .plan-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.plan .price { font-family: var(--font-head); font-size: 38px; font-weight: 700; margin-bottom: 22px; }
.plan .price small { font-size: 15px; color: var(--muted); font-family: var(--font); font-weight: 600; }
.plan ul { margin-bottom: 26px; flex: 1; }
.plan li { display: flex; gap: 10px; padding: 7px 0; font-size: 14.5px; color: #d8d9de; }
.plan li svg { width: 18px; height: 18px; color: var(--brand-2); flex: none; margin-top: 3px; }

.pricelist { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.pricelist details { padding: 0; overflow: hidden; }
.pricelist summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-size: 16px; font-weight: 600; }
.pricelist summary::-webkit-details-marker { display: none; }
.pricelist summary .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(237,57,4,.12); flex: none; }
.pricelist summary .ic svg { width: 22px; height: 22px; color: var(--brand-2); }
.pricelist summary::after { content: "+"; margin-left: auto; font-size: 24px; color: var(--brand-2); transition: transform .3s; font-family: var(--font); }
.pricelist details[open] summary::after { transform: rotate(45deg); }
.pricelist details.closing summary::after { transform: none; }
.pricelist table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pricelist td { padding: 11px 24px; border-top: 1px solid var(--line); }
.pricelist td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.pricelist tr:hover td { background: rgba(255,255,255,.025); }
.price-note { margin-top: 22px; color: var(--dim); font-size: 13.5px; text-align: center; }

/* ===== Про нас ===== */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media picture img { border-radius: 26px; border: 1px solid var(--line-2); width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.about-media .logo-badge { position: absolute; right: -24px; bottom: -24px; width: 190px; height: auto; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.about-text p { color: #c9cbd2; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.about-features li { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 14.5px; }
.about-features svg { width: 22px; height: 22px; color: var(--brand-2); flex: none; }
.about-features b { display: block; }
.about-features span { color: var(--muted); font-size: 13.5px; }

/* ===== Процес ===== */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 26px 20px; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-size: 40px; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(237, 57, 4, .7); display: block; margin-bottom: 12px; }
.step h3 { font-size: 15.5px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* ===== Галерея ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; background: var(--surface-solid); }
.gallery figure.big { grid-column: span 2; grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: 14px; font-weight: 600; }
.gallery figcaption span { display: block; color: var(--brand-2); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.gallery .g-cta { cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 26px; background: linear-gradient(135deg, rgba(237,57,4,.25), rgba(237,57,4,.05)); }
.gallery .g-cta b { font-family: var(--font-head); font-size: 20px; margin-bottom: 8px; }
.gallery .g-cta span { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.gallery .g-tile { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; cursor: default; background:
  radial-gradient(300px 200px at 100% 0%, rgba(237,57,4,.25), transparent 70%), var(--surface-solid); }
.gallery .g-tile svg { width: 40px; height: 40px; color: var(--brand-2); margin-bottom: auto; }
.gallery .g-tile b { font-family: var(--font-head); font-size: 28px; }
.gallery .g-tile span { color: var(--muted); font-size: 14px; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; animation: viewIn .3s; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 16px; }
.lightbox button { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.06); cursor: pointer; font-size: 24px; }

/* ===== Відгуки ===== */
.reviews-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.rating-box { display: flex; align-items: center; gap: 20px; padding: 20px 26px; }
.rating-box .big { font-family: var(--font-head); font-size: 52px; font-weight: 800; line-height: 1; }
.rating-box .stars { color: var(--star); font-size: 20px; letter-spacing: 2px; }
.rating-box small { color: var(--muted); display: block; }
.reviews-slider { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--brand) transparent; }
.reviews-slider::-webkit-scrollbar { height: 6px; }
.reviews-slider::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 6px; }
.review { flex: 0 0 min(380px, 85vw); scroll-snap-align: start; padding: 26px; display: flex; flex-direction: column; margin: 0; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; flex: none; }
.review-head b { display: block; font-size: 15px; }
.review-head small { color: var(--muted); font-size: 12.5px; }
.review .stars { color: var(--star); letter-spacing: 2px; margin-bottom: 10px; }
.review blockquote { margin: 0; color: #d4d6dc; font-size: 15px; flex: 1; }
.review .g { display: flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--dim); font-size: 12.5px; }
.slider-nav { display: flex; gap: 10px; }
.slider-nav button { width: 50px; height: 50px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; font-size: 20px; transition: all .2s; }
.slider-nav button:hover { border-color: var(--brand); background: rgba(237,57,4,.1); }

/* ===== FAQ ===== */
.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { padding: 0; }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 26px; font-weight: 700; font-size: 16.5px; display: flex; gap: 16px; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid var(--brand-2); border-bottom: 2px solid var(--brand-2); transform: rotate(45deg); margin-left: auto; transition: transform .3s; flex: none; }
.faq-list details[open] summary::after { transform: rotate(-135deg); }
.faq-list details.closing summary::after { transform: rotate(45deg); }
.faq-list details[open]:not(.closing) { border-color: rgba(237, 57, 4, .45); }
.faq-list details { transition: border-color .3s; }
.faq-list details > div { padding: 0 26px 22px; color: var(--muted); }

/* ===== Запис / Контакти ===== */
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.booking-form { padding: 34px; display: flex; flex-direction: column; }
.booking-form .map-wrap { flex: 1; height: auto; min-height: 280px; margin-top: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.35);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.field select option { background: var(--surface-solid); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(237,57,4,.15); }
.field input.invalid { border-color: #ff4d4d; }
.send-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 6px; }
.form-note { color: var(--dim); font-size: 12.5px; margin: 14px 0 0; }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%) translateY(20px); background: #12141c; border: 1px solid var(--brand); border-radius: 14px; padding: 14px 20px; z-index: 400; opacity: 0; pointer-events: none; transition: all .3s; max-width: calc(100% - 32px); font-weight: 600; font-size: 14.5px; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.contacts-card { padding: 34px; display: flex; flex-direction: column; }
.contact-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border: 0; }
.contact-list .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(237,57,4,.12); flex: none; }
.contact-list .ic svg { width: 22px; height: 22px; color: var(--brand-2); }
.contact-list small { color: var(--muted); display: block; font-size: 13px; }
.contact-list b, .contact-list a { font-size: 16px; font-weight: 700; }
.contact-list a:hover { color: var(--brand-2); }
.messengers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.map-wrap { margin-top: 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); position: relative; height: 420px; background: var(--surface-solid); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }
.map-load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 20px;
  background: radial-gradient(circle at center, rgba(237,57,4,.18), transparent 60%), repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 2px, transparent 2px 22px); }
.map-load svg { width: 46px; height: 46px; color: var(--brand); }

/* ===== Модальне вікно ===== */
.modal { position: fixed; inset: 0; z-index: 350; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 4, 7, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.modal-dialog { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 34px; background: rgba(14, 16, 22, .96);
  border-color: rgba(237, 57, 4, .4); box-shadow: 0 40px 100px -20px rgba(0,0,0,.8), 0 0 80px -30px var(--brand-glow);
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .25s, transform .25s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal.open .modal-dialog { opacity: 1; transform: none; }
.modal-title { font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; padding-right: 48px; }
.modal-sub { color: var(--muted); margin-bottom: 22px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; font-size: 24px; line-height: 1; color: var(--muted); transition: all .2s; }
.modal-close:hover { color: #fff; border-color: var(--brand); background: rgba(237,57,4,.12); }
@media (max-width: 720px) { .modal-dialog { padding: 24px 18px; } }

/* ===== Футер ===== */
.footer { padding: 70px 0 30px; border-top: 1px solid var(--line); background: rgba(5, 6, 9, .85); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { font-size: 15px; margin-bottom: 16px; }
.footer li { margin-bottom: 9px; }
.footer li a, .footer p { color: var(--muted); font-size: 14.5px; }
.footer li a:hover { color: var(--brand-2); }
.seo-text { color: var(--dim); font-size: 13.5px; padding: 26px 0; border-top: 1px solid var(--line); }
.seo-text h2 { font-size: 16px; color: var(--muted); }
.seo-text p { margin-bottom: .7em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* ===== Плаваючі елементи ===== */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 150; }
.fab-main { width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 30px var(--brand-glow); display: grid; place-items: center; position: relative; }
.fab-main::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: fabRing 2.4s infinite; }
@keyframes fabRing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.fab-main svg { width: 28px; height: 28px; color: #fff; transition: transform .3s; }
.fab.open .fab-main svg { transform: rotate(135deg); }
.fab-items { position: absolute; right: 4px; bottom: 76px; display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s; }
.fab.open .fab-items { opacity: 1; pointer-events: auto; transform: none; }
.fab-items a { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.fab-items a span { background: #12141c; border: 1px solid var(--line-2); padding: 6px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.fab-items a i { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.fab-items a i svg { width: 24px; height: 24px; color: #fff; }
.to-top { position: fixed; right: 30px; bottom: 100px; z-index: 140; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(12,14,20,.85); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; font-size: 18px; }
.to-top.show { opacity: 1; pointer-events: auto; }
.mobile-bar { display: none; }

/* ===== Анімації появи ===== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ===== Hero: авто-банер ===== */
.hero-car { position: relative; aspect-ratio: 1 / .82; display: flex; align-items: center; justify-content: center; perspective: 1200px; }
.hc-stage { position: relative; width: 112%; margin-right: -12%; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.7,.2,1); z-index: 2; }
.hc-car { position: relative; animation: carIn 1.4s cubic-bezier(.16,.84,.3,1) both, carFloat 6s ease-in-out 1.4s infinite; filter: drop-shadow(0 30px 40px rgba(0,0,0,.65)) drop-shadow(0 0 40px rgba(237,57,4,.25)) saturate(1.08) contrast(1.04); }
.hc-car img { width: 100%; height: auto; }
@keyframes carIn { from { opacity: 0; transform: translateX(28%) scale(.86); filter: blur(10px) brightness(.4); } 60% { filter: blur(0) brightness(1.15); } to { opacity: 1; transform: none; } }
@keyframes carFloat { 50% { transform: translateY(-8px); } }
.hc-shine { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 47%, rgba(255,210,180,.25) 52%, transparent 62%) no-repeat;
  background-size: 250% 100%; animation: shine 5.5s ease-in-out 1.6s infinite;
  -webkit-mask: url(../img/hero-car.webp) center / 100% 100% no-repeat; mask: url(../img/hero-car.webp) center / 100% 100% no-repeat; }
@keyframes shine { 0% { background-position: 130% 0; } 45%, 100% { background-position: -40% 0; } }
.hc-light { position: absolute; width: 22%; aspect-ratio: 2.2 / 1; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.95) 0%, rgba(190,225,255,.55) 22%, rgba(120,180,255,.18) 45%, transparent 70%);
  animation: lights 4s ease-in-out 1.3s infinite; opacity: 0; }
.hc-light-l { left: 13%; top: 50%; }
.hc-light-r { left: 80%; top: 50.5%; animation-delay: 1.45s; }
@keyframes lights { 0%, 100% { opacity: .35; } 8% { opacity: 1; } 12% { opacity: .5; } 16% { opacity: 1; } 50% { opacity: .75; } }
.hero-car:hover .hc-light { animation-duration: 1.2s; }
.hc-reflect { position: absolute; left: 0; right: 0; top: 100%; transform: scaleY(-1); opacity: .22; pointer-events: none; margin-top: -6%;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 45%); mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 45%); filter: blur(2px) saturate(1.3); }
.hc-reflect img { width: 100%; height: auto; }
.hc-glow { position: absolute; inset: 8% 0 10%; background: radial-gradient(closest-side, rgba(237,57,4,.55), rgba(237,57,4,.15) 55%, transparent); filter: blur(30px); animation: glowPulse 4s ease-in-out infinite; }
@keyframes glowPulse { 50% { opacity: .65; transform: scale(1.06); } }
.hc-floor { position: absolute; left: 4%; right: -6%; bottom: 7%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,90,31,.6), rgba(237,57,4,.15) 60%, transparent); filter: blur(10px); z-index: 1; }
.hc-ring { position: absolute; width: 74%; aspect-ratio: 1; border: 2px solid rgba(237,57,4,.55); transform: rotate(45deg); box-shadow: 0 0 40px rgba(237,57,4,.25), inset 0 0 40px rgba(237,57,4,.15); animation: ringSpin 18s linear infinite; }
.hc-ring-2 { width: 54%; border-color: rgba(255,255,255,.12); animation-duration: 26s; animation-direction: reverse; }
@keyframes ringSpin { from { transform: rotate(45deg); } to { transform: rotate(405deg); } }
.hc-lines { position: absolute; left: -30%; right: -10%; top: 46%; display: grid; gap: 14px; z-index: 0; }
.hc-lines span { height: 3px; background: linear-gradient(90deg, transparent, var(--brand) 40%, var(--brand-2) 60%, transparent); opacity: .7; animation: lineRun 2.6s linear infinite; transform-origin: left; }
.hc-lines span:nth-child(2) { animation-delay: -.9s; opacity: .45; }
.hc-lines span:nth-child(3) { animation-delay: -1.7s; }
@keyframes lineRun { 0% { transform: translateX(40%) scaleX(.2); opacity: 0; } 30% { opacity: .8; } 100% { transform: translateX(-40%) scaleX(1); opacity: 0; } }
.hc-sparks i { position: absolute; bottom: 14%; width: 4px; height: 4px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 10px var(--brand-2); animation: spark 3.5s linear infinite; opacity: 0; z-index: 3; }
.hc-sparks i:nth-child(1) { left: 12%; } .hc-sparks i:nth-child(2) { left: 26%; animation-delay: .6s; } .hc-sparks i:nth-child(3) { left: 40%; animation-delay: 1.4s; } .hc-sparks i:nth-child(4) { left: 55%; animation-delay: .3s; }
.hc-sparks i:nth-child(5) { left: 68%; animation-delay: 2s; } .hc-sparks i:nth-child(6) { left: 82%; animation-delay: 1s; } .hc-sparks i:nth-child(7) { left: 92%; animation-delay: 2.6s; } .hc-sparks i:nth-child(8) { left: 33%; animation-delay: 2.9s; }
@keyframes spark { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-260px) translateX(30px); opacity: 0; } }
.hero-car .float-card.fc-1 { top: 4%; left: -4%; }
.hero-car .float-card.fc-2 { bottom: 6%; right: -2%; }

/* ===== Проблеми ===== */
.problems-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.problem { overflow: hidden; display: flex; flex-direction: column; transition: transform .35s, border-color .35s, box-shadow .35s; }
.problem:hover { transform: translateY(-6px); border-color: rgba(237,57,4,.55); box-shadow: 0 30px 60px -30px var(--brand-glow); }
.problem-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.problem-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.problem:hover .problem-media img { transform: scale(1.07); }
.problem-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,11,16,.9)); }
.problem-tag { position: absolute; left: 16px; top: 16px; z-index: 1; padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.problem-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.problem-body h3 { font-size: 18px; }
.problem-body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.problem-body p b { color: var(--text); }
.problem-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.problem-price { font-weight: 800; font-size: 16px; color: var(--brand-2); }

/* ===== Галерея (нова) ===== */
.g-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.g-filter { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; font-weight: 700; font-size: 14px; color: var(--muted); transition: all .25s; }
.g-filter:hover { color: var(--text); border-color: var(--brand); }
.g-filter.active { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; color: #fff; }
.gallery { grid-auto-flow: dense; grid-auto-rows: 230px; }
.gallery .g-item.tall { grid-row: span 2; }
.gallery .g-cta { grid-column: span 2; }
.gallery .g-item.big { grid-column: span 2; grid-row: span 2; }
.gallery .g-item { transition: opacity .4s, transform .4s; }
.gallery .g-item.hide { display: none; }
.gallery .g-item picture { display: block; width: 100%; height: 100%; }
.gallery .g-item::after { content: "⤢"; position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); opacity: 0; transform: scale(.8); transition: all .3s; font-size: 18px; }
.gallery .g-item:hover::after, .gallery .g-item:focus-visible::after { opacity: 1; transform: none; }
.gallery .g-item.reveal-g { animation: gIn .5s ease both; }
@keyframes gIn { from { opacity: 0; transform: scale(.94); } }

.lightbox { flex-direction: column; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(1100px, 100%); }
.lb-fig img { max-height: 80vh; max-width: 100%; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-fig figcaption { display: flex; gap: 16px; align-items: center; color: var(--muted); font-size: 15px; text-align: center; }
.lb-count { color: var(--brand-2); font-weight: 800; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); right: auto; width: 56px; height: 56px; font-size: 34px; line-height: 1; }
.lightbox .lb-prev { left: 20px; }
.lightbox .lb-next { right: 20px; left: auto; }
.lightbox button:hover { border-color: var(--brand); background: rgba(237,57,4,.2); }

/* ===== Фото фасаду в контактах ===== */
.contact-photo { margin: 6px 0 10px; border-radius: 16px; overflow: hidden; position: relative; border: 1px solid var(--line); }
.contact-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 45%; }
.contact-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: 13.5px; }

@media (max-width: 1000px) {
  section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .problems-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-car { max-width: 620px; }
  .hc-stage { width: 100%; margin-right: 0; }
}
@media (max-width: 720px) {
  .problems-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-auto-rows: 160px; }
  .gallery .g-item.wide, .gallery .g-cta { grid-column: span 2; }
  .lightbox .lb-nav { top: auto; bottom: 20px; transform: none; }
  .hc-lines { left: -10%; right: -10%; }
}
@media (prefers-reduced-motion: reduce) { .hc-car { animation: none; } }

/* ===== Адаптив ===== */
@media (max-width: 1180px) {
  .nav a { padding: 8px 9px; font-size: 14px; }
  .header-phone { display: none; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .float-card.fc-1 { left: -10px; } .float-card.fc-2 { right: -10px; }
}
@media (max-width: 1000px) {
  .nav { position: fixed; top: 78px; left: 0; right: 0; bottom: 0; flex-direction: column; gap: 6px; padding: 18px 16px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto;
    background: radial-gradient(600px 400px at 100% 0%, rgba(237,57,4,.16), transparent 60%), rgba(7,8,12,.98);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .35s, visibility .35s; z-index: -1; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .nav a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; font-size: 17px; font-weight: 700; color: var(--text); border-radius: 16px;
    background: rgba(255,255,255,.03); border: 1px solid var(--line); opacity: 0; transform: translateX(-18px); transition: opacity .35s, transform .35s, background .2s, border-color .2s; }
  .menu-open .nav a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms + 80ms); }
  .nav a:active, .nav a.active { background: rgba(237,57,4,.1); border-color: rgba(237,57,4,.45); }
  .nav-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 13px; background: linear-gradient(135deg, rgba(237,57,4,.22), rgba(237,57,4,.06)); border: 1px solid rgba(237,57,4,.35); transition: transform .4s; }
  .nav-ic svg { width: 21px; height: 21px; color: var(--brand-2); }
  .nav a:active .nav-ic, .nav a.active .nav-ic { transform: rotate(-12deg) scale(1.06); background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
  .nav a.active .nav-ic svg, .nav a:active .nav-ic svg { color: #fff; }
  .nav a span { flex: 1; }
  .nav-arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--brand-2); background: rgba(255,255,255,.04); transition: transform .25s; }
  .nav a:active .nav-arrow { transform: translateX(4px); }
  .nav-extra { display: block; margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity .4s .4s, transform .4s .4s; }
  .menu-open .nav-extra { opacity: 1; transform: none; }
  .nav-extra .btn, .nav-extra .btn:hover { opacity: 1; transform: none; }
  .nav-msg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .nav-extra .nav-msg a, .nav-extra > a { display: inline-flex; padding: 0 16px; border: 0; justify-content: center; font-size: 15px; }
  .nav-extra .btn-viber { background: #7360f2; } .nav-extra .btn-tg { background: #229ed9; }
  .nav-extra .btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
  .nav-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; color: var(--muted); font-size: 13.5px; }
  .burger { display: block; }
  .hero-grid, .about-grid, .booking-grid, .car-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .policy-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .pricelist { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .part-panel { position: static; }
  .about-media { max-width: 520px; }
}
@media (max-width: 720px) {
  section { padding: 44px 0; }
  .section-head { margin-bottom: 28px; }
  .eyebrow { margin-bottom: 10px; font-size: 12px; }
  .hero { padding-bottom: 40px; }
  .policy-grid, .plans { margin-bottom: 36px; }
  .reviews-top { margin-bottom: 24px; }
  .nav { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .container { padding: 0 16px; }
  .header-cta .btn { display: none; }
  .marquee { padding: 14px 0; }
  .marquee-track { gap: 26px; animation-duration: 30s; }
  .marquee-track span { font-size: 15px; gap: 26px; }
  .marquee-track span::after { width: 6px; height: 6px; }
  .hero { padding-top: 110px; min-height: auto; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 12px; } .stat b { font-size: 20px; } .stat small { font-size: 11.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-card { display: none; }
  .scroll-hint { display: none; }
  .services-grid, .policy-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .btn { white-space: normal; text-align: center; line-height: 1.2; }
  .gallery { grid-auto-rows: 170px; }
  .gallery figure.big { grid-column: span 2; }
  .about-features, .form-row { grid-template-columns: minmax(0, 1fr); }
  .about-media .logo-badge { width: 110px; right: 10px; bottom: -20px; }
  .car-stage { padding: 14px; min-height: 0; }
  .car-tab { padding: 10px 14px; font-size: 14px; }
  .estimate { grid-template-columns: 1fr; }
  .estimate-total { text-align: left; }
  .send-row { grid-template-columns: minmax(0, 1fr); }
  .booking-form, .contacts-card { padding: 22px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .map-wrap { height: 320px; }
  .fab { display: none; }
  .to-top { bottom: 88px; right: 16px; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: rgba(7,8,12,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border-radius: 12px; font-size: 12px; font-weight: 700; }
  .mobile-bar a svg { width: 22px; height: 22px; }
  .mobile-bar .mb-call { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
  .mobile-bar .mb-viber { background: #7360f2; }
  .mobile-bar .mb-tg { background: #229ed9; }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.hero-content, .car-stage, .part-panel, .booking-form, .contacts-card { min-width: 0; }
.menu-open .header { background: rgba(7, 8, 12, .98); border-bottom-color: var(--line); }

/* Кошторис: вибрані деталі */
.part-badge { flex: none; padding: 6px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; background: rgba(47,212,122,.14); color: var(--ok); border: 1px solid rgba(47,212,122,.4); }
.part-list li.on .nm { color: var(--brand-2); }
.part-toggle { margin-top: 14px; }
.chip b { color: var(--brand-2); font-weight: 800; }
.chip-clear { cursor: pointer; padding: 6px 12px; color: var(--muted); background: transparent; border-style: dashed; }
.chip-clear:hover { color: #fff; border-color: var(--brand); }
#estTotal.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.12); color: #fff; } }
.estimate { position: sticky; bottom: 12px; z-index: 5; background: rgba(14,16,22,.94); }

/* Мобільна компактність */
@media (max-width: 720px) {
  .estimate { bottom: 84px; padding: 14px 16px; gap: 10px; }
  .estimate h3 { font-size: 15px; }
  .estimate-items { max-height: 74px; overflow-y: auto; }
  .estimate-total b { font-size: 22px; margin: 0 0 6px; }
  .part-panel { padding: 18px; }
  .part-head h3 { font-size: 18px; }
  .part-from { margin-bottom: 8px; padding: 6px 12px; }
  .part-from b { font-size: 18px; }
  .part-list li { padding: 8px 0; font-size: 14px; }
  .about-media img:not(.logo-badge) { aspect-ratio: 16 / 11; object-position: center 70%; }
  .about-grid { gap: 36px; }
}

/* ===== Звук двигуна на банері ===== */
.hc-stage { cursor: pointer; }
.hc-sound { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 99px; border: 1px solid rgba(237,57,4,.5); background: rgba(10,11,16,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 700; color: var(--text); cursor: pointer; overflow: hidden; white-space: nowrap; transition: border-color .2s, opacity .3s; animation: soundHint 2.4s ease-in-out 2s infinite; }
.hc-sound svg { width: 18px; height: 18px; color: var(--brand-2); }
.hc-sound:hover { border-color: var(--brand-2); }
.hc-cool { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: left; }
.hc-sound.cooling { animation: none; opacity: .75; cursor: default; }
.hc-sound.cooling .hc-cool { animation: coolBar 5s linear forwards; }
@keyframes coolBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes soundHint { 50% { box-shadow: 0 0 0 6px rgba(237,57,4,.15); } }
.hc-car picture { display: block; }
.hero-car.revving .hc-car picture { animation: carRev .9s cubic-bezier(.3,.6,.3,1) 3; }
.hero-car.revving .hc-light { animation: none; opacity: 1; }
.hero-car.revving .hc-glow { animation: revGlow 1.2s ease-in-out 2; }
@keyframes carRev { 0%, 100% { transform: none; } 10% { transform: translate(-2px, 1px) rotate(-.4deg); } 20% { transform: translate(2px, -1px) rotate(.4deg); } 30% { transform: translate(-1px, 1px); } 40% { transform: translate(1px, 0) scale(1.01); } 60% { transform: translate(-1px, 0); } }
@keyframes revGlow { 50% { opacity: 1; transform: scale(1.18); filter: blur(24px) brightness(1.5); } }
@media (max-width: 720px) { .hc-sound { font-size: 12px; padding: 8px 12px; } }

/* Без прямокутної рамки фокусу на деталях авто */
.car-svg .zone:focus, .car-svg .zone:focus-visible, .hc-stage:focus { outline: none; }
.car-svg .zone:focus-visible { stroke: #fff; stroke-width: 2.5; }

/* Примітка про реальну ціну */
.price-disclaimer { display: flex; gap: 16px; align-items: flex-start; margin-top: 16px; padding: 18px 22px; border-color: rgba(237,57,4,.35); background: linear-gradient(90deg, rgba(237,57,4,.12), rgba(18,20,28,.72) 60%); }
.price-disclaimer p { margin: 0; color: var(--muted); font-size: 14.5px; }
.price-disclaimer b { color: var(--text); }
.pd-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.pd-ic svg { width: 22px; height: 22px; color: #fff; }
@media (max-width: 720px) { .price-disclaimer { padding: 14px 16px; gap: 12px; } .price-disclaimer p { font-size: 13.5px; } }

/* Підзаголовок hero (винесено з H1) */
.hero-sub { font-size: clamp(17px, 1.7vw, 22px); font-weight: 600; color: var(--muted); line-height: 1.35; margin: -8px 0 18px; }

/* Перший екран: поява без прив'язки до прокрутки (краще для LCP/SEO) */
.hero-in { animation: heroIn .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-d1 { animation-delay: .08s; } .hero-d2 { animation-delay: .16s; } .hero-d3 { animation-delay: .24s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) { .hero-in { animation: none; } }

/* ===== Нагадування «вставте текст і натисніть Надіслати» ===== */
.send-hint { position: fixed; inset: 0; z-index: 380; display: flex; align-items: center; justify-content: center; padding: 16px; }
.send-hint[hidden] { display: none; }
.send-hint.open .modal-backdrop { opacity: 1; }
.sh-dialog { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 30px; background: rgba(14,16,22,.97);
  border-color: rgba(237,57,4,.45); box-shadow: 0 40px 100px -20px rgba(0,0,0,.8), 0 0 80px -30px var(--brand-glow);
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .25s, transform .25s; }
.send-hint.open .sh-dialog { opacity: 1; transform: none; }
.sh-status { display: inline-block; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 800; color: var(--ok); background: rgba(47,212,122,.12); border: 1px solid rgba(47,212,122,.4); margin-bottom: 14px; }
.sh-status.warn { color: #ffb21e; background: rgba(255,178,30,.12); border-color: rgba(255,178,30,.4); }
.sh-title { font-family: var(--font-head); font-size: clamp(19px, 2.6vw, 24px); font-weight: 700; line-height: 1.2; margin: 0 48px 16px 0; }
.sh-steps { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: sh; display: grid; gap: 10px; }
.sh-steps li { position: relative; padding: 2px 0 2px 42px; color: #d4d6dc; font-size: 15px; counter-increment: sh; }
.sh-steps li::before { content: counter(sh); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.sh-steps b { color: var(--text); }
.sh-preview-wrap { position: relative; margin-bottom: 16px; }
.sh-preview { margin: 0; max-height: 150px; overflow: auto; padding: 14px 16px 40px; border-radius: 12px; background: rgba(0,0,0,.4); border: 1px dashed var(--line-2); font: 500 13px/1.5 var(--font); color: var(--muted); white-space: pre-wrap; user-select: all; -webkit-user-select: all; }
.sh-copy { position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: 9px; border: 1px solid var(--line-2); background: #12141c; color: var(--text); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.sh-copy:hover { border-color: var(--brand); }
.sh-open { margin-bottom: 10px; }
@media (max-width: 720px) { .sh-dialog { padding: 22px 18px; } .sh-steps li { font-size: 14px; } }

/* Кузовні деталі без цін — лише декор */
.car-svg .inert-part { pointer-events: none; }
.est-extra { display: block; color: var(--muted); font-size: 12.5px; margin: -6px 0 10px; }
.est-extra[hidden] { display: none; }
.part-from.pd b { font-family: var(--font); font-size: 16px; font-weight: 800; }
.part-list .pr { text-align: right; }

/* Спеціалізація */
.service-card.main { border-color: rgba(237,57,4,.55); background: linear-gradient(180deg, rgba(237,57,4,.14), var(--surface) 55%); }
.spec-tag { position: absolute; top: 18px; right: 18px; padding: 5px 10px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.hl-text { color: var(--text); font-weight: 800; }

/* ===== Мультимедіа, звук і сигналізації ===== */
.svc-link { color: var(--brand-2); font-weight: 700; font-size: 13.5px; }
.svc-link:hover { color: #fff; }
.mm-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.mm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.mm-col { padding: 20px; }
.mm-col h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 12px; }
.mm-col h3 svg { width: 22px; height: 22px; color: var(--brand-2); flex: none; }
.mm-col li { display: flex; gap: 10px; padding: 6px 0; font-size: 14.5px; color: #d4d6dc; }
.mm-col li svg { width: 17px; height: 17px; color: var(--brand-2); flex: none; margin-top: 3px; }
.mm-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.mm-price { color: var(--muted); font-size: 14.5px; flex: 1; min-width: 220px; }
.mm-price b { color: var(--brand-2); }
.mm-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mm-photo { margin: 0; position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.mm-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s; }
.mm-photo:hover img { transform: scale(1.05); }
.mm-photo-2 { margin-top: 48px; border-color: rgba(237,57,4,.5); }
.mm-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.88)); font-size: 13px; font-weight: 600; }
.mm-photo figcaption span { display: inline-block; margin-bottom: 4px; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }

/* ===== Нам довіряють ===== */
.trust-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.trust-track { display: flex; gap: 18px; width: max-content; animation: marquee 45s linear infinite; padding: 6px 0 10px; }
.trust-card { position: relative; margin: 0; width: 270px; flex: none; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface-solid); }
.trust-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.trust-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.88)); }
.trust-card b { display: block; font-family: var(--font-head); font-size: 15px; }
.trust-card span { color: var(--brand-2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 1000px) {
  .mm-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .mm-cols { grid-template-columns: minmax(0, 1fr); margin: 18px 0; }
  .mm-photo-2 { margin-top: 28px; }
  .trust-card { width: 200px; }
  .trust-track { gap: 12px; animation-duration: 35s; }
}
.mm-photo figcaption span { display: table; margin-bottom: 6px; }

/* Мультимедіа v2 */
.mm-h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 12px; }
.mm-h3 svg { width: 28px; height: 28px; color: var(--brand-2); }
.mm-p { color: var(--muted); }
.mm-list li { display: flex; gap: 10px; padding: 7px 0; color: #d4d6dc; }
.mm-list li svg { width: 18px; height: 18px; color: var(--brand-2); flex: none; margin-top: 4px; }
.mm-text .mm-foot { margin-top: 22px; }
.mm-case { grid-column: 1 / -1; margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.mm-case b { color: var(--text); }
.mm-photo-2 { margin-top: 32px; }
.alarm-box { margin-top: 40px; padding: 28px; border-color: rgba(237,57,4,.35); }
.alarm-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.alarm-head h3 { font-size: 22px; margin-bottom: 4px; }
.alarm-head p { color: var(--muted); margin: 0; }
.alarm-ic { width: 52px; height: 52px; flex: none; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.alarm-ic svg { width: 26px; height: 26px; color: #fff; }
.alarm-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.alarm-type { padding: 18px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.alarm-type b { display: block; font-family: var(--font-head); font-size: 15px; margin-bottom: 6px; }
.alarm-type span { color: var(--muted); font-size: 14px; }
.alarm-type.hot { border-color: rgba(237,57,4,.5); background: rgba(237,57,4,.08); }
.alarm-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .alarm-types { grid-template-columns: minmax(0, 1fr); }
  .alarm-box { padding: 20px; }
  .mm-h3, .alarm-head h3 { font-size: 19px; }
}

/* Про нас: горизонтальне фото будівлі */
.about-media picture img { aspect-ratio: 4 / 3; object-position: center 40%; }
@media (max-width: 720px) { .about-media img:not(.logo-badge) { aspect-ratio: 4 / 3; object-position: center 40%; } }
.about-media .logo-badge { width: 140px; right: -18px; bottom: -34px; }
@media (max-width: 720px) { .about-media .logo-badge { width: 100px; right: 8px; bottom: -26px; } }

/* Контакти: месенджери рядками */
.contact-list .ic-viber { background: rgba(115,96,242,.16); } .contact-list .ic-viber svg { color: #9b8cff; }
.contact-list .ic-tg { background: rgba(34,158,217,.16); } .contact-list .ic-tg svg { color: #4cb8ec; }
.contact-list li { padding: 12px 0; }
.contacts-card > .btn-ghost { margin-top: 14px !important; }

.contact-photo img { aspect-ratio: 16 / 10; object-position: center 38%; }

/* ===== Продуктивність ===== */
.marquee-track, .trust-track, .hc-car, .hc-ring, .hc-lines span { will-change: transform; }
@media (max-width: 1000px), (hover: none) {
  /* розмиття під картками — найдорожчий ефект при прокрутці на телефоні */
  .glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(18, 20, 28, .94); }
  .hc-shine, .hc-sparks, .hc-ring-2 { display: none; }
  .hc-reflect { filter: none; opacity: .14; }
  .hc-car { filter: drop-shadow(0 18px 22px rgba(0,0,0,.6)); }
  .hc-glow { filter: blur(22px); animation: none; }
  .bg-vignette { display: none; }
}

/* ===== Компактна модалка запису на телефоні (вміщається в один екран) ===== */
@media (max-width: 720px) {
  .modal { padding: 8px; align-items: center; }
  .modal-dialog { padding: 16px 14px 14px; max-height: calc(100dvh - 16px); border-radius: 18px; }
  .modal-dialog .eyebrow { display: none; }
  .modal-title { font-size: 19px; margin: 0 0 4px; padding-right: 44px; }
  .modal-sub { font-size: 13px; margin-bottom: 12px; line-height: 1.4; }
  .modal-close { top: 10px; right: 10px; width: 36px; height: 36px; font-size: 20px; }
  .modal .form-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .modal .field { margin-bottom: 10px; gap: 4px; }
  .modal .field label { font-size: 12px; }
  .modal .field input, .modal .field select, .modal .field textarea { padding: 10px 11px; font-size: 16px; border-radius: 10px; }
  .modal .field textarea { min-height: 60px; height: 60px; }
  .modal .send-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 2px; }
  .modal .send-row .btn { --h: 44px; padding: 0 8px; font-size: 13.5px; gap: 6px; border-radius: 11px; }
  .modal .send-row .btn svg { width: 17px; height: 17px; }
  .modal .form-note { font-size: 11px; margin-top: 8px; line-height: 1.35; }
}
@media (max-width: 720px) {
  .send-hint { padding: 8px; }
  .sh-dialog { padding: 16px 14px; max-height: calc(100dvh - 16px); }
  .sh-status { margin-bottom: 8px; font-size: 12px; }
  .sh-title { font-size: 18px; margin-bottom: 10px; }
  .sh-steps { gap: 6px; margin-bottom: 10px; }
  .sh-steps li { font-size: 13.5px; padding-left: 34px; }
  .sh-steps li::before { width: 24px; height: 24px; font-size: 12px; }
  .sh-preview { max-height: 96px; padding: 10px 12px 34px; font-size: 12px; }
  .sh-preview-wrap { margin-bottom: 10px; }
  .send-hint .btn { --h: 46px; }
}

/* Відгуки на телефоні: картка рейтингу не виходить за екран */
@media (max-width: 720px) {
  .reviews-top { gap: 16px; }
  .rating-box { width: 100%; padding: 14px 16px; gap: 14px; flex-wrap: nowrap; }
  .rating-box .big { font-size: 40px; }
  .rating-box .stars { font-size: 16px; letter-spacing: 1px; }
  .rating-box small { font-size: 13px; line-height: 1.3; }
  .rating-box > div:nth-child(2) { min-width: 0; flex: 1; }
  .slider-nav { gap: 6px; flex: none; }
  .slider-nav button { width: 40px; height: 40px; border-radius: 11px; font-size: 17px; }
  .review { flex-basis: calc(100vw - 48px); }
}

/* Однакові стрілки слайдера відгуків */
.slider-nav button { display: grid; place-items: center; padding: 0; color: var(--text); }
.slider-nav button svg { width: 20px; height: 20px; }
.slider-nav button.next svg { transform: scaleX(-1); }
.slider-nav button { line-height: 0; }
.slider-nav button svg { display: block; margin: auto; }
