/* =========================================================
   NOCTURNE — design system
   Luxury automotive · Liquid Glass · Night
   ========================================================= */
:root {
  --bg: var(--bg-dark, #050505);
  --bg-2: #0a0a0d;
  --bg-3: #101015;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f4f6;
  --muted: rgba(236, 238, 245, 0.64);
  --dim: rgba(236, 238, 245, 0.42);
  --silver: #d9dce6;
  --accent: #a7b0c0;
  --accent-hi: #bac1ce;
  --accent-deep: #828996;
  --accent-soft: rgba(var(--accent-rgb), 0.14);
  --accent-glow: rgba(var(--accent-rgb), 0.42);
  --accent-rgb: 167, 176, 192;
  --accent-hi-rgb: 186, 193, 206;
  --accent-light-rgb: 222, 225, 231;
  --accent-light: #dee1e7;
  --on-accent: #0a0b0e;
  --ok: #3ccf8e;
  --warn: #e8b04a;
  --bad: #ff5a5f;
  --r-xl: 32px;
  --r-lg: 24px;
  --r: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: 'Manrope', 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --hdr-h: 64px;
  --tab-h: 70px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --wrap: 1240px;
  --gut: 20px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.55; font-weight: 400; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; min-height: 100vh; min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
  animation: pageIn .7s var(--ease-out) both;
}
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg.i.sm { width: 16px; height: 16px; }
svg.i.lg { width: 24px; height: 24px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: 72px 0; position: relative; }
.sec.tight { padding: 48px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sec-head p { max-width: 420px; margin: 0; color: var(--muted); }
@media (max-width: 899px) { .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; } }
.grid { display: grid; gap: 16px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap-x { flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.center { text-align: center; }
.hide { display: none !important; }
main { display: block; padding-bottom: calc(var(--tab-h) + 40px + var(--safe-b)); overflow-x: clip; }
.ba-wrap > *, .two-col > *, .contact-grid > *, .adm-grid > *, .grid > *, .quick .card > * { min-width: 0; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
.h1 { font-size: clamp(42px, 8.6vw, 104px); }
.h2 { font-size: clamp(34px, 5.4vw, 64px); }
.h3 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.025em; line-height: 1.1; }
.h4 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.25; font-weight: 600; }
.it {
  font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em;
  color: var(--silver); padding-right: .04em;
}
.it.blue { color: var(--accent-hi); text-shadow: 0 0 40px rgba(var(--accent-rgb), .35); }
.h1 .it, .h2 .it { font-size: 1.12em; line-height: .9; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--accent-hi); }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 520px; line-height: 1.6; }
.num { font-variant-numeric: tabular-nums; }
.price { font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.price-old { color: var(--dim); text-decoration: line-through; font-weight: 400; margin-right: 6px; white-space: nowrap; }
.price-you { color: var(--accent-hi); font-weight: 600; white-space: nowrap; }

/* ---------- glass ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 0 30px rgba(255, 255, 255, .015), 0 24px 60px -24px rgba(0, 0, 0, .7);
  border-radius: var(--r-lg);
}
.card { position: relative; border-radius: var(--r-lg); padding: 22px; transition: border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease); }@media (hover: hover) {
.card.hov:hover { border-color: rgba(var(--accent-hi-rgb), .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(var(--accent-rgb), .12), 0 20px 60px -20px rgba(var(--accent-rgb), .35); }}
.edge-glow { position: relative; }
.edge-glow::after {
  content: ''; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-hi), transparent); opacity: .7;
}

/* ---------- buttons ---------- */
.btn {
  --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  white-space: nowrap; cursor: pointer; user-select: none; position: relative; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease), opacity .3s;
}
.btn svg.i { width: 18px; height: 18px; transition: transform .4s var(--ease); }@media (hover: hover) {
.btn:hover svg.i.arr { transform: translateX(3px); }}
.btn:active { transform: scale(.98); }
.btn-primary {
  color: var(--on-accent); background: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent) 55%, var(--accent-deep) 100%);
  border: 1px solid rgba(var(--accent-light-rgb), .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 30px -10px var(--accent-glow);
}@media (hover: hover) {
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 0 0 4px rgba(var(--accent-rgb), .14), 0 14px 40px -8px rgba(var(--accent-rgb), .6); }}
.btn-ghost {
  color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}@media (hover: hover) {
.btn-ghost:hover { border-color: rgba(var(--accent-hi-rgb), .55); background: rgba(var(--accent-rgb), .08); }}
.btn-white { background: #f4f4f6; color: #050505; border: 1px solid #fff; }@media (hover: hover) {
.btn-white:hover { background: #fff; box-shadow: 0 10px 40px -10px rgba(255, 255, 255, .4); }}
.btn-danger { color: #ffb3b5; background: rgba(255, 90, 95, .08); border: 1px solid rgba(255, 90, 95, .3); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn-xs { --h: 32px; padding: 0 12px; font-size: 13px; gap: 6px; }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-icon { --h: 44px; width: var(--h); padding: 0; }
.btn[disabled], .btn.is-disabled { opacity: .4; pointer-events: none; }
.btn.loading { pointer-events: none; }
.btn.loading::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; font-size: 15px; }
.link-arrow svg.i { color: var(--accent-hi); transition: transform .4s var(--ease); }@media (hover: hover) {
.link-arrow:hover svg.i { transform: translateX(4px); }}
.circle-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: var(--text);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), color .3s;
}
.circle-btn svg.i { width: 18px; height: 18px; }@media (hover: hover) {
.circle-btn.blue, a:hover > .circle-btn, .circle-btn:hover { background: var(--accent); border-color: rgba(var(--accent-light-rgb), .35); box-shadow: 0 0 24px -4px var(--accent-glow); color: var(--on-accent); }}

/* ---------- header ---------- */
.hdr {
  position: fixed; z-index: 50; top: calc(10px + var(--safe-t)); left: 10px; right: 10px;
  height: var(--hdr-h); display: flex; align-items: center; gap: 16px; padding: 0 10px 0 20px;
  border-radius: 22px; border: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s, box-shadow .5s;
  max-width: calc(var(--wrap) + 40px); margin: 0 auto;
}
.hdr.scrolled, .hdr.solid {
  background: rgba(12, 12, 16, .62); border-color: var(--line);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 50px -20px rgba(0, 0, 0, .8);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 17px; letter-spacing: .42em; text-transform: uppercase; white-space: nowrap; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo small { display: none; }
.hdr-nav { display: none; align-items: center; gap: 4px; margin-left: auto; }
.hdr-nav a { padding: 8px 12px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .3s, background .3s; }@media (hover: hover) {
.hdr-nav a:hover, .hdr-nav a.active { color: var(--text); }}
.hdr-nav a.active { background: rgba(255, 255, 255, .05); }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hdr-actions .btn { display: none; }
.hdr-profile { position: relative; }
.badge-dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-hi); box-shadow: 0 0 10px var(--accent-hi); }

/* ---------- bottom tab bar (mobile) ---------- */
.tabbar {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b));
  height: var(--tab-h); border-radius: 28px; display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 7px; background: rgba(16, 16, 22, .62); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 50px -10px rgba(0, 0, 0, .85);
  max-width: 520px; margin: 0 auto;
}
.tabbar a {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; font-size: 10.5px; font-weight: 500; color: var(--dim); border-radius: 21px; transition: color .4s var(--ease);
}
.tabbar a svg.i { width: 22px; height: 22px; stroke-width: 1.5; }
.tabbar a.active { color: var(--on-accent); }
.tab-ind {
  position: absolute; z-index: 0; top: 7px; bottom: 7px; left: 7px; width: calc((100% - 14px) / 5);
  border-radius: 21px; background: radial-gradient(120% 120% at 50% 0%, var(--accent-hi) 0%, var(--accent) 55%, var(--accent-deep) 100%);
  border: 1px solid rgba(var(--accent-light-rgb), .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 28px -4px var(--accent-glow);
  transition: transform .6s var(--ease-out);
}
.tabbar.no-active .tab-ind { opacity: 0; }

/* sticky CTA (mobile) */
.sticky-cta {
  position: fixed; z-index: 55; left: 50%; bottom: calc(var(--tab-h) + 24px + var(--safe-b));
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: transform .6s var(--ease-out), opacity .5s var(--ease);
}
.sticky-cta.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.sticky-cta .btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 16px 40px -10px rgba(0, 0, 0, .9), 0 10px 30px -10px var(--accent-glow); }

/* ---------- media / photos ---------- */
.ph {
  position: relative; overflow: hidden; background:
    radial-gradient(120% 80% at 70% 20%, rgba(var(--accent-rgb), .16), transparent 60%),
    radial-gradient(90% 70% at 20% 90%, rgba(255, 255, 255, .05), transparent 60%),
    linear-gradient(160deg, #11131b 0%, #07080b 60%, #050505 100%);
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter 1s var(--ease); }@media (hover: hover) {
.zoom:hover .ph img, .ph.zoom:hover img { transform: scale(1.06); }}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero-media { position: absolute; inset: 0; }
.hero-media .ph { position: absolute; inset: 0; }
.hero-media img { object-position: 62% 50%; animation: heroZoom 14s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.12); filter: blur(6px) brightness(.6); } 30% { filter: blur(0) brightness(1); } to { transform: scale(1.02); } }
.hero-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, .55) 0%, rgba(5, 5, 5, .05) 26%, rgba(5, 5, 5, .1) 46%, rgba(5, 5, 5, .78) 76%, #050505 100%),
    linear-gradient(90deg, rgba(5, 5, 5, .7) 0%, rgba(5, 5, 5, .1) 55%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: calc(var(--tab-h) + 30px + var(--safe-b)); }
@media (max-width: 899px) { .hero .hero-meta { margin-top: 26px; } .hero .lead { margin: 16px 0 24px; } }
.hero h1 { max-width: 900px; }
.hero .lead { margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.slot-line { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.slot-line b { color: var(--text); font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(60, 207, 142, .5); animation: pulse 2.4s var(--ease) infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(60, 207, 142, .45); } 70% { box-shadow: 0 0 0 10px rgba(60, 207, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 207, 142, 0); } }
.hero-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 44px; }
.scroll-hint { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--dim); }
.scroll-hint i { width: 1px; height: 36px; background: linear-gradient(180deg, var(--accent-hi), transparent); position: relative; overflow: hidden; }
.hero-counter { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.hero-counter::after { content: ''; width: 56px; height: 1px; background: var(--text); }

/* page hero (inner pages) */
.phero { position: relative; min-height: 58vh; display: flex; align-items: flex-end; overflow: hidden; }
.phero .hero-media::after { background: linear-gradient(180deg, rgba(5, 5, 5, .6) 0%, rgba(5, 5, 5, .2) 35%, rgba(5, 5, 5, .85) 80%, #050505 100%); }
.phero .hero-content { padding-top: 130px; padding-bottom: 28px !important; }
.phero.short { min-height: 0; }
.phero.short .hero-content { padding-top: 120px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 18px; flex-wrap: wrap; }@media (hover: hover) {
.crumbs a:hover { color: var(--text); }}

/* ---------- quick booking ---------- */
.quick { margin-top: -10px; position: relative; z-index: 3; }
.quick .card { padding: 22px; }
.quick-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.quick-top p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 96px; height: 86px; padding: 10px 14px;
  border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 13px; font-weight: 500;
  transition: all .4s var(--ease); scroll-snap-align: start; cursor: pointer;
}
.chip svg.i { width: 22px; height: 22px; color: var(--silver); }@media (hover: hover) {
.chip:hover { color: var(--text); border-color: var(--line-2); }}
.chip.on { color: var(--text); background: linear-gradient(180deg, rgba(var(--accent-rgb), .32), rgba(var(--accent-rgb), .12)); border-color: rgba(var(--accent-hi-rgb), .7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 26px -6px var(--accent-glow); }
.chip.on svg.i { color: #fff; }
.quick-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.quick-foot .meta { font-size: 14px; color: var(--muted); }
.quick-foot .meta b { color: var(--text); }
@media (max-width: 599px) { .quick-foot { flex-direction: column; align-items: stretch; } .quick-foot .btn { width: 100%; } }

/* ---------- advantages ---------- */
.adv { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.adv-item { display: grid; grid-template-columns: 54px 1fr; gap: 6px 14px; padding: 24px 4px; border-bottom: 1px solid var(--line); transition: background .5s var(--ease); }@media (hover: hover) {
.adv-item:hover { background: linear-gradient(90deg, rgba(var(--accent-rgb), .06), transparent 70%); }}
.adv-n { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--accent-hi); line-height: 1; grid-row: span 2; }
.adv-item h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.adv-item p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- service cards ---------- */
.hscroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }
.svc-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--line); isolation: isolate; transition: border-color .5s var(--ease), box-shadow .5s var(--ease); }
.svc-card .ph { position: absolute; inset: 0; z-index: -1; }
.svc-card .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 5, .1) 0%, rgba(5, 5, 5, .1) 40%, rgba(5, 5, 5, .92) 100%); transition: background .6s var(--ease); }
.svc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; }
.svc-body h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.025em; }
.svc-from { margin-top: 6px; font-size: 14px; color: var(--muted); }
.svc-desc { font-size: 14px; color: var(--muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .6s var(--ease), margin .6s var(--ease); }
.svc-num { position: absolute; top: 18px; left: 20px; font-size: 12px; color: var(--muted); letter-spacing: .14em; }
.svc-card .circle-btn { position: absolute; right: 16px; bottom: 18px; }@media (hover: hover) {
.svc-card:hover { border-color: rgba(var(--accent-hi-rgb), .5); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .15), 0 30px 70px -30px rgba(var(--accent-rgb), .55); }}@media (hover: hover) {
.svc-card:hover .ph img { transform: scale(1.07); }}@media (hover: hover) {
.svc-card:hover .ph::after { background: linear-gradient(180deg, rgba(5, 5, 5, .2) 0%, rgba(5, 5, 5, .45) 40%, rgba(5, 5, 5, .96) 100%); }}@media (hover: hover) {
.svc-card:hover .svc-desc { max-height: 120px; opacity: 1; margin-top: 10px; }}@media (hover: hover) {
.svc-card:hover .circle-btn { background: var(--accent); border-color: rgba(var(--accent-light-rgb), .35); box-shadow: 0 0 24px -4px var(--accent-glow); }}

/* ---------- before / after ---------- */
.ba { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 11; border: 1px solid var(--line); user-select: none; touch-action: pan-y; --pos: 50%; }
.ba .ph { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before img { filter: saturate(.45) contrast(.72) brightness(.78) sepia(.18) blur(.4px); }
.ba-before::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 40% 40%, rgba(230, 225, 210, .14), transparent 70%),
    linear-gradient(180deg, rgba(200, 195, 185, .12), rgba(120, 110, 95, .18));
  mix-blend-mode: screen;
}
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 18px rgba(var(--accent-hi-rgb), .8); transform: translateX(-.5px); pointer-events: none; }
.ba-knob {
  position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; border-radius: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; pointer-events: none;
  background: rgba(15, 15, 20, .5); border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 30px -4px var(--accent-glow);
}
.ba-knob svg.i { width: 22px; height: 22px; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; touch-action: pan-y; }
.ba-tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; background: rgba(5, 5, 5, .5); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.ba-tag.l { left: 16px; } .ba-tag.r { right: 16px; }
.ba-wrap { display: grid; gap: 20px; }
.ba-info { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.ba-info div { padding: 16px 4px; border-bottom: 1px solid var(--line); }
.ba-info span { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.ba-thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.ba-thumbs::-webkit-scrollbar { display: none; }
.ba-thumb { flex: none; width: 92px; height: 64px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); opacity: .5; transition: opacity .4s, border-color .4s; cursor: pointer; }@media (hover: hover) {
.ba-thumb.on, .ba-thumb:hover { opacity: 1; border-color: var(--accent-hi); }}
.ba-thumb .ph { width: 100%; height: 100%; }

/* ---------- trust / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat { padding: 8px 14px 8px 0; }
.stat + .stat { padding-left: 16px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(40px, 7vw, 76px); line-height: 1; letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.chain { display: grid; gap: 12px; margin-top: 40px; }
.chain-step { padding: 22px; }
.chain-step .k { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.chain-step .k svg.i { color: var(--accent-hi); width: 18px; height: 18px; }
.chain-step p { margin: 0; font-size: 16px; }
.chain-arrow { display: none; }

/* ---------- process ---------- */
.process { display: grid; gap: 0; counter-reset: p; }
.proc { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 0 0 28px; }
.proc::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: linear-gradient(180deg, var(--line-2), transparent); }
.proc:last-child::before { display: none; }
.proc-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--silver); }
.proc-dot svg.i { width: 19px; height: 19px; }
.proc h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; margin-top: 10px; }
.proc p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.proc.in .proc-dot { border-color: rgba(var(--accent-hi-rgb), .6); box-shadow: 0 0 20px -6px var(--accent-glow); }

/* ---------- packages ---------- */
.pkgs { display: grid; gap: 16px; }
.pkg { position: relative; padding: 26px; display: flex; flex-direction: column; overflow: hidden; }
.pkg.featured { border-color: rgba(var(--accent-hi-rgb), .5); background: linear-gradient(180deg, rgba(var(--accent-rgb), .12), rgba(255, 255, 255, .02) 55%); }
.pkg .tag { position: absolute; top: 22px; right: 22px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.pkg-tier { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.pkg h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 44px; letter-spacing: -0.01em; margin: 10px 0 6px; }
.pkg p { color: var(--muted); margin: 0 0 18px; font-size: 14.5px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.pkg li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.pkg li svg.i { width: 16px; height: 16px; color: var(--accent-hi); }
.pkg-price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.pkg-price .price { font-size: 28px; }
.pkg-price small { display: block; font-size: 12px; color: var(--dim); }

/* ---------- car types ---------- */
.types { grid-auto-columns: 62%; }
.type { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.type .ph { position: absolute; inset: 0; z-index: -1; }
.type .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5, 5, 5, .9)); }
.type div.t { position: absolute; left: 18px; right: 18px; bottom: 18px; }
.type h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 34px; letter-spacing: -0.01em; }
.type p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }@media (hover: hover) {
.type:hover .ph img { transform: scale(1.06); }}

/* ---------- reviews ---------- */
.revs { grid-auto-columns: 84%; }
.rev { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.rev-stars { display: flex; gap: 3px; color: var(--silver); }
.rev-stars svg.i { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.rev-stars svg.i.off { opacity: .2; }
.rev p { margin: 0; font-size: 15.5px; line-height: 1.55; }
.rev-foot { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 15px; flex: none; background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); border: 1px solid var(--line-2); }
.ava.lg { width: 56px; height: 56px; font-size: 20px; }
.rev-foot b { display: block; font-size: 14.5px; font-weight: 600; }
.rev-foot span { display: block; font-size: 12.5px; color: var(--dim); }

/* ---------- loyalty ---------- */
.loyal { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 28px; }
.loyal .bgimg { position: absolute; inset: 0; z-index: -1; }
.loyal .bgimg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 5, 5, .95) 20%, rgba(5, 5, 5, .55)); }
.loyal-grid { display: grid; gap: 12px; margin-top: 28px; }
.loyal-item { padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.loyal-item .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-hi); border: 1px solid rgba(var(--accent-hi-rgb), .3); flex: none; }
.loyal-item h4 { font-size: 16px; font-weight: 600; }
.loyal-item p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.levels { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.level { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.level b { color: var(--text); font-weight: 600; margin-right: 4px; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 2px; cursor: pointer; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform .5s var(--ease), background .4s, border-color .4s; }
.faq summary .pm svg.i { width: 16px; height: 16px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--accent); border-color: transparent; }
.faq .ans { padding: 0 2px 22px; color: var(--muted); max-width: 760px; animation: faqIn .6s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- contacts ---------- */
.contact-grid { display: grid; gap: 16px; }
.map { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 320px; border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.35) brightness(.85) contrast(.9); }
.map .pin-card { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.c-list { display: grid; gap: 0; }
.c-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.c-row svg.i { color: var(--accent-hi); margin-top: 2px; }
.c-row span { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }@media (hover: hover) {
.c-row a:hover { color: var(--accent-hi); }}
.hours-list { display: grid; gap: 4px; font-size: 14.5px; }
.hours-list div { display: flex; justify-content: space-between; gap: 20px; }
.hours-list .today { color: var(--text); font-weight: 600; }

/* ---------- final CTA ---------- */
.final { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; text-align: center; }
.final .hero-media::after { background: linear-gradient(180deg, #050505 0%, rgba(5, 5, 5, .4) 30%, rgba(5, 5, 5, .5) 70%, #050505 100%); }
.final .wrap { position: relative; z-index: 2; }
.final .lead { margin: 18px auto 30px; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: 56px 0 calc(var(--tab-h) + 50px + var(--safe-b)); background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .03)); }
.ftr-grid { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; }
.ftr-brand { grid-column: 1 / -1; }
.ftr-brand p { color: var(--muted); max-width: 320px; font-size: 14px; margin: 14px 0 0; }
.ftr h4 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; color: var(--muted); }@media (hover: hover) {
.ftr ul a:hover { color: var(--text); }}
.ftr-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 12.5px; color: var(--dim); }@media (hover: hover) {
.ftr-bottom a:hover { color: var(--text); }}
.socials { display: flex; gap: 8px; margin-top: 18px; }

/* ---------- forms ---------- */
.field { display: grid; gap: 7px; }
.field > span, .lbl { font-size: 13px; color: var(--muted); font-weight: 500; }
.input, .select, .textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04); color: var(--text); font-size: 16px; outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.textarea { height: auto; min-height: 96px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aab' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.select option { background: #111; }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(var(--accent-hi-rgb), .8); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .16); background: rgba(255, 255, 255, .06); }
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input.err { border-color: rgba(255, 90, 95, .7); }
.form-grid { display: grid; gap: 14px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); cursor: pointer; line-height: 1.45; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--line-2); flex: none; display: grid; place-items: center; transition: all .3s var(--ease); background: rgba(255, 255, 255, .04); margin-top: -1px; }
.check .box svg.i { width: 14px; height: 14px; opacity: 0; transform: scale(.6); transition: all .3s var(--ease); stroke-width: 2.4; }
.check input:checked + .box { background: var(--accent); border-color: rgba(var(--accent-light-rgb), .4); box-shadow: 0 0 14px -2px var(--accent-glow); }
.check input:checked + .box svg.i { opacity: 1; transform: none; color: var(--on-accent); }
.check input:focus-visible + .box { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.check a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.form-err { color: #ff9a9d; font-size: 14px; min-height: 0; }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid var(--line-2); transition: .3s var(--ease); cursor: pointer; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.switch input:checked + i { background: var(--accent); border-color: transparent; }
.switch input:checked + i::after { transform: translateX(18px); }

/* segmented / tabs */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: var(--muted); white-space: nowrap; transition: all .35s var(--ease); flex: none; }
.seg button.on { background: rgba(255, 255, 255, .1); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.seg button.on.blue { background: var(--accent); color: var(--on-accent); }@media (hover: hover) {
.seg button:hover:not(.on) { color: var(--text); }}

/* pills / badges */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.nodot::before { display: none; }
.st-pending { color: var(--warn); border-color: rgba(232, 176, 74, .35); background: rgba(232, 176, 74, .08); }
.st-confirmed { color: var(--accent-light); border-color: rgba(var(--accent-hi-rgb), .45); background: rgba(var(--accent-rgb), .1); }
.st-done { color: var(--ok); border-color: rgba(60, 207, 142, .35); background: rgba(60, 207, 142, .08); }
.st-cancelled { color: var(--dim); border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
.st-noshow { color: #ff9a9d; border-color: rgba(255, 90, 95, .35); background: rgba(255, 90, 95, .08); }
.pill.blue { color: var(--on-accent); background: var(--accent); border-color: transparent; }
.pill.vip { color: #e9d9a6; border-color: rgba(233, 217, 166, .35); background: rgba(233, 217, 166, .06); }

/* ---------- toast ---------- */
.toasts { position: fixed; z-index: 120; top: calc(84px + var(--safe-t)); left: 12px; right: 12px; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { pointer-events: auto; max-width: 440px; width: 100%; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; border-radius: 18px; background: rgba(18, 18, 24, .78); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8); animation: toastIn .6s var(--ease-out) both; font-size: 14px; }
.toast.out { animation: toastOut .4s var(--ease) both; }
.toast .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-hi); flex: none; }
.toast b { display: block; font-weight: 600; margin-bottom: 2px; }
.toast span { color: var(--muted); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.97); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px); filter: blur(4px); } }

/* ---------- modal / sheet ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s var(--ease); display: flex; align-items: flex-end; justify-content: center; }
.overlay.show { opacity: 1; }
.modal {
  width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  border-radius: 28px 28px 0 0; padding: 12px 20px calc(24px + var(--safe-b));
  background: rgba(16, 16, 22, .9); border: 1px solid var(--line-2); border-bottom: 0;
  -webkit-backdrop-filter: blur(30px) saturate(150%); backdrop-filter: blur(30px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 -30px 80px -20px rgba(0, 0, 0, .9);
  transform: translateY(40px); transition: transform .6s var(--ease-out);
}
.overlay.show .modal { transform: none; }
.modal-grab { width: 40px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); margin: 0 auto 16px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.modal-head h3 { font-size: 24px; letter-spacing: -0.025em; line-height: 1.15; }
.modal-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
.modal.wide { max-width: 760px; }

/* cookie & install */
.cookie { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(var(--tab-h) + 24px + var(--safe-b)); max-width: 520px; margin: 0 auto; padding: 16px 18px; display: flex; gap: 14px; align-items: center; font-size: 13.5px; color: var(--muted); animation: toastIn .8s var(--ease-out) 1.2s both; border-radius: 20px; }
.cookie a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
.cookie .btn { flex: none; }
.install { position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; transform: translateY(110%); transition: transform .8s var(--ease-out); }
.install.show { transform: none; }
.install .inner { max-width: 560px; margin: 0 auto; padding: 14px 22px calc(26px + var(--safe-b)); border-radius: 30px 30px 0 0; border-bottom: 0; }
.install .app-ic { width: 60px; height: 60px; border-radius: 16px; flex: none; overflow: hidden; border: 1px solid var(--line-2); }
.install h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; }
.install p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.ios-steps { display: grid; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.ios-steps div { display: flex; gap: 10px; align-items: center; }
.ios-steps svg.i { color: var(--accent-hi); }

/* ---------- reveal animations ---------- */
.rv { opacity: 0; transform: translateY(26px); filter: blur(10px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out); transition-delay: var(--d, 0s); will-change: opacity, transform, filter; }
.rv.in { opacity: 1; transform: none; filter: none; }
.split .w { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(12px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.split.in .w { opacity: 1; transform: none; filter: none; }
.no-js .rv, .no-js .split .w { opacity: 1; transform: none; filter: none; }

/* ---------- booking ---------- */
.bk { padding-top: calc(var(--hdr-h) + 30px + var(--safe-t)); }
.bk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.bk-head h1 { font-size: clamp(30px, 6vw, 48px); }
.progress { display: flex; align-items: center; gap: 6px; margin: 4px 0 26px; }
.progress .seg-p { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; position: relative; }
.progress .seg-p::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); box-shadow: 0 0 10px var(--accent-glow); }
.progress .seg-p.on::after { transform: scaleX(1); }
.step-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; display: flex; justify-content: space-between; }
.step-title { font-size: clamp(26px, 5vw, 40px); margin-bottom: 20px; }
.step { animation: stepIn .7s var(--ease-out) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.step.back { animation-name: stepBack; }
@keyframes stepBack { from { opacity: 0; transform: translateX(-18px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.opts { display: grid; gap: 10px; }
.opt {
  position: relative; display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 10px 16px 10px 10px;
  border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); cursor: pointer; text-align: left; width: 100%;
  transition: border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}@media (hover: hover) {
.opt:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .05); }}
.opt.on { border-color: rgba(var(--accent-hi-rgb), .8); background: linear-gradient(90deg, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .04)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 30px -10px var(--accent-glow); }
.opt .ph { width: 76px; height: 64px; border-radius: 14px; }
.opt h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.opt .meta { font-size: 13px; color: var(--muted); margin-top: 3px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.opt .radio { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .35s var(--ease); }
.opt .radio svg.i { width: 14px; height: 14px; opacity: 0; stroke-width: 2.5; }
.opt.on .radio { background: var(--accent); border-color: rgba(var(--accent-light-rgb), .4); box-shadow: 0 0 14px -2px var(--accent-glow); }
.opt.on .radio svg.i { opacity: 1; color: var(--on-accent); }
.opt.simple { grid-template-columns: 1fr auto; padding: 16px 18px; }
.opt.addon { grid-template-columns: 44px 1fr auto; padding: 14px 16px; }
.opt.addon .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); color: var(--silver); }
.opt.addon.on .ic { background: var(--accent-soft); color: var(--accent-hi); }
.opt-group { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin: 22px 0 10px; }
.dates { display: grid; grid-auto-flow: column; grid-auto-columns: 68px; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; margin: 0 -2px; scroll-snap-type: x proximity; }
.dates::-webkit-scrollbar { display: none; }
.date {
  height: 84px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; cursor: pointer; transition: all .35s var(--ease); scroll-snap-align: start;
}
.date small { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.date b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.date i { font-style: normal; font-size: 11px; color: var(--muted); }
.date.on { border-color: rgba(var(--accent-hi-rgb), .8); background: linear-gradient(180deg, rgba(var(--accent-rgb), .3), rgba(var(--accent-rgb), .1)); box-shadow: 0 0 24px -8px var(--accent-glow); }
.date.on small, .date.on i { color: #fff; }
.date.off { opacity: .3; pointer-events: none; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { height: 50px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-weight: 600; font-size: 15px; transition: all .3s var(--ease); cursor: pointer; font-variant-numeric: tabular-nums; }@media (hover: hover) {
.slot:hover { border-color: var(--line-2); }}
.slot.on { background: var(--accent); border-color: rgba(var(--accent-light-rgb), .45); color: var(--on-accent); box-shadow: 0 0 24px -6px var(--accent-glow); }
.slot.busy { opacity: .28; text-decoration: line-through; pointer-events: none; font-weight: 400; }
.slot-group { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin: 18px 0 10px; }
.empty { padding: 28px; text-align: center; color: var(--muted); border-radius: var(--r-lg); border: 1px dashed var(--line-2); }
.summary-bar {
  position: fixed; z-index: 58; left: 12px; right: 12px; bottom: calc(var(--tab-h) + 22px + var(--safe-b)); max-width: 720px; margin: 0 auto;
  padding: 10px 10px 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 22px;
}
.summary-bar .sum { min-width: 0; }
.summary-bar .sum b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary-bar .sum span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-pad { height: 110px; }
.done-hero { text-align: center; padding: 10px 0 24px; }
.done-ic { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, var(--accent-hi), var(--accent-deep)); box-shadow: 0 0 0 10px rgba(var(--accent-rgb), .1), 0 0 60px -6px var(--accent-glow); animation: popIn 1s var(--ease-out) both; }
.done-ic svg.i { width: 38px; height: 38px; stroke-width: 2; color: var(--on-accent); }
@keyframes popIn { from { opacity: 0; transform: scale(.7); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.kv { display: grid; gap: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv > div:last-child { border-bottom: 0; }
.kv span { color: var(--muted); flex: none; }
.kv b { font-weight: 600; text-align: right; }
.car-form { display: grid; gap: 12px; margin-top: 12px; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-chips button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); transition: all .3s var(--ease); }@media (hover: hover) {
.brand-chips button:hover { color: var(--text); border-color: var(--line-2); }}
.brand-chips button.on { background: var(--accent); color: #fff; border-color: transparent; }

/* ---------- profile ---------- */
.prof-head { display: flex; align-items: center; gap: 16px; padding: 20px; }
.prof-head .info { min-width: 0; flex: 1; }
.prof-head h2 { font-size: 22px; letter-spacing: -0.02em; }
.prof-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.prof-tabs { position: sticky; top: calc(var(--hdr-h) + 18px + var(--safe-t)); z-index: 20; margin: 18px 0; }
.prof-tabs .seg { background: rgba(14, 14, 18, .7); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { padding: 18px; }
.tile span { display: block; font-size: 12.5px; color: var(--muted); }
.tile b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.tile b.it { font-size: 30px; font-weight: 500; }
.bk-card { padding: 18px; display: grid; gap: 14px; }
.bk-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bk-card h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.bk-card .when { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.bk-card .when div { display: flex; gap: 6px; align-items: center; }
.bk-card .when svg.i { width: 16px; height: 16px; color: var(--accent-hi); }
.bk-card .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); color: var(--silver); flex: none; }
.list-row .ic.blue { background: var(--accent-soft); color: var(--accent-hi); }
.list-row .main { flex: 1; min-width: 0; }
.list-row .main b { display: block; font-weight: 600; font-size: 15px; }
.list-row .main span { display: block; font-size: 13px; color: var(--muted); }
.list-row .side { text-align: right; font-size: 14px; flex: none; }
.notif.unread .main b::after { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-hi); margin-left: 8px; vertical-align: middle; box-shadow: 0 0 8px var(--accent-hi); }
.reco { padding: 18px; display: flex; gap: 14px; align-items: center; }
.reco .ph { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.reco .main { flex: 1; min-width: 0; }
.reco b { display: block; font-size: 15px; font-weight: 600; }
.reco span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 12px; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); border-radius: 6px; box-shadow: 0 0 10px var(--accent-glow); }
.auth { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: calc(var(--hdr-h) + 40px) var(--gut) calc(var(--tab-h) + 50px); position: relative; }
.auth .bg { position: fixed; inset: 0; z-index: -1; }
.auth .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 5, .7), rgba(5, 5, 5, .85) 50%, #050505); }
.auth-card { width: 100%; max-width: 440px; padding: 28px 22px; }
.demo-hint { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: rgba(var(--accent-rgb), .08); border: 1px solid rgba(var(--accent-hi-rgb), .25); font-size: 13px; color: var(--muted); }
.demo-hint b { color: var(--text); }

/* ---------- prose (legal) ---------- */
.prose { max-width: 780px; color: rgba(236, 238, 245, .82); font-size: 15.5px; line-height: 1.7; }
.prose h2 { font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 12px; color: var(--text); line-height: 1.25; }
.prose h3 { font-size: 17px; margin: 24px 0 8px; color: var(--text); letter-spacing: -0.01em; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose mark { background: rgba(var(--accent-rgb), .18); color: var(--accent-light); padding: 1px 6px; border-radius: 6px; }
.prose a { color: var(--accent-hi); }
.note-box { padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(232, 176, 74, .3); background: rgba(232, 176, 74, .06); color: #f0d59e; font-size: 14px; margin-bottom: 28px; }

/* ---------- service page ---------- */
.svc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.svc-facts .tile b { font-size: 20px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.check-list li svg.i { color: var(--accent-hi); margin-top: 2px; width: 18px; height: 18px; }
.two-col { display: grid; gap: 40px; }

/* ---------- works grid ---------- */
.works-grid { display: grid; gap: 28px; }
.work h3 { font-size: 22px; letter-spacing: -0.02em; margin-top: 16px; }

/* ---------- 404 / offline ---------- */
.center-screen { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 120px var(--gut); position: relative; overflow: hidden; }
.big-404 { font-family: var(--serif); font-style: italic; font-size: clamp(120px, 26vw, 260px); line-height: .9; color: var(--silver); opacity: .9; }

/* =========================================================
   ADMIN
   ========================================================= */
.adm { display: grid; grid-template-columns: 1fr; min-height: 100vh; min-height: 100dvh; }
.adm-side {
  position: fixed; z-index: 70; inset: 0 auto 0 0; width: 272px; padding: 18px 14px; display: flex; flex-direction: column; gap: 4px;
  background: rgba(10, 10, 14, .92); border-right: 1px solid var(--line); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  transform: translateX(-102%); transition: transform .5s var(--ease-out); overflow-y: auto;
}
.adm-side.open { transform: none; box-shadow: 40px 0 80px rgba(0, 0, 0, .7); }
.adm-side .logo { padding: 8px 10px 20px; font-size: 15px; }
.adm-nav a { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 12px; font-size: 14px; color: var(--muted); transition: all .3s var(--ease); cursor: pointer; }@media (hover: hover) {
.adm-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }}
.adm-nav a.on { color: #fff; background: linear-gradient(90deg, rgba(var(--accent-rgb), .28), rgba(var(--accent-rgb), .06)); box-shadow: inset 1px 0 0 var(--accent-hi); }
.adm-nav a svg.i { width: 18px; height: 18px; }
.adm-nav a .cnt { margin-left: auto; min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; background: var(--accent); color: var(--on-accent); padding: 0 6px; }
.adm-nav .grp { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); padding: 16px 12px 6px; }
.adm-main { min-width: 0; padding: 14px 14px 80px; }
.adm-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 0 14px; margin: -14px 0 6px; background: linear-gradient(180deg, var(--bg) 70%, transparent); }
.adm-top h1 { font-size: 24px; letter-spacing: -0.025em; }
.adm-top .sp { flex: 1; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { padding: 16px; border-radius: 18px; }
.kpi span { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.kpi span svg.i { width: 15px; height: 15px; color: var(--accent-hi); }
.kpi b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--dim); font-size: 12px; }
.panel { padding: 18px; border-radius: 20px; }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-h h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.adm-grid { display: grid; gap: 14px; margin-top: 14px; }
.tbl-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.tbl th { text-align: left; font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); padding: 12px 14px; background: rgba(255, 255, 255, .025); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .25s; cursor: pointer; }@media (hover: hover) {
.tbl tbody tr:hover { background: rgba(var(--accent-rgb), .05); }}
.tbl .sub { display: block; font-size: 12.5px; color: var(--dim); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.filters .input, .filters .select { height: 42px; font-size: 14px; width: auto; min-width: 150px; }
.filters .input.grow { flex: 1; min-width: 200px; }
.cal { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
.cal-grid { display: grid; position: relative; min-width: 640px; }
.cal-h { position: sticky; top: 0; z-index: 2; padding: 10px; font-size: 13px; font-weight: 600; text-align: center; background: rgba(14, 14, 18, .95); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal-time { font-size: 11.5px; color: var(--dim); text-align: right; padding: 0 8px; transform: translateY(-7px); font-variant-numeric: tabular-nums; }
.cal-col { position: relative; border-left: 1px solid var(--line); }
.cal-line { position: absolute; left: 0; right: 0; border-top: 1px solid rgba(255, 255, 255, .05); }
.cal-ev {
  position: absolute; left: 4px; right: 4px; border-radius: 10px; padding: 6px 8px; font-size: 12px; overflow: hidden; cursor: pointer; line-height: 1.3;
  background: rgba(var(--accent-rgb), .16); border: 1px solid rgba(var(--accent-hi-rgb), .45); transition: box-shadow .3s, transform .3s; border-left-width: 3px;
}@media (hover: hover) {
.cal-ev:hover { box-shadow: 0 0 0 1px rgba(var(--accent-hi-rgb), .6), 0 10px 30px -10px var(--accent-glow); z-index: 3; }}
.cal-ev b { display: block; font-size: 12.5px; }
.cal-ev span { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev.pending { background: rgba(232, 176, 74, .1); border-color: rgba(232, 176, 74, .45); }
.cal-ev.done { background: rgba(60, 207, 142, .08); border-color: rgba(60, 207, 142, .4); }
.cal-ev.noshow { background: rgba(255, 90, 95, .08); border-color: rgba(255, 90, 95, .4); }
.cal-now { position: absolute; left: 0; right: 0; height: 2px; background: var(--accent-hi); box-shadow: 0 0 10px var(--accent-hi); z-index: 4; pointer-events: none; }
.week { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: 8px; overflow-x: auto; }
.week-day { padding: 12px; border-radius: 16px; min-height: 220px; }
.week-day h4 { font-size: 13px; font-weight: 600; margin-bottom: 10px; display: flex; justify-content: space-between; }
.week-day h4 span { color: var(--dim); font-weight: 400; }
.week-ev { padding: 8px 10px; border-radius: 10px; font-size: 12px; margin-bottom: 6px; border-left: 3px solid var(--accent-hi); background: rgba(255, 255, 255, .04); cursor: pointer; }
.week-ev.pending { border-left-color: var(--warn); }
.week-ev.done { border-left-color: var(--ok); }
.week-ev b { display: block; }
.week-ev span { color: var(--muted); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.client-head { display: flex; gap: 16px; align-items: center; }
.tag-list { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-list { display: grid; gap: 8px; }
.mini-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 14px; }
.mini-item .t { min-width: 0; }
.mini-item .t b { display: block; font-weight: 600; }
.mini-item .t span { display: block; color: var(--muted); font-size: 12.5px; }
.adm-backdrop { position: fixed; inset: 0; z-index: 65; background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .4s; }
.adm-backdrop.show { opacity: 1; pointer-events: auto; }
.code-box { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 14px; color: var(--muted); white-space: pre-wrap; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 600px) {
  :root { --gut: 28px; }
  .hscroll { grid-auto-columns: 46%; }
  .types { grid-auto-columns: 40%; }
  .revs { grid-auto-columns: 48%; }
  .adv { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .chain { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
  .chain-arrow { display: grid; place-items: center; color: var(--accent-hi); }
  .loyal-grid { grid-template-columns: repeat(3, 1fr); }
  .slots { grid-template-columns: repeat(6, 1fr); }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .ftr-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .ftr-brand { grid-column: auto; }
  .modal { border-radius: 28px; border-bottom: 1px solid var(--line-2); margin-bottom: auto; margin-top: auto; padding-bottom: 24px; }
  .overlay { align-items: center; padding: 20px; }
  .modal-grab { display: none; }
  .modal { padding-top: 24px; }
  .works-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  :root { --gut: 40px; --hdr-h: 68px; }
  .sec { padding: 120px 0; }
  .sec.tight { padding: 72px 0; }
  .hdr { left: 20px; right: 20px; top: 16px; padding: 0 10px 0 24px; }
  .hdr-nav { display: flex; }
  .hdr-actions { margin-left: 8px; }
  .hdr-actions .btn { display: inline-flex; }
  .tabbar { display: none; }
  main { padding-bottom: 0; }
  .ftr { padding-bottom: 56px; }
  .sticky-cta { bottom: 28px; left: auto; right: 28px; transform: translateY(20px); }
  .sticky-cta.show { transform: none; }
  .cookie { bottom: 24px; left: 24px; right: auto; margin: 0; }
  .toasts { top: auto; bottom: 24px; left: auto; right: 24px; justify-items: end; }
  .summary-bar { bottom: 24px; }
  .hscroll { grid-auto-flow: initial; grid-auto-columns: initial; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 18px; }
  .types.hscroll { grid-template-columns: repeat(5, 1fr); }
  .revs.hscroll { grid-template-columns: repeat(4, 1fr); }
  .adv { grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
  .adv-item { padding: 34px 4px; }
  .ba-wrap { grid-template-columns: 1.6fr 1fr; align-items: center; gap: 48px; }
  .process { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .proc { grid-template-columns: 1fr; padding: 0; }
  .proc::before { left: 44px; right: -20px; top: 21px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
  .pkgs { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .contact-grid { grid-template-columns: 1fr 1.3fr; align-items: stretch; }
  .map { min-height: 480px; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 64px; }
  .quick .card { padding: 26px 28px; display: grid; grid-template-columns: 280px 1fr; gap: 10px 32px; align-items: center; }
  .quick-top { margin: 0; }
  .quick-foot { grid-column: 1 / -1; }
  .chips { flex-wrap: nowrap; }
  .chip { flex: 1; min-width: 0; }
  .bk { max-width: 760px; margin: 0 auto; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .prof-wrap { max-width: 980px; margin: 0 auto; }
  .hero-content { padding-bottom: 56px; }
  .adm { grid-template-columns: 260px 1fr; }
  .adm-side { position: sticky; top: 0; height: 100vh; transform: none; width: auto; }
  .adm-main { padding: 22px 32px 60px; }
  .adm-top { margin: -22px 0 10px; padding-top: 22px; }
  .adm-burger { display: none !important; }
  .adm-grid.cols { grid-template-columns: 1.4fr 1fr; }
  .adm-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
  .kpis.k8 { grid-template-columns: repeat(4, 1fr); }
  .install .inner { margin-bottom: 24px; border-radius: 28px; border-bottom: 1px solid var(--line); }
}
@media (min-width: 1200px) {
  .hero-content { padding-bottom: 64px; }
  .h1 { font-size: 108px; }
}
@media (max-width: 380px) {
  .slots { grid-template-columns: repeat(3, 1fr); }
  .stat b { font-size: 36px; }
  .form-grid.two { grid-template-columns: 1fr; }
}
@media (hover: none) {
  .svc-card .svc-desc { max-height: none; opacity: 1; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv, .split .w { opacity: 1; transform: none; filter: none; }
}
@media (display-mode: standalone) {
  .hdr { top: calc(6px + var(--safe-t)); }
}

/* mobile refinements */
.prof-head p { white-space: nowrap; }
@media (max-width: 599px) {
  .reco { flex-wrap: wrap; }
  .reco > .btn { width: 100%; }
  .prof-head { flex-wrap: wrap; }
  .prof-head .info { min-width: 150px; }
  .prof-head h2 { font-size: 20px; }
  .bk-card .acts .btn { flex: 1 1 auto; }
  .adm-top .btn span { display: none; }
}
.adm-main { overflow-x: clip; }
#stHours .row > span:first-child { flex: 0 0 96px; width: auto !important; font-size: 13.5px; }
#stHours .input { min-width: 0; padding: 0 8px; }
.filters .input[type=date] { min-width: 0; }
@media (max-width: 599px) { .mini-item { flex-wrap: wrap; } .mini-item .t { flex: 1 1 200px; } }

/* spacing / overflow fixes */
.adm-nav { display: grid; gap: 4px; }
.form-grid > *, .field, .field > * { min-width: 0; }
.select { text-overflow: ellipsis; }
.btn { max-width: 100%; }
.form-grid .btn, .panel .btn-block, .modal-foot .btn { white-space: normal; text-align: center; line-height: 1.2; }
.step > .glass.card + .row { margin-top: 12px; }
.hdr-nav { gap: 8px; }
.modal .form-grid.two > * { min-width: 0; }
.modal-body { min-width: 0; }

/* =========================================================
   v2: бренд, видео, мастера, оценки, лист ожидания, CRM+
   ========================================================= */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-video.on { opacity: 1; }
.logo-img { object-fit: contain; border-radius: 8px; width: 34px; height: 34px; }
.no-accent-it .it.blue { color: var(--silver); text-shadow: none; }

/* мастера */
.team-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.master { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; transition: border-color .5s var(--ease), box-shadow .5s var(--ease); }@media (hover: hover) {
.master:hover { border-color: rgba(var(--accent-hi-rgb), .45); box-shadow: 0 30px 70px -30px rgba(var(--accent-rgb), .5); }}
.master .ph { aspect-ratio: 4 / 5; }
.master .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 5, 5, .9)); }
.master .ph img { filter: grayscale(.25) contrast(1.05); }@media (hover: hover) {
.master:hover .ph img { transform: scale(1.05); filter: grayscale(0) contrast(1.05); }}
.master-body { padding: 18px 20px 20px; display: grid; gap: 12px; margin-top: -64px; position: relative; z-index: 1; }
.master-body h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.master-body .role { color: var(--muted); font-size: 14px; }
.master-exp { display: flex; align-items: baseline; gap: 8px; }
.master-exp b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 40px; line-height: 1; }
.master-exp span { color: var(--muted); font-size: 13px; }
.cert { display: flex; flex-wrap: wrap; gap: 6px; }
.cert span { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.master-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 13.5px; color: var(--muted); cursor: pointer; transition: all .35s var(--ease); flex: none; }
.master-chip .mini-ava { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex: none; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 12px; color: var(--text); }
.master-chip .mini-ava img { width: 100%; height: 100%; object-fit: cover; }
.master-chip.on { color: var(--text); border-color: rgba(var(--accent-hi-rgb), .8); background: rgba(var(--accent-rgb), .16); }
.master-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 10px; }
.master-row::-webkit-scrollbar { display: none; }

/* оценка визита */
.rate-card { padding: 20px; display: grid; gap: 14px; }
.stars-in { display: flex; gap: 6px; }
.stars-in button { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--dim); border: 1px solid var(--line); transition: all .25s var(--ease); }
.stars-in button svg.i { width: 22px; height: 22px; }
.stars-in button.on { color: var(--warn); border-color: rgba(232, 176, 74, .45); background: rgba(232, 176, 74, .08); }
.stars-in button.on svg.i { fill: currentColor; }

/* лист ожидания */
.wait-card { display: flex; gap: 14px; align-items: center; padding: 16px 18px; margin-top: 18px; }
.wait-card .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-hi); flex: none; }
@media (max-width: 599px) { .wait-card { flex-wrap: wrap; } .wait-card .btn { width: 100%; } }

/* аналитика */
.chart { width: 100%; display: block; overflow: visible; }
.chart .bar { fill: var(--accent-hi); transition: opacity .2s; cursor: pointer; }@media (hover: hover) {
.chart .bar:hover { opacity: .72; }}
.chart .grid line { stroke: rgba(255,255,255,.06); }
.chart text { fill: var(--dim); font-size: 11px; font-family: var(--font); }
.chart-tip { position: fixed; z-index: 130; pointer-events: none; padding: 8px 12px; border-radius: 10px; font-size: 12.5px; background: rgba(18,18,24,.95); border: 1px solid var(--line-2); box-shadow: 0 10px 30px rgba(0,0,0,.6); opacity: 0; transition: opacity .15s; white-space: nowrap; color: var(--muted); }
.chart-tip b { display: block; font-size: 14px; color: var(--text); }
.hbar { display: grid; grid-template-columns: minmax(110px, 34%) 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; padding: 6px 0; }
.hbar .track { height: 10px; border-radius: 0 4px 4px 0; background: rgba(255,255,255,.04); overflow: hidden; }
.hbar .track i { display: block; height: 100%; background: var(--accent-hi); border-radius: 0 4px 4px 0; }
.hbar .v { color: var(--muted); font-variant-numeric: tabular-nums; }
.delta { font-size: 12px; margin-left: 6px; font-weight: 500; }
.delta.up { color: var(--ok); } .delta.down { color: #ff9a9d; }

/* мастер в CRM */
.stage-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stage-row button { min-height: 40px; padding: 4px 6px; border-radius: 12px; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); transition: all .3s var(--ease); line-height: 1.2; }
.stage-row button.on { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.stage-row button.done { color: var(--ok); border-color: rgba(60, 207, 142, .35); }
@media (max-width: 420px) { .stage-row { grid-template-columns: 1fr 1fr; } }
.role-badge { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 4px 10px 14px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.days-pick { display: flex; gap: 6px; flex-wrap: wrap; }
.days-pick label { cursor: pointer; position: relative; }
.days-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.days-pick span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); transition: all .25s; }
.days-pick input:checked + span { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.drop { border: 1px dashed var(--line-2); border-radius: 16px; padding: 22px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .3s, background .3s; }@media (hover: hover) {
.drop:hover, .drop.over { border-color: rgba(var(--accent-hi-rgb), .7); background: rgba(var(--accent-rgb), .06); }}

/* =========================================================
   БРЕНД-СТУДИЯ
   ========================================================= */
.studio { display: grid; grid-template-columns: 1fr; min-height: 100vh; min-height: 100dvh; }
.studio-panel { padding: 18px 16px 120px; border-right: 1px solid var(--line); background: rgba(10, 10, 14, .9); min-width: 0; }
.studio-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.studio-head h1 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.studio-sec { border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; background: rgba(255,255,255,.02); }
.studio-sec > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; font-weight: 600; font-size: 15px; }
.studio-sec > summary::-webkit-details-marker { display: none; }
.studio-sec > summary .i { color: var(--accent-hi); }
.studio-sec > summary .chev { margin-left: auto; color: var(--dim); transition: transform .4s var(--ease); }
.studio-sec[open] > summary .chev { transform: rotate(180deg); }
.studio-sec .inner { padding: 0 18px 18px; display: grid; gap: 14px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 40px; height: 40px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; position: relative; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); transition: transform .2s; }@media (hover: hover) {
.swatch:hover { transform: translateY(-2px); }}
.swatch.on { border-color: #fff; }
.swatch.custom { display: grid; place-items: center; background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); overflow: hidden; }
.swatch.custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.font-opt { display: grid; gap: 8px; }
.font-opt button { text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: all .3s; }
.font-opt button.on { border-color: rgba(var(--accent-hi-rgb), .8); background: rgba(var(--accent-rgb), .1); }
.font-opt .sample { font-size: 20px; letter-spacing: -0.02em; display: block; }
.font-opt .sample i { font-style: italic; }
.font-opt small { display: block; color: var(--dim); font-size: 12px; margin-top: 2px; }
.gallery-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.gallery-pick button { aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; }
.gallery-pick button.on { border-color: var(--accent-hi); }
.gallery-pick img { width: 100%; height: 100%; object-fit: cover; }
.studio-preview { position: relative; display: none; background: radial-gradient(80% 60% at 50% 0%, rgba(var(--accent-rgb), .08), transparent), #08080b; min-width: 0; }
.preview-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(8, 8, 11, .9); flex-wrap: wrap; }
.preview-stage { display: grid; place-items: start center; padding: 24px; height: calc(100vh - 69px); overflow: hidden; }
.device { position: relative; border-radius: 34px; border: 1px solid var(--line-2); overflow: hidden; background: #000; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 0 8px rgba(255,255,255,.03); transform-origin: top center; }
.device iframe { width: 100%; height: 100%; border: 0; display: block; background: #050505; }
.device.desk { border-radius: 14px; }
.profile-list { display: grid; gap: 8px; }
.profile-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.profile-item.on { border-color: rgba(var(--accent-hi-rgb), .7); }
.profile-item .sw { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.profile-item .t { flex: 1; min-width: 0; }
.profile-item .t b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-item .t span { font-size: 12px; color: var(--dim); }
.studio-save { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: flex; gap: 8px; padding: 10px; border-radius: 22px; max-width: 520px; }
.studio-save .btn { flex: 1; }
.range-row { display: flex; align-items: center; gap: 12px; }
.range-row input[type=range] { flex: 1; accent-color: var(--accent); }
.range-row b { min-width: 52px; text-align: right; font-variant-numeric: tabular-nums; }
.mobile-preview { position: fixed; inset: 0; z-index: 110; background: #000; display: none; }
.mobile-preview.show { display: block; }
.mobile-preview iframe { width: 100%; height: 100%; border: 0; }
.mobile-preview .circle-btn { position: absolute; top: 12px; right: 12px; z-index: 2; }
@media (min-width: 1000px) {
  .studio { grid-template-columns: 440px 1fr; }
  .studio-panel { height: 100vh; overflow-y: auto; padding-bottom: 110px; }
  .studio-preview { display: block; }
  .studio-save { left: 16px; right: auto; width: 408px; }
  .mobile-preview-btn { display: none !important; }
}

.tbl .sub { margin-top: 3px; }

.profile-item.viewing { border-color: rgba(232, 176, 74, .55); background: rgba(232, 176, 74, .05); }
.studio .profile-item { flex-wrap: wrap; }
.studio .profile-item .t { flex: 1 1 170px; }
.studio .profile-item > .row { margin-left: auto; }
.studio-panel { overflow-x: hidden; }
.studio .profile-item .t span { white-space: normal; }

/* =========================================================
   v3 — «ЛАК»: дорогой глянец вместо стекла с обводкой.
   Поверхности — глубокий чёрный лак без контуров,
   с мягким бликом сверху и проходящим отражением при наведении.
   ========================================================= */
:root {
  --lacquer: linear-gradient(180deg, #15161b 0%, #0d0e12 46%, #0a0a0d 100%);
  --lacquer-hi: linear-gradient(180deg, #1b1c22 0%, #111216 50%, #0c0c10 100%);
  --clearcoat: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 -1px 0 rgba(0, 0, 0, .6);
  --depth: 0 1px 2px rgba(0, 0, 0, .5), 0 24px 48px -28px rgba(0, 0, 0, .9);
  --sapphire: linear-gradient(180deg, var(--accent-hi) 0%, color-mix(in srgb, var(--accent) 78%, var(--accent-hi)) 18%, var(--accent) 52%, var(--accent-deep) 54%, var(--accent) 100%);
  --chrome-text: linear-gradient(180deg, #ffffff 0%, #f1f2f6 45%, #b9bdc9 100%);
}

/* --- поверхности --- */
.glass, .card.glass {
  background: var(--lacquer);
  border: 0 !important;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: var(--clearcoat), var(--depth);
  position: relative; isolation: isolate; overflow: hidden;
}
/* отражение на лаке — диагональный мягкий блик */
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .055) 0%, rgba(255, 255, 255, .012) 28%, transparent 46%);
}
.edge-glow::after { display: none; }@media (hover: hover) {
.card.hov:hover, .glass.hov:hover { border: 0; box-shadow: var(--clearcoat), 0 30px 60px -26px rgba(0, 0, 0, .95), 0 0 0 1px rgba(var(--accent-hi-rgb), .18); }}

/* проход света при наведении — как по свежей полировке */
.shine, .btn-primary, .svc-card, .pkg, .type, .rev, .master, .loyal-item, .reco, .chain-step, .opt, .kpi, .tile {
  --shine-x: -120%;
}
.btn-primary::before, .svc-card::before, .pkg::after, .type::before, .master::before, .opt::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .0) 30%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, 0) 70%, transparent 100%);
  transform: translateX(-160%) skewX(-12deg); transition: none;
}@media (hover: hover) {
.btn-primary:hover::before, .svc-card:hover::before, .pkg:hover::after, .type:hover::before, .master:hover::before, .opt:hover::before {
  transform: translateX(260%) skewX(-12deg); transition: transform 1.1s var(--ease-out);
}}
.opt { position: relative; overflow: hidden; }

/* --- кнопки --- */
.btn-primary {
  background: var(--sapphire); border: 0; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .6), 0 14px 30px -14px rgba(var(--accent-rgb), .75);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
}@media (hover: hover) {
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .6), 0 18px 40px -12px rgba(var(--accent-rgb), .85); filter: brightness(1.06); }}
.btn-ghost {
  background: var(--lacquer-hi); border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 -1px 0 rgba(0, 0, 0, .5), 0 1px 2px rgba(0, 0, 0, .5);
}@media (hover: hover) {
.btn-ghost:hover { background: linear-gradient(180deg, #202129 0%, #15161b 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px rgba(var(--accent-hi-rgb), .35), 0 10px 24px -14px rgba(var(--accent-rgb), .6); }}
.btn-white { background: linear-gradient(180deg, #ffffff, #e4e6ec); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15), 0 10px 30px -12px rgba(255, 255, 255, .3); border: 0; }
.btn-danger { border: 0; background: linear-gradient(180deg, #1d1214, #140c0d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.circle-btn {
  border: 0; background: var(--lacquer-hi); -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 -1px 0 rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .5);
}@media (hover: hover) {
.circle-btn.blue, a:hover > .circle-btn, .circle-btn:hover { background: var(--sapphire); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px -8px rgba(var(--accent-rgb), .8); }}

/* --- шапка и нижнее меню --- */
.hdr.scrolled, .hdr.solid {
  background: rgba(9, 9, 12, .82); border: 0;
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 40px -20px rgba(0, 0, 0, .9);
}
.tabbar {
  background: linear-gradient(180deg, rgba(24, 25, 31, .92) 0%, rgba(12, 12, 16, .94) 100%); border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 1px 0 rgba(0, 0, 0, .8), 0 24px 50px -12px rgba(0, 0, 0, .95);
}
.tab-ind { background: var(--sapphire); border: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 22px -6px rgba(var(--accent-rgb), .8); }

/* --- чипы, варианты, даты, слоты --- */
.chip, .opt, .date, .slot, .brand-chips button, .master-chip, .stars-in button, .stage-row button, .seg {
  border: 0 !important; background: var(--lacquer);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -1px 0 rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .5);
}@media (hover: hover) {
.chip:hover, .opt:hover, .date:hover, .slot:hover { background: var(--lacquer-hi); }}
.chip.on, .opt.on, .date.on, .master-chip.on {
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .34) 0%, rgba(var(--accent-rgb), .16) 50%, rgba(var(--accent-rgb), .1) 100%), #0d0e14;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(var(--accent-hi-rgb), .45), 0 10px 26px -14px rgba(var(--accent-rgb), .8);
}
.slot.on, .brand-chips button.on, .stage-row button.on, .days-pick input:checked + span { background: var(--sapphire); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 20px -8px rgba(var(--accent-rgb), .8); }
.seg { padding: 4px; }
.seg button.on { background: linear-gradient(180deg, #24252d, #17181d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 2px 6px rgba(0, 0, 0, .5); }
.seg button.on.blue { background: var(--sapphire); }
.opt.on .radio, .check input:checked + .box { background: var(--sapphire); border-color: transparent; }

/* --- поля ввода --- */
.input, .select, .textarea {
  border: 0; background: #0c0d11;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 1px 0 rgba(255, 255, 255, .04);
}
.input:focus, .select:focus, .textarea:focus { background: #0e0f14; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(var(--accent-hi-rgb), .8), 0 0 0 4px rgba(var(--accent-rgb), .18); }
.check .box { border: 0; background: #0c0d11; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .12); }

/* --- карточки контента --- */
.svc-card, .type, .ba, .map, .master { border: 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .08); }@media (hover: hover) {
.svc-card:hover, .type:hover, .master:hover { border: 0; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 1), 0 0 0 1px rgba(var(--accent-hi-rgb), .3), 0 30px 70px -40px rgba(var(--accent-rgb), .7); }}@media (hover: hover) {
.svc-card:hover .ph img, .type:hover .ph img { transform: scale(1.05); filter: saturate(1.08) contrast(1.05); }}
.pkg.featured { background: linear-gradient(180deg, rgba(var(--accent-rgb), .22) 0%, rgba(var(--accent-rgb), .06) 38%, transparent 70%), var(--lacquer); box-shadow: var(--clearcoat), inset 0 0 0 1px rgba(var(--accent-hi-rgb), .35), 0 40px 80px -40px rgba(var(--accent-rgb), .55); }
.pkg .tag { background: var(--sapphire); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.pkg-price, .quick-foot, .rev-foot, .faq, .faq details, .adv, .adv-item, .c-row, .kv > div, .list-row, .check-list li, .ba-info, .ba-info div { border-color: rgba(255, 255, 255, .06) !important; }
.ava { border: 0; background: linear-gradient(180deg, #2a2c35, #15161b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.faq summary .pm { border: 0; background: var(--lacquer-hi); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 2px 6px rgba(0, 0, 0, .5); }
.faq details[open] summary .pm { background: var(--sapphire); }
.proc-dot { border: 0; background: var(--lacquer-hi); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 4px 12px rgba(0, 0, 0, .6); }
.proc.in .proc-dot { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px rgba(var(--accent-hi-rgb), .45), 0 8px 24px -8px rgba(var(--accent-rgb), .7); }
.loyal-item .ic, .list-row .ic.blue, .wait-card .ic { border: 0; background: linear-gradient(180deg, rgba(var(--accent-rgb), .3), rgba(var(--accent-rgb), .12)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.level, .cert span, .pill { border: 0 !important; background: rgba(255, 255, 255, .05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.st-pending { background: rgba(232, 176, 74, .12); } .st-confirmed { background: rgba(var(--accent-rgb), .2); } .st-done { background: rgba(60, 207, 142, .12); } .st-noshow { background: rgba(255, 90, 95, .12); }
.empty { border: 0; background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }

/* --- модалки, тосты, шторки --- */
.modal, .install .inner, .toast, .cookie, .summary-bar, .studio-save {
  border: 0 !important; background: linear-gradient(180deg, rgba(26, 27, 33, .97), rgba(13, 13, 17, .98)) !important;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 -1px 0 rgba(0, 0, 0, .6), 0 40px 90px -20px rgba(0, 0, 0, .95) !important;
}

/* --- CRM и студия --- */
.adm-side { border: 0; background: linear-gradient(180deg, #0f1014, #09090c); box-shadow: inset -1px 0 0 rgba(255, 255, 255, .04); }
.adm-nav a.on { background: linear-gradient(90deg, rgba(var(--accent-rgb), .3), rgba(var(--accent-rgb), .06)); box-shadow: inset 2px 0 0 var(--accent-hi); }
.tbl-wrap, .cal { border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.tbl th { background: rgba(255, 255, 255, .025); border-color: rgba(255, 255, 255, .05); }
.tbl td { border-color: rgba(255, 255, 255, .04); }
.mini-item, .profile-item, .studio-sec, .week-day, .code-box { border: 0 !important; background: var(--lacquer); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 1px 2px rgba(0, 0, 0, .5); }
.cal-ev { border-width: 0 0 0 3px; background: rgba(var(--accent-rgb), .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.studio-panel { border: 0; background: linear-gradient(180deg, #0f1014, #09090c); box-shadow: inset -1px 0 0 rgba(255, 255, 255, .04); }

/* --- типографика: хромированный заголовок и синий курсив --- */
.h1 .w, .h2 .w { background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.it, .h1 .it, .h2 .it, .h3 .it {
  color: var(--accent-hi);
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent-hi) 55%, var(--accent-hi) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none;
}
.it .w, .h1 .it .w, .h2 .it .w { background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent-hi) 55%, var(--accent-hi) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.no-accent-it .it, .no-accent-it .it .w { background: linear-gradient(180deg, #fff, #b9bdc9); -webkit-background-clip: text; background-clip: text; }
.stat b { background: linear-gradient(180deg, #fff 0%, #c9ccd6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow::before { background: var(--accent-hi); box-shadow: 0 0 10px rgba(var(--accent-hi-rgb), .8); }

/* --- первый экран --- */
.hero-counter.live { gap: 10px; }
.hero-counter.live::after { display: none; }
.hero-counter b { color: var(--text); font-weight: 600; }
.hero-counter em { font-style: normal; color: var(--dim); margin-left: 6px; }
.hc-bar { position: relative; display: inline-block; width: 64px; height: 2px; background: rgba(255, 255, 255, .15); border-radius: 2px; overflow: hidden; margin-left: 8px; }
.hc-bar i { position: absolute; inset: 0; background: var(--accent-hi); transform-origin: left; animation: hcBar linear forwards; box-shadow: 0 0 8px var(--accent-hi); }
@keyframes hcBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-video { transition: opacity 1.8s var(--ease); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg.i { width: 16px; height: 16px; color: var(--accent-hi); }
.hero-trust b { color: var(--text); font-weight: 600; }

/* --- программа под автомобиль --- */
.prog { display: grid; gap: 18px; }
.prog-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.prog-tabs::-webkit-scrollbar { display: none; }
.prog-tabs button { flex: none; height: 46px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; color: var(--muted); background: var(--lacquer); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 1px 2px rgba(0, 0, 0, .5); transition: color .3s, background .3s; }@media (hover: hover) {
.prog-tabs button:hover { color: var(--text); }}
.prog-tabs button.on { color: #fff; background: var(--sapphire); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 24px -10px rgba(var(--accent-rgb), .8); }
.prog-card { display: grid; gap: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--lacquer); box-shadow: var(--clearcoat), var(--depth); }
.prog-card .ph { aspect-ratio: 16 / 10; }
.prog-card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 13, .95)); }
.prog-body { padding: 22px; display: grid; gap: 16px; animation: stepIn .6s var(--ease-out); }
.prog-pain { font-size: 15.5px; color: var(--muted); margin: 0; }
.prog-pain b { color: var(--text); font-weight: 600; }
.prog-list { display: grid; gap: 8px; }
.prog-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); font-size: 15px; }
.prog-item span { color: var(--muted); font-size: 13.5px; display: block; }
.prog-item .price { flex: none; }
.prog-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
.prog-foot .sum b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.prog-foot .sum span { font-size: 13px; color: var(--dim); }
@media (min-width: 900px) {
  .prog-card { grid-template-columns: 1.05fr 1fr; }
  .prog-card .ph { aspect-ratio: auto; min-height: 100%; }
  .prog-card .ph::after { background: linear-gradient(90deg, transparent 55%, rgba(10, 10, 13, .9)); }
  .prog-body { padding: 36px; align-content: center; }
}

/* --- отзывы: шапка рейтинга и бегущая лента --- */
.rating-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-bottom: 26px; }
.rating-big { display: flex; align-items: baseline; gap: 10px; }
.rating-big b { font-size: 56px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating-big .rev-stars svg.i { width: 18px; height: 18px; color: #f2c14e; }
.rating-src { display: flex; gap: 8px; flex-wrap: wrap; }
.rating-src span { font-size: 13px; padding: 8px 12px; border-radius: 999px; background: var(--lacquer); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); color: var(--muted); }
.rating-src b { color: var(--text); }
.rev-stars { color: #f2c14e; }
.rev .rev-svc { font-size: 12px; color: var(--accent-hi); letter-spacing: .02em; }
.proof-strip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--lacquer); box-shadow: var(--clearcoat); margin: 0 0 18px; font-size: 13.5px; color: var(--muted); }
.proof-strip .rev-stars svg.i { width: 13px; height: 13px; }
.proof-strip b { color: var(--text); }
.certs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.certs span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); padding: 10px 14px; border-radius: 12px; background: var(--lacquer); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }

/* --- паспорт автомобиля --- */
.car-pass { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.car-pass div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); font-size: 14px; }
.car-pass span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
.sync-badge { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dim); padding: 6px 12px; }
.sync-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.sync-badge.online i { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.sync-badge.offline i { background: var(--warn); }

/* фиксированные стеклянные панели остаются фиксированными */
.cookie.glass, .summary-bar.glass, .studio-save.glass { position: fixed; overflow: visible; }
.quick .card { grid-template-columns: minmax(300px, 340px) 1fr; }
@media (max-width: 899px) { .quick .card { grid-template-columns: none; } }
.hero-counter { white-space: nowrap; }
@media (max-width: 599px) { .hero .scroll-hint { display: none; } .hero-counter em { display: none; } .hero .hero-meta { justify-content: flex-start; margin-top: 20px; } .hero-trust { gap: 8px 16px; font-size: 13px; } }

/* =========================================================
   v4 — прелоадер, затемнение героя, студийная тема, эффекты,
   иконки услуг, карусель, соцвиджеты, чат, реферал
   ========================================================= */
:root { --bg-rgb: 5, 5, 5; }

/* ---------- ПРЕЛОАДЕР ---------- */
html.pre { overflow: hidden; }
#pre { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; color: #f4f4f6; font-family: var(--font); pointer-events: all; --pre-hi: #bac1ce; }
#pre .pre-panel { position: absolute; left: 0; right: 0; height: 50.6%; background: #050505; transition: transform 1.05s cubic-bezier(.76, 0, .24, 1); z-index: 0; }
#pre .pre-panel.top { top: 0; } #pre .pre-panel.bot { bottom: 0; }
#pre .pre-panel::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--pre-hi), transparent); opacity: 0; transition: opacity .3s; }
#pre .pre-panel.top::after { bottom: 0; } #pre .pre-panel.bot::after { top: 0; }
#pre .pre-halo { position: absolute; z-index: 0; width: 60vmin; height: 60vmin; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--pre-rgb, 167, 176, 192), .35), transparent); filter: blur(10px); animation: preHalo 3s ease-in-out infinite alternate; }
@keyframes preHalo { from { opacity: .5; transform: scale(.9); } to { opacity: 1; transform: scale(1.08); } }
#pre .pre-stack { position: relative; z-index: 1; display: grid; place-items: center; transition: opacity .55s ease, transform .9s cubic-bezier(.76, 0, .24, 1), filter .55s; }
#pre.out .pre-stack { opacity: 0; transform: scale(1.12); filter: blur(8px); }
#pre.out .pre-panel.top { transform: translateY(-101%); } #pre.out .pre-panel.bot { transform: translateY(101%); }
#pre.out .pre-panel::after { opacity: 1; }
#pre.gone { display: none; }
.pre-core { position: relative; width: 136px; height: 136px; display: grid; place-items: center; }
.pre-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.pre-ring circle { fill: none; }
.pre-ring .r0 { stroke: rgba(255, 255, 255, .13); stroke-width: 1.2; }
.pre-ring .r1 { stroke: var(--pre-hi); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: calc(339.3 - 339.3 * var(--p, 0)); transition: stroke-dashoffset .25s linear; filter: drop-shadow(0 0 7px var(--pre-hi)); }
.pre-ring .r2 { stroke: rgba(255, 255, 255, .5); stroke-width: 1; stroke-dasharray: 1.5 9; transform-origin: 60px 60px; animation: preSpin 9s linear infinite; }
@keyframes preSpin { to { transform: rotate(360deg); } }
.pre-mono { font-size: 50px; font-weight: 300; line-height: 1; letter-spacing: .02em; opacity: 0; filter: blur(12px); background: linear-gradient(105deg, #7e808c 0%, #7e808c 38%, #ffffff 50%, #7e808c 62%, #7e808c 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: preMono 1.1s .25s cubic-bezier(.16, 1, .3, 1) forwards, preGleam 2.2s .9s ease-in-out infinite; }
.pre-mono img { width: 56px; height: 56px; object-fit: contain; display: block; -webkit-text-fill-color: initial; }
@keyframes preMono { to { opacity: 1; filter: blur(0); } }
@keyframes preGleam { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.pre-name { margin-top: 30px; display: flex; gap: .62em; font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #c9ccd6; padding-left: .6em; }
.pre-name span { opacity: 0; transform: translateY(10px); filter: blur(7px); animation: preLetter .9s var(--d, 0s) cubic-bezier(.16, 1, .3, 1) forwards; }
@keyframes preLetter { to { opacity: 1; transform: none; filter: none; } }
.pre-tag { margin-top: 10px; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: rgba(236, 238, 245, .42); opacity: 0; animation: preLetter 1s 1s forwards; }
.pre-bar { margin-top: 34px; width: min(240px, 60vw); height: 1px; background: rgba(255, 255, 255, .13); position: relative; }
.pre-bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, transparent, var(--pre-hi) 40%, #fff); box-shadow: 0 0 12px var(--pre-hi); transition: transform .25s linear; }
.pre-count { margin-top: 14px; font-size: 11.5px; letter-spacing: .34em; color: rgba(236, 238, 245, .5); font-variant-numeric: tabular-nums; padding-left: .34em; }

/* ---------- ПЕРВЫЙ ЭКРАН: затемнение под текст ---------- */
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(5, 5, 5, .34); pointer-events: none; }
.hero-media .ph { z-index: 0; }
.hero-video, .hero-media .ph img { filter: brightness(.68) saturate(1.05) contrast(1.04); }
.hero-media::after {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, .74) 0%, rgba(5, 5, 5, .4) 22%, rgba(5, 5, 5, .5) 52%, rgba(5, 5, 5, .86) 80%, var(--bg) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, .8) 0%, rgba(5, 5, 5, .46) 52%, rgba(5, 5, 5, .16) 100%);
}
.hero h1 { filter: drop-shadow(0 6px 34px rgba(0, 0, 0, .6)); }
.hero .lead, .hero .eyebrow, .hero-trust, .slot-line { text-shadow: 0 1px 18px rgba(0, 0, 0, .65); }
.hero .lead { color: rgba(240, 242, 248, .84); }
.phero .hero-media::before { background: rgba(5, 5, 5, .22); }
.final .hero-media::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 5, 5, .5) 30%, rgba(5, 5, 5, .58) 70%, var(--bg) 100%); }

/* ---------- ВИДЖЕТЫ: иконки услуг ---------- */
svg.i .g { stroke: var(--accent-hi); }
.svc-ic { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(8, 8, 11, .62); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 16px rgba(0, 0, 0, .5); color: #fff; z-index: 2; }
.svc-ic svg.i { width: 23px; height: 23px; stroke-width: 1.5; }
.chip svg.i { width: 24px; height: 24px; stroke-width: 1.45; }
.prog-item .pi-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .04); flex: none; }
.prog-item .pi-ic svg.i { width: 22px; height: 22px; stroke-width: 1.5; }
.prog-item > .pi-t { flex: 1; min-width: 0; }
.prog-item { gap: 14px; }

/* ---------- КАРУСЕЛЬ ОТЗЫВОВ (ручная, без автопрокрутки) ---------- */
.carousel { position: relative; }
.car-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; padding: 6px var(--gut) 14px; margin: 0 calc(var(--gut) * -1); scroll-padding: 0 var(--gut); }
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { scroll-snap-align: start; flex: none; width: min(84vw, 340px); }
.car-nav { display: none; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.car-nav .circle-btn[disabled] { opacity: .35; pointer-events: none; }
.car-hint { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--dim); margin-top: 6px; }
@media (min-width: 900px) { .car-nav { display: flex; } .car-hint { display: none; } .car-track > * { width: 340px; } }

/* ---------- СВЕТОВЫЕ ПОЛОСЫ (softbox) ---------- */
.softbox { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; --mx: 0; --my: 0; }
.softbox i { position: absolute; top: -20vh; height: 150vh; transform: translate3d(calc(var(--mx) * var(--k, 30px)), calc(var(--my) * 14px), 0) skewX(-16deg); will-change: transform; }
.softbox i:nth-child(1) { left: 6%; width: 22vw; --k: 38px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .042), transparent); animation: sbDrift 16s ease-in-out infinite alternate; }
.softbox i:nth-child(2) { left: 46%; width: 9vw; --k: -24px; background: linear-gradient(90deg, transparent, rgba(var(--accent-hi-rgb), .07), transparent); animation: sbDrift 22s ease-in-out infinite alternate-reverse; }
.softbox i:nth-child(3) { left: 74%; width: 18vw; --k: 52px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .03), transparent); animation: sbDrift 19s ease-in-out infinite alternate; }
@keyframes sbDrift { from { margin-left: -2vw; opacity: .7; } to { margin-left: 3vw; opacity: 1; } }
main { position: relative; z-index: 1; }
body[data-page="admin"] .softbox, body[data-page="brand"] .softbox { display: none; }

/* ---------- КУРСОР-КАПЛЯ ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select, html.has-cursor [contenteditable] { cursor: text !important; }
.cur-drop, .cur-ring { position: fixed; left: 0; top: 0; z-index: 10000; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: difference; will-change: transform; }
.cur-on .cur-drop, .cur-on .cur-ring { opacity: 1; }
.cur-hide .cur-drop, .cur-hide .cur-ring { opacity: 0; }
.cur-drop { width: 16px; height: 16px; background: #fff; border-radius: 0 50% 50% 50%; transform-origin: 0 0; }
.cur-drop::after { content: ""; position: absolute; left: 4px; top: 4px; width: 4px; height: 4px; border-radius: 50%; background: rgba(0, 0, 0, .35); }
.cur-ring { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); margin: -22px 0 0 -22px; transition: width .35s cubic-bezier(.16, 1, .3, 1), height .35s cubic-bezier(.16, 1, .3, 1), margin .35s cubic-bezier(.16, 1, .3, 1), background .3s, opacity .3s; }
.cur-hov .cur-ring { width: 68px; height: 68px; margin: -34px 0 0 -34px; background: rgba(255, 255, 255, .9); border-color: transparent; }
.cur-press .cur-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .cur-drop, .cur-ring { display: none; } }

/* ---------- ПЕРЕХОДЫ МЕЖДУ СТРАНИЦАМИ ---------- */
@media (min-width: 900px) and (pointer: fine) { @view-transition { navigation: auto; } }
.hdr { view-transition-name: hdr; }
.tabbar { view-transition-name: tabbar; }
#svImg { view-transition-name: svc-hero; }
::view-transition-old(root) { animation: .28s ease both vtOut; }
::view-transition-new(root) { animation: .5s cubic-bezier(.16, 1, .3, 1) both vtIn; }
::view-transition-group(svc-hero) { animation-duration: .7s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
@keyframes vtOut { to { opacity: 0; transform: scale(.992); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
body { animation-duration: .35s; }
::view-transition-group(theme) { animation-duration: .5s; }

/* ---------- ПАНЕЛЬ «ВИД И ЗВУК» В ПОДВАЛЕ ---------- */
.ftr-fx { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 18px 0 0; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.ftr-fx .seg button { height: 34px; padding: 0 14px; font-size: 13px; }
.ftr-fx label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.theme-toggle { position: relative; }
.theme-toggle svg.i { transition: transform .5s var(--ease); }@media (hover: hover) {
.theme-toggle:hover svg.i { transform: rotate(18deg); }}

/* ---------- СОЦСЕТИ В ПОДВАЛЕ ---------- */
.ftr-social { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-bottom: 46px; }
.soc { position: relative; padding: 18px; border-radius: 22px; background: var(--lacquer); box-shadow: var(--clearcoat), var(--depth); display: grid; gap: 14px; align-content: start; overflow: hidden; }
.soc-head { display: flex; align-items: center; gap: 12px; }
.soc-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.soc-ic svg { width: 24px; height: 24px; }
.soc-ic.tg { background: linear-gradient(180deg, #37b4f0, #1d93d2); } .soc-ic.ig { background: linear-gradient(45deg, #f9a03f, #e1306c 55%, #7b3fd0); } .soc-ic.vk { background: linear-gradient(180deg, #2a8cff, #0066e0); } .soc-ic.wa { background: linear-gradient(180deg, #3ddc84, #1faa59); }
.soc-head b { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.soc-head span { display: block; font-size: 12.5px; color: var(--dim); }
.soc-post { display: block; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); font-size: 13.5px; line-height: 1.45; color: var(--muted); transition: background .3s; }@media (hover: hover) {
.soc-post:hover { background: rgba(255, 255, 255, .06); }}
.soc-post small { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11.5px; color: var(--dim); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 14px; overflow: hidden; }
.ig-grid a { aspect-ratio: 1; overflow: hidden; display: block; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }@media (hover: hover) {
.ig-grid a:hover img { transform: scale(1.08); }}
.vk-cover { aspect-ratio: 16 / 7; border-radius: 14px; overflow: hidden; }
.vk-cover img { width: 100%; height: 100%; object-fit: cover; }
.soc .btn { width: 100%; }
.soc-note { font-size: 11px; color: var(--dim); }
.tg-embed { min-height: 120px; }

/* ---------- РЕФЕРАЛ ---------- */
.ref-card { padding: 22px; display: grid; gap: 16px; }
.ref-link { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 16px; border-radius: 16px; background: #0c0d11; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .06); font-size: 14px; min-width: 0; }
.ref-link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.ref-steps { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.ref-steps div { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); font-size: 13px; color: var(--muted); }
.ref-steps b { display: block; font-family: var(--serif); font-style: italic; font-size: 26px; font-weight: 500; color: var(--accent-hi); line-height: 1; margin-bottom: 4px; }
@media (max-width: 520px) { .ref-steps { grid-template-columns: 1fr; } }
.ref-banner { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: linear-gradient(180deg, rgba(var(--accent-rgb), .3), rgba(var(--accent-rgb), .12)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); font-size: 14px; margin-bottom: 14px; }

/* ---------- ЧАТ ---------- */
.chat-fab { position: fixed; z-index: 72; right: 16px; bottom: calc(var(--tab-h) + 104px + var(--safe-b)); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--sapphire); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 34px -10px rgba(var(--accent-rgb), .85), 0 2px 6px rgba(0, 0, 0, .5); transition: transform .4s var(--ease), opacity .3s; overflow: visible; }@media (hover: hover) {
.chat-fab:hover { transform: translateY(-2px) scale(1.04); }}
.chat-fab svg.i { width: 26px; height: 26px; }
.chat-fab .bd { position: absolute; top: -3px; right: -3px; min-width: 21px; height: 21px; border-radius: 11px; padding: 0 6px; display: grid; place-items: center; background: #ff4d5a; color: #fff; font-size: 11.5px; font-weight: 700; box-shadow: 0 0 0 3px var(--bg); }
.chat-fab.hide, .chat-open .chat-fab { opacity: 0; pointer-events: none; transform: scale(.7); }
@media (min-width: 900px) { .chat-fab { right: 28px; bottom: 100px; } }
.chat-panel { position: fixed; z-index: 110; left: 0; right: 0; bottom: 0; height: min(90dvh, 760px); border-radius: 26px 26px 0 0; display: flex; flex-direction: column; overflow: hidden; background: linear-gradient(180deg, #16171c 0%, #0c0c10 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 -30px 80px -20px rgba(0, 0, 0, .9); transform: translateY(104%); transition: transform .65s cubic-bezier(.16, 1, .3, 1); }
.chat-panel.show { transform: none; }
@media (min-width: 700px) { .chat-panel { left: auto; right: 24px; bottom: 24px; width: 410px; height: min(640px, calc(100dvh - 48px)); border-radius: 26px; transform: translateY(24px) scale(.97); opacity: 0; transition: transform .5s cubic-bezier(.16, 1, .3, 1), opacity .3s; } .chat-panel.show { transform: none; opacity: 1; } }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; box-shadow: 0 1px 0 rgba(255, 255, 255, .05); flex: none; }
.chat-top .ava { width: 42px; height: 42px; }
.chat-top .t { flex: 1; min-width: 0; }
.chat-top b { display: block; font-size: 16px; font-weight: 600; }
.chat-top span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.chat-top span i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.chat-top span.off i { background: var(--warn); box-shadow: none; }
.chat-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px; display: flex; flex-direction: column; gap: 6px; scroll-behavior: smooth; }
.cm { max-width: 84%; padding: 10px 14px 8px; border-radius: 19px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; animation: cmIn .45s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes cmIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.cm.me { margin-left: auto; background: var(--sapphire); color: #fff; border-bottom-right-radius: 6px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.cm.them { margin-right: auto; background: linear-gradient(180deg, #23242b, #1a1b21); border-bottom-left-radius: 6px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.cm.sys { align-self: center; max-width: 92%; background: none; box-shadow: none; text-align: center; font-size: 12.5px; color: var(--dim); padding: 6px 10px; }
.cm .nm { display: block; font-size: 12px; font-weight: 600; color: var(--accent-hi); margin-bottom: 2px; }
.cm img { display: block; max-width: 100%; max-height: 260px; border-radius: 12px; margin: 2px 0 6px; cursor: zoom-in; }
.cm time { display: block; text-align: right; font-size: 10.5px; opacity: .6; margin-top: 3px; }
.cm .tick { margin-left: 4px; }
.cm-day { align-self: center; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 10px 0 4px; }
.chat-quick { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 14px 10px; }
.chat-quick button { padding: 9px 14px; border-radius: 999px; font-size: 13.5px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); color: var(--text); transition: background .3s; }@media (hover: hover) {
.chat-quick button:hover { background: rgba(var(--accent-rgb), .35); }}
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px calc(12px + var(--safe-b)); box-shadow: 0 -1px 0 rgba(255, 255, 255, .05); flex: none; }
.chat-form textarea { flex: 1; min-height: 46px; max-height: 120px; padding: 12px 16px; border-radius: 23px; border: 0; background: #0c0d11; color: var(--text); font-size: 16px; resize: none; line-height: 1.35; outline: none; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .07); }
.chat-form textarea:focus { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(var(--accent-hi-rgb), .8); }
.chat-form .circle-btn { width: 46px; height: 46px; flex: none; }
.chat-form .send { background: var(--sapphire); color: #fff; }
.chat-form .send[disabled] { opacity: .45; }
.chat-auth { padding: 28px 22px; display: grid; gap: 14px; text-align: center; margin: auto; }
.chat-auth .ic { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-hi); }
.chat-auth .ic svg.i { width: 30px; height: 30px; }
/* CRM: чат */
.chat-adm { display: grid; grid-template-columns: 1fr; gap: 14px; height: calc(100dvh - 130px); min-height: 460px; }
.chat-list { overflow-y: auto; border-radius: 20px; background: var(--lacquer); box-shadow: var(--clearcoat); }
.chat-li { display: flex; gap: 12px; padding: 14px 16px; cursor: pointer; transition: background .25s; align-items: center; }@media (hover: hover) {
.chat-li:hover { background: rgba(255, 255, 255, .03); }}
.chat-li.on { background: linear-gradient(90deg, rgba(var(--accent-rgb), .3), rgba(var(--accent-rgb), .05)); box-shadow: inset 2px 0 0 var(--accent-hi); }
.chat-li .m { flex: 1; min-width: 0; }
.chat-li .m b { display: flex; justify-content: space-between; gap: 8px; font-size: 14.5px; font-weight: 600; }
.chat-li .m b time { font-weight: 400; font-size: 11.5px; color: var(--dim); flex: none; }
.chat-li .m span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-li .u { min-width: 22px; height: 22px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
.chat-thread { display: none; flex-direction: column; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, #121318, #0b0b0e); box-shadow: var(--clearcoat); min-width: 0; }
.chat-adm.show-thread .chat-list { display: none; } .chat-adm.show-thread .chat-thread { display: flex; }
.chat-thread .chat-top .back { display: grid; }
.chat-ctx { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 14px; font-size: 12.5px; color: var(--muted); box-shadow: 0 1px 0 rgba(255, 255, 255, .04); flex: none; align-items: center; }
.chat-empty { margin: auto; text-align: center; color: var(--dim); padding: 30px; }
.tpl-row { display: flex; gap: 6px; padding: 8px 12px 0; overflow-x: auto; scrollbar-width: none; flex: none; }
.tpl-row::-webkit-scrollbar { display: none; }
.tpl-row button { flex: none; padding: 7px 12px; border-radius: 999px; font-size: 12.5px; background: rgba(255, 255, 255, .05); color: var(--muted); white-space: nowrap; transition: all .25s; }@media (hover: hover) {
.tpl-row button:hover { color: var(--text); background: rgba(var(--accent-rgb), .35); }}
@media (min-width: 900px) { .chat-adm { grid-template-columns: 340px 1fr; } .chat-adm .chat-list, .chat-adm .chat-thread { display: flex; } .chat-adm .chat-list { display: block; } .chat-thread .chat-top .back { display: none; } .chat-adm.show-thread .chat-list { display: block; } }
.chat-thread .chat-body .cm.me { background: var(--sapphire); }

/* =========================================================
   СТУДИЙНАЯ БЕЛАЯ ТЕМА (только клиентский сайт)
   ========================================================= */
html[data-theme="light"] {
  --bg: #eceef2; --bg-2: #f5f6f9; --bg-3: #ffffff; --bg-rgb: 236, 238, 242;
  --text: #0a0b10; --muted: rgba(12, 14, 22, .68); --dim: rgba(12, 14, 22, .48);
  --line: rgba(10, 12, 20, .10); --line-2: rgba(10, 12, 20, .17); --silver: #2a2d38;
  --lacquer: linear-gradient(180deg, #ffffff 0%, #f7f8fb 55%, #eef0f5 100%);
  --lacquer-hi: linear-gradient(180deg, #ffffff 0%, #f2f3f7 100%);
  --clearcoat: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(10, 12, 20, .06);
  --depth: 0 1px 2px rgba(10, 12, 20, .08), 0 22px 44px -26px rgba(20, 24, 40, .32);
  --chrome-text: linear-gradient(180deg, #07080c 0%, #171922 55%, #4a4e60 100%);
  --accent-text: var(--accent); --ring: rgba(10, 12, 20, .28); --ink: #0a0b10;
  color-scheme: light;
}
html[data-theme="light"] body { background: var(--bg); }
html[data-theme="light"] .softbox i:nth-child(1), html[data-theme="light"] .softbox i:nth-child(3) { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent); }
html[data-theme="light"] .softbox i:nth-child(2) { background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .06), transparent); }
/* тёмные «сцены» остаются тёмными: первый экран, финал, лояльность, фото-карточки */
html[data-theme="light"] :is(.hero, .phero, .final, .loyal, .svc-card, .type, .master, .ba, .map .pin-card, .hdr:not(.scrolled):not(.solid), .ba-tag, .soc-ic) {
  --text: #f4f4f6; --muted: rgba(236, 238, 245, .72); --dim: rgba(236, 238, 245, .46); --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .16); --silver: #d9dce6;
  --chrome-text: linear-gradient(180deg, #ffffff 0%, #f1f2f6 45%, #b9bdc9 100%); --ring: rgba(255, 255, 255, .35); --ink: #fff;
  --lacquer: linear-gradient(180deg, #15161b 0%, #0d0e12 46%, #0a0a0d 100%); --lacquer-hi: linear-gradient(180deg, #1b1c22 0%, #111216 50%, #0c0c10 100%);
  --clearcoat: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 -1px 0 rgba(0, 0, 0, .6);
  color: var(--text);
}
html[data-theme="light"] .hero-media::after { background: linear-gradient(180deg, rgba(5, 5, 5, .74) 0%, rgba(5, 5, 5, .4) 22%, rgba(5, 5, 5, .5) 52%, rgba(5, 5, 5, .84) 86%, rgba(var(--bg-rgb), 1) 100%), linear-gradient(90deg, rgba(5, 5, 5, .8) 0%, rgba(5, 5, 5, .46) 52%, rgba(5, 5, 5, .16) 100%); }
html[data-theme="light"] .final .hero-media::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 5, 5, .5) 22%, rgba(5, 5, 5, .62) 78%, var(--bg) 100%); }
html[data-theme="light"] .phero .hero-media::after { background: linear-gradient(180deg, rgba(5, 5, 5, .65) 0%, rgba(5, 5, 5, .3) 35%, rgba(5, 5, 5, .82) 90%, rgba(var(--bg-rgb), 1) 100%); }
html[data-theme="light"] .loyal .bgimg::after { background: linear-gradient(90deg, rgba(5, 5, 5, .94) 20%, rgba(5, 5, 5, .55)); }
html[data-theme="light"] .hdr.scrolled, html[data-theme="light"] .hdr.solid { background: rgba(255, 255, 255, .82); box-shadow: inset 0 1px 0 #fff, 0 14px 36px -18px rgba(20, 24, 40, .35); }
html[data-theme="light"] .tabbar { background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(244, 245, 249, .96)); box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(10, 12, 20, .06), 0 20px 44px -14px rgba(20, 24, 40, .4); }
html[data-theme="light"] .glass::before { background: linear-gradient(118deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .0) 40%); }
html[data-theme="light"] .btn-ghost, html[data-theme="light"] .circle-btn { box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(10, 12, 20, .07), 0 1px 3px rgba(10, 12, 20, .14); }@media (hover: hover) {
html[data-theme="light"] .btn-ghost:hover { background: linear-gradient(180deg, #fff, #e9ebf2); }}
html[data-theme="light"] :is(.chip, .opt, .date, .slot, .brand-chips button, .master-chip, .stars-in button, .stage-row button, .seg, .prog-tabs button, .rating-src span, .certs span, .proof-strip, .soc, .ref-steps div, .level, .cert span, .pill) { box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(10, 12, 20, .07), 0 1px 3px rgba(10, 12, 20, .1); }
html[data-theme="light"] :is(.chip.on, .opt.on, .date.on, .master-chip.on) { background: linear-gradient(180deg, rgba(var(--accent-rgb), .14), rgba(var(--accent-rgb), .05)), #fff; box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), .55), 0 10px 24px -14px rgba(var(--accent-rgb), .6); }
html[data-theme="light"] .chip.on svg.i { color: var(--accent); }
html[data-theme="light"] .seg button.on { background: #fff; box-shadow: 0 2px 8px rgba(10, 12, 20, .16); }
html[data-theme="light"] .seg button.on.blue { background: var(--sapphire); }
html[data-theme="light"] .slot.on, html[data-theme="light"] .prog-tabs button.on { color: #fff; }
html[data-theme="light"] :is(.input, .select, .textarea, .ref-link) { background: #fff; box-shadow: inset 0 1px 2px rgba(10, 12, 20, .12), inset 0 0 0 1px rgba(10, 12, 20, .1); color: var(--text); }
html[data-theme="light"] :is(.input:focus, .select:focus, .textarea:focus) { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), .85), 0 0 0 4px rgba(var(--accent-rgb), .14); }
html[data-theme="light"] .check .box { background: #fff; box-shadow: inset 0 0 0 1px rgba(10, 12, 20, .25); }
html[data-theme="light"] :is(.modal, .install .inner, .toast, .cookie, .summary-bar, .chat-panel) { background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(244, 245, 249, .99)) !important; box-shadow: inset 0 1px 0 #fff, 0 40px 90px -24px rgba(20, 24, 40, .5) !important; }
html[data-theme="light"] .overlay { background: rgba(20, 24, 40, .35); }
html[data-theme="light"] .cm.them { background: linear-gradient(180deg, #fff, #eef0f5); box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(10, 12, 20, .12); }
html[data-theme="light"] .chat-form textarea { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px rgba(10, 12, 20, .14); }
html[data-theme="light"] .chat-quick button, html[data-theme="light"] .soc-post, html[data-theme="light"] .prog-item, html[data-theme="light"] .car-pass div { background: rgba(10, 12, 20, .04); color: var(--text); }
html[data-theme="light"] :is(.pkg-price, .quick-foot, .faq, .faq details, .adv, .adv-item, .c-row, .kv > div, .list-row, .check-list li, .ba-info, .ba-info div, .ftr, .ftr-bottom, .ftr-fx) { border-color: rgba(10, 12, 20, .09) !important; }
html[data-theme="light"] .ava { background: linear-gradient(180deg, #fff, #e5e7ee); box-shadow: inset 0 1px 0 #fff, 0 1px 3px rgba(10, 12, 20, .15); color: var(--text); }
html[data-theme="light"] .stat b { background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .it, html[data-theme="light"] .h1 .it, html[data-theme="light"] .h2 .it, html[data-theme="light"] .h3 .it, html[data-theme="light"] .it .w { background: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent) 60%, var(--accent-deep) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html[data-theme="light"] :is(.hero, .phero, .final, .loyal, .svc-card, .type, .master) .it { background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent-hi) 55%, var(--accent-hi) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html[data-theme="light"] .eyebrow { color: var(--muted); }
html[data-theme="light"] .link-arrow, html[data-theme="light"] .rev-foot b, html[data-theme="light"] .price { color: var(--text); }
html[data-theme="light"] .price-old { color: var(--dim); }
html[data-theme="light"] .price-you { color: var(--accent); }
html[data-theme="light"] .pkg.featured { background: linear-gradient(180deg, rgba(var(--accent-rgb), .12) 0%, rgba(var(--accent-rgb), .03) 40%, transparent 70%), var(--lacquer); box-shadow: var(--clearcoat), inset 0 0 0 1.5px rgba(var(--accent-rgb), .45), 0 30px 60px -36px rgba(var(--accent-rgb), .45); }
html[data-theme="light"] .map iframe { filter: none; }
html[data-theme="light"] .rev .rev-svc, html[data-theme="light"] .cm .nm { color: var(--accent); }
html[data-theme="light"] .prog-card .ph::after { background: linear-gradient(180deg, transparent 55%, rgba(244, 245, 249, .96)); }
html[data-theme="light"] .master .ph::after { background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 13, .92)); }
html[data-theme="light"] .tile, html[data-theme="light"] .kpi { background: var(--lacquer); }
html[data-theme="light"] .empty { background: rgba(10, 12, 20, .03); box-shadow: inset 0 0 0 1px rgba(10, 12, 20, .08); }
html[data-theme="light"] .ph { background: #dfe2ea; }
html[data-theme="light"] .hdr .logo, html[data-theme="light"] .ftr .logo { color: var(--text); }
html[data-theme="light"] .cur-drop { background: #fff; }
html[data-theme="light"] .ftr { background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .05)); }
html[data-theme="light"] .rev-stars, html[data-theme="light"] .stars-in button.on { color: #e0a21b; }

.circle-btn .badge-n { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #ff4d5a; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--bg); }
.cur-drop { scale: 1; transition: scale .25s var(--ease), opacity .3s; }
.cur-hov .cur-drop { scale: .25; }
.adm-top .circle-btn { flex: none; }

.chat-top b .pill { display: inline-flex; margin-left: 8px; vertical-align: middle; height: 22px; padding: 0 9px; font-size: 11px; }
.chat-top .t > span { line-height: 1.35; }

html[data-theme="light"] :is(.hero, .phero, .final, .loyal, .svc-card, .type, .master) .it .w { background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent-hi) 55%, var(--accent-hi) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html[data-theme="light"] .hero .hero-content { padding-bottom: calc(var(--tab-h) + 120px + var(--safe-b)); }
@media (min-width: 900px) { html[data-theme="light"] .hero .hero-content { padding-bottom: 120px; } }
html[data-theme="light"] .hero-media::after { background: linear-gradient(180deg, rgba(5, 5, 5, .74) 0%, rgba(5, 5, 5, .4) 22%, rgba(5, 5, 5, .5) 52%, rgba(5, 5, 5, .8) 74%, rgba(var(--bg-rgb), 1) 100%), linear-gradient(90deg, rgba(5, 5, 5, .8) 0%, rgba(5, 5, 5, .46) 52%, rgba(5, 5, 5, .16) 100%); }

html[data-theme="light"] :is(.svc-card, .type, .master, .hero, .final, .loyal) .price-you { color: var(--accent-light); }
html[data-theme="light"] :is(.svc-card, .type, .master) .price-old { color: rgba(236,238,245,.5); }

.rate-card .eyebrow { display: flex; margin-bottom: 10px; }
.rate-card b { display: block; }

/* v5: отступы у горизонтальных лент, без липких кнопок, светлее видео */
.hscroll, .chips, .dates, .master-row, .ba-thumbs, .prog-tabs, .car-track { scroll-padding-inline: var(--gut); }
.chips, .dates, .master-row, .ba-thumbs, .prog-tabs { padding-inline: 2px; }
@media (max-width: 899px) {
  .sticky-cta { display: none !important; }
  .hscroll { padding-left: var(--gut); padding-right: var(--gut); scroll-padding-inline: var(--gut); }
  .hscroll::after { content: ""; flex: none; width: 1px; }
  .svc-card, .type, .rev { scroll-margin-inline: var(--gut); }
}
.hero-media::before { background: rgba(5, 5, 5, .2); }
.hero-video, .hero-media .ph img { filter: brightness(.84) saturate(1.06) contrast(1.04); }
.hero-media::after {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, .6) 0%, rgba(5, 5, 5, .26) 22%, rgba(5, 5, 5, .36) 52%, rgba(5, 5, 5, .8) 82%, var(--bg) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, .7) 0%, rgba(5, 5, 5, .34) 52%, rgba(5, 5, 5, .08) 100%);
}
.ftr-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ftr-links a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--lacquer); box-shadow: var(--clearcoat); font-size: 13px; color: var(--muted); transition: color .3s, background .3s; }@media (hover: hover) {
.ftr-links a:hover { color: var(--text); background: var(--lacquer-hi); }}
.ftr-links .soc-ic { width: 30px; height: 30px; border-radius: 10px; }
.ftr-links .soc-ic svg { width: 17px; height: 17px; }
.ftr-links b { color: var(--text); font-weight: 600; display: block; line-height: 1.15; }
.ftr-links small { display: block; font-size: 11.5px; color: var(--dim); }

.cur-drop, .cur-ring { display: none !important; }
html.has-cursor, html.has-cursor * { cursor: auto !important; }

/* v6: чат в нижнем меню, одинаковая ширина блоков на телефоне */
.tabbar { grid-template-columns: repeat(var(--tabs, 5), 1fr); }
.tab-ind { width: calc((100% - 14px) / var(--tabs, 5)); }
.tabbar a { position: relative; min-width: 0; }
.tabbar a span { white-space: nowrap; }
.tab-bd { position: absolute; top: 5px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #ff4d5a; color: #fff; font: 700 10.5px/17px var(--font); text-align: center; font-style: normal; box-shadow: 0 0 0 2px #14151a; }
@media (max-width: 899px) {
  .tabbar { padding: 6px; } .tabbar a { font-size: 10px; }
  .chat-fab { display: none !important; }
  :root { --card-w: calc(100vw - var(--gut) * 2 - 32px); }
  .hscroll, .hscroll.types, .hscroll.revs { grid-auto-columns: var(--card-w) !important; }
  .car-track > * { width: var(--card-w) !important; }
  .opt, .glass.card, .pkg, .svc-card, .type, .rev { max-width: 100%; }
}

/* шаги на странице услуги — всегда вертикальная лента, цифра слева от текста */
#svSteps.process { display: grid; grid-template-columns: 1fr !important; gap: 0 !important; }
#svSteps .proc { grid-template-columns: 44px 1fr !important; gap: 16px; padding: 0 0 26px; align-items: start; }
#svSteps .proc::before { left: 21px !important; right: auto !important; top: 48px !important; bottom: 4px !important; width: 1px !important; height: auto !important; background: linear-gradient(180deg, var(--line-2), transparent) !important; }
#svSteps .proc:last-child::before { display: none !important; }
#svSteps .proc h3 { margin: 10px 0 0; font-size: 18px; line-height: 1.3; }
#svSteps .proc-dot { flex: none; }

/* карточки мастеров: одинаковая высота, кнопки на одном уровне */
.team-grid { align-items: stretch; }
.master { height: 100%; }
.master-body { display: flex; flex-direction: column; flex: 1; gap: 12px; }
.master-body > .btn { margin-top: auto; }
.master-body > .btn:not(:only-child) { flex: none; }
.master-body > :nth-last-child(2) { margin-bottom: 4px; }

.inst-ben { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.inst-ben li { position: relative; padding-left: 26px; line-height: 1.4; }
.inst-ben li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--sapphire); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.inst-ben b { color: var(--text); font-weight: 600; }
#instCard .inst-ben { margin: 0; }

/* v7: быстрый интерфейс на телефоне — без тяжёлого размытия и анимаций layout */
a, button, .btn, .tabbar a, .chip, .opt, .slot, .date { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
@media (max-width: 899px), (pointer: coarse) {
  .tabbar { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: linear-gradient(180deg, #181920 0%, #0e0f13 100%) !important; transform: translateZ(0); contain: layout paint; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 30px -10px rgba(0,0,0,.9) !important; }
  .tab-ind { transition: transform .28s cubic-bezier(.22,.8,.3,1) !important; will-change: transform; }
  .tabbar a { transition: color .2s; }
  .hdr.scrolled, .hdr.solid { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(9,9,12,.96) !important; }
  .toast, .cookie, .summary-bar, .install .inner, .chat-panel, .modal { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .overlay { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .softbox { display: none !important; }
  .hdr, .tabbar { view-transition-name: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .rv, .split .w { transition-duration: .7s; }
  .hero-video { will-change: auto; }
}
html[data-theme="light"] .tabbar { background: linear-gradient(180deg, #ffffff, #f1f2f6) !important; }
html[data-theme="light"] .hdr.scrolled, html[data-theme="light"] .hdr.solid { background: rgba(255,255,255,.97) !important; }

#pre.out, #pre.gone { pointer-events: none !important; }

/* ---- нижнее меню v8: 5 пунктов + «Ещё» ---- */
.tab-ind { display: none !important; }
.tabbar a { transition: none; -webkit-user-select: none; user-select: none; }
.tabbar a.active { background: var(--sapphire); color: var(--on-accent); }
.more-sheet { position: fixed; inset: 0; z-index: 3000; opacity: 0; transition: opacity .18s; }
.more-sheet.show { opacity: 1; }
.more-back { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.more-box { position: absolute; left: 12px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); padding: 16px; border-radius: 26px; background: linear-gradient(180deg, #1a1b22, #0f1014); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 60px -12px rgba(0, 0, 0, .9); }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.more-grid a { display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border-radius: 16px; font-size: 12px; text-align: center; color: var(--text); background: rgba(255, 255, 255, .04); }
.more-grid a svg.i { width: 22px; height: 22px; stroke-width: 1.5; color: var(--accent-hi); }
.more-foot { display: flex; gap: 8px; margin-top: 12px; }
.more-foot .btn { flex: 1; }
html[data-theme="light"] .more-box { background: linear-gradient(180deg, #fff, #f1f2f6); }
html[data-theme="light"] .more-grid a { background: rgba(10, 12, 20, .05); }
@media (min-width: 900px) { .more-sheet { display: none; } }

/* ===== v8 ===== */
/* плавные переходы между блоками */
.hero, .phero { position: relative; }
.hero::after, .phero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(var(--bg-rgb), 0), rgba(var(--bg-rgb), 1)); }
.phero .hero-content, .hero .hero-content { position: relative; z-index: 2; }
.final::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(var(--bg-rgb), 1), rgba(var(--bg-rgb), 0)); }
.final::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(var(--bg-rgb), 1), rgba(var(--bg-rgb), 0)); }
.final > .wrap, .final .hero-content { position: relative; z-index: 2; }
/* гарантии */
.gar-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); }
.gar { padding: 22px; border-radius: var(--r-lg); background: linear-gradient(180deg, #17181e, #0e0f13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); display: grid; gap: 8px; align-content: start; }
.gar-n { font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--accent-hi); }
.gar b { font-size: 17px; font-weight: 600; }
.gar p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
html[data-theme="light"] .gar { background: linear-gradient(180deg, #fff, #f3f4f8); box-shadow: inset 0 1px 0 #fff, 0 12px 30px -18px rgba(20, 24, 40, .35); }
/* ателье */
.atl-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.atl { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: #0e0f13; }
.atl.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 260px; }
.atl img { width: 100%; height: 100%; object-fit: cover; display: block; }
.atl figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; font-size: 13.5px; color: #fff; background: linear-gradient(0deg, rgba(5, 5, 5, .85), rgba(5, 5, 5, 0)); }
/* подвал */
.ftr-dev { opacity: .75; letter-spacing: .12em; font-size: 12px; }@media (hover: hover) {
.ftr-dev:hover { opacity: 1; }}
/* админка: видимая горизонтальная прокрутка */
.tbl-wrap, .cal, .week, .seg { scrollbar-width: thin; scrollbar-color: var(--accent-hi) rgba(128, 128, 140, .25); }
.tbl-wrap::-webkit-scrollbar, .cal::-webkit-scrollbar, .week::-webkit-scrollbar { display: block; height: 8px; }
.tbl-wrap::-webkit-scrollbar-track, .cal::-webkit-scrollbar-track, .week::-webkit-scrollbar-track { background: rgba(128, 128, 140, .22); border-radius: 8px; }
.tbl-wrap::-webkit-scrollbar-thumb, .cal::-webkit-scrollbar-thumb, .week::-webkit-scrollbar-thumb { background: var(--accent-hi); border-radius: 8px; }
.tbl-wrap, .cal, .week { padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
@media (max-width: 899px) {
  .gar-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .gar { padding: 16px; } .gar b { font-size: 15px; } .gar p { font-size: 13px; }
  .atl-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .atl.big { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; min-height: 0; }
  .loyal .bgimg { display: none; }
  .loyal { background: linear-gradient(180deg, #17181e, #0e0f13); padding: 22px; }
  #svcAll { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  #svcAll .svc-card { aspect-ratio: 3 / 4.2; }
  #svcAll .svc-card h3, #svcAll .svc-card .h3 { font-size: 17px; }
  #svcAll .svc-card .circle-btn { display: none; }
  .hero::after, .phero::after { height: 80px; }
}
@media (max-width: 899px) {
  #svcAll .svc-body { padding: 12px; }
  #svcAll .svc-body h3 { font-size: 16px; line-height: 1.2; }
  #svcAll .svc-desc { font-size: 12.5px; -webkit-line-clamp: 2; }
}

/* v9: телефон — никаких blur-анимаций и переходов между страницами */
@media (max-width: 899px), (pointer: coarse) {
  .rv, .split .w { filter: none !important; transition: opacity .45s ease, transform .45s ease !important; transform: translateY(14px); }
  .rv.in, .rv.on, .rv.vis, .split.in .w, .split.on .w { transform: none; }
  @keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
  @keyframes stepBack { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
  @keyframes faqIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  @keyframes heroZoom { from { transform: scale(1.04); } to { transform: none; } }
  .glass, .card, .panel { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .tabbar a:active { background: rgba(255,255,255,.08); }
}

/* v10: страховка от «зависаний» на телефоне */
@media (max-width: 899px), (pointer: coarse) {
  html { scroll-behavior: auto !important; }
  body { animation: none !important; overflow-x: clip; }
  .tabbar { contain: none !important; transform: none !important; will-change: auto !important; }
  .step { animation-duration: .25s !important; }
  .summary-bar, .tabbar, .cookie { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
.overlay:not(.show) { pointer-events: none; }

/* active-состояния для сенсорных экранов */
.circle-btn.blue { background: var(--accent); border-color: rgba(var(--accent-light-rgb), .35); box-shadow: 0 0 24px -4px var(--accent-glow); color: var(--on-accent); }
.hdr-nav a.active { color: var(--text); }
.ba-thumb.on { opacity: 1; border-color: var(--accent-hi); }
.drop.over { border-color: rgba(var(--accent-hi-rgb), .7); background: rgba(var(--accent-rgb), .06); }
.circle-btn.blue { background: var(--sapphire); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px -8px rgba(var(--accent-rgb), .8); }

/* плоский цвет кнопок — без двухцветного градиента */
:root, html[data-theme="light"] { --sapphire: var(--accent); }
.btn-primary, .slot.on, .brand-chips button.on, .stage-row button.on, .tabbar a.active, .seg button.on.blue, .opt.on .radio, .check input:checked + .box { background: var(--accent) !important; }
.btn-primary { box-shadow: 0 10px 24px -12px rgba(var(--accent-rgb), .7) !important; text-shadow: none !important; }
.btn-primary::before { display: none !important; }

/* ===== блог ===== */
.blog-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.blog-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--lacquer); box-shadow: var(--clearcoat, inset 0 1px 0 rgba(255,255,255,.07)); color: var(--text); }
.blog-card .ph { aspect-ratio: 3 / 2; border-radius: 0; }
.blog-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.bc-body { padding: 18px 20px 22px; display: grid; gap: 10px; align-content: start; flex: 1; }
.bc-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--dim); }
.bc-meta span:first-child { color: var(--accent-hi); font-weight: 600; letter-spacing: .04em; }
.blog-card h2 { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.blog-card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bc-more { font-size: 14px; font-weight: 600; color: var(--accent-hi); }
.art { max-width: 780px; padding-top: calc(var(--hdr-h, 72px) + 36px); }
.art-meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 13.5px; color: var(--dim); margin-bottom: 12px; }
.art-title { font-size: clamp(28px, 5.4vw, 46px); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; margin: 0 0 24px; }
.art-cover { margin: 0 0 28px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #0e0f13; }
.art-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-body { font-size: 17px; line-height: 1.75; color: var(--text); }
.art-body h2 { font-size: clamp(22px, 3.6vw, 28px); line-height: 1.25; margin: 38px 0 12px; letter-spacing: -.02em; font-weight: 600; }
.art-body h3 { font-size: 19px; margin: 26px 0 8px; font-weight: 600; }
.art-body p { margin: 0 0 16px; color: var(--muted); }
.art-body strong { color: var(--text); font-weight: 600; }
.art-body ul, .art-body ol { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; color: var(--muted); }
.art-body a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }
.art-body blockquote { margin: 20px 0; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.04); font-style: italic; }
.art-body figure { margin: 22px 0; } .art-body img { max-width: 100%; border-radius: 14px; height: auto; }
.art-cta { margin: 40px 0 10px; padding: 22px; border-radius: var(--r-lg); background: var(--lacquer); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.art-cta b { display: block; font-size: 18px; } .art-cta span { color: var(--muted); font-size: 14.5px; }
.art-more { max-width: var(--wrap); padding-top: 40px; }
.art-more-h { font-size: 24px; margin: 0 0 18px; }
html[data-theme="light"] .blog-card, html[data-theme="light"] .art-cta { background: linear-gradient(180deg, #fff, #f3f4f8); box-shadow: inset 0 1px 0 #fff, 0 12px 30px -18px rgba(20,24,40,.35); }
html[data-theme="light"] .art-body blockquote { background: rgba(10,12,20,.05); }
@media (max-width: 899px) { .blog-grid { grid-template-columns: 1fr; } .art-body { font-size: 16.5px; } }
@media (min-width: 600px) and (max-width: 899px) { .blog-grid { grid-template-columns: 1fr 1fr; } }

/* фото в отзывах */
.rev-photos { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.rev-photos img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; cursor: zoom-in; background: #0e0f13; }
/* страница работы */
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.case-facts div { padding: 16px 18px; border-radius: var(--r-lg); background: var(--lacquer); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.case-facts span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.case-facts b { font-size: 16px; font-weight: 600; }
.case-sec { max-width: 780px; margin: 0 auto; padding: 0 var(--gut); }
.case-sec h2 { font-size: clamp(22px, 3.6vw, 28px); margin: 34px 0 12px; letter-spacing: -.02em; font-weight: 600; }
.case-sec p { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0 0 14px; }
.case-sec ol { padding-left: 22px; display: grid; gap: 10px; color: var(--muted); font-size: 16.5px; line-height: 1.6; margin: 0 0 14px; }
.case-gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.case-gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.work h3 a { color: inherit; }
html[data-theme="light"] .case-facts div { background: linear-gradient(180deg, #fff, #f3f4f8); box-shadow: inset 0 1px 0 #fff, 0 10px 26px -18px rgba(20,24,40,.35); }
@media (max-width: 899px) { .case-facts { grid-template-columns: 1fr 1fr; } .case-facts div:last-child { grid-column: 1 / -1; } }

/* v11: телефон — плашки по две в ряд */
@media (max-width: 899px) {
  .team-grid, .works-grid, #revAll, .blog-grid, .loyal-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .adv { grid-template-columns: 1fr 1fr !important; column-gap: 12px !important; border-top: 0; gap: 10px 12px; }
  .adv-item { grid-template-columns: 1fr; padding: 16px 14px; border: 0; border-radius: 16px; background: var(--lacquer); }
  .adv-n { grid-row: auto; font-size: 24px; }
  .adv-item h3 { font-size: 15px; } .adv-item p { font-size: 13px; }
  .chain { grid-template-columns: 1fr 1fr; gap: 10px; } .chain-step { padding: 16px; } .chain-step p { font-size: 14px; }
  .master-body { padding: 12px 12px 14px; gap: 8px; margin-top: -48px; }
  .master-body h3 { font-size: 16px; } .master-body .role { font-size: 12.5px; }
  .master-exp b { font-size: 28px; } .master-exp span { font-size: 12px; }
  .master .btn, .master .btn-sm { font-size: 13px; padding-left: 10px; padding-right: 10px; }
  .work h3 { font-size: 16px; } .work .ba-info { grid-template-columns: 1fr; font-size: 12.5px; }
  .work .row { flex-direction: column; align-items: flex-start; gap: 8px !important; }
  #revAll .rev { padding: 16px; } #revAll .rev p { font-size: 13.5px; }
  .blog-card h2 { font-size: 15px; } .blog-card p { display: none; } .bc-body { padding: 12px 14px 16px; gap: 6px; } .bc-meta { font-size: 11.5px; }
  .loyal-item { padding: 14px; flex-direction: column; gap: 8px; } .loyal-item h4 { font-size: 14.5px; } .loyal-item p { font-size: 12.5px; }
  html[data-theme="light"] .adv-item { background: linear-gradient(180deg, #fff, #f3f4f8); }
}

/* v11b: текст на кнопках всегда помещается */
.btn { min-width: 0; }
@media (max-width: 899px) {
  .btn, .btn-block { white-space: normal; text-align: center; line-height: 1.2; }
  .master .btn { min-height: 44px; padding: 8px 10px; font-size: 13px; gap: 6px; }
  .master .btn svg.i { display: none; }
  .btn-sm { padding-left: 14px; padding-right: 14px; }
}

/* v12: админка на телефоне — отступ под статус-бар приложения */
@media (max-width: 899px) {
  .adm-top { margin: 0 0 8px !important; padding-top: calc(var(--safe-t) + 20px) !important; }
  .adm-side { padding-top: calc(var(--safe-t) + 18px); }
}

.legal-note { padding: 18px 0 8px; font-size: 12.5px; line-height: 1.5; color: var(--dim); }
.legal-note p { margin: 0; max-width: 780px; }
.legal-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }


/* ===== v13 ===== */
/* 1. кнопки светлее */
:root { --sapphire: var(--accent-hi); }
html[data-theme="light"] { --sapphire: var(--accent); }
.btn-primary, .slot.on, .brand-chips button.on, .stage-row button.on, .tabbar a.active, .seg button.on.blue, .opt.on .radio, .check input:checked + .box { background: var(--sapphire) !important; }
.btn-primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 26px -12px rgba(var(--accent-hi-rgb), .85) !important; }

/* 2 + 5. услуги и быстрая запись: всё видно сразу, без скрытой прокрутки */
@media (max-width: 899px) {
  #quickChips { flex-wrap: wrap; overflow: visible; scroll-snap-type: none; gap: 8px; }
  #svcGrid { grid-auto-flow: row !important; grid-auto-columns: auto !important; grid-template-columns: 1fr 1fr !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; gap: 10px !important; }
  #svcGrid .svc-card { aspect-ratio: 3 / 4.2; }
  #svcGrid .svc-card .circle-btn { display: none; }
  #svcGrid .svc-body { padding: 12px; } #svcGrid .svc-body h3 { font-size: 16px; line-height: 1.2; } #svcGrid .svc-desc { font-size: 12.5px; -webkit-line-clamp: 2; }
}

/* 4. буквы не обрезаются (хвостики у р, у, д, ц) */
.h1, .h2, .h3, .step-title, .art-title, .final h2 { padding-bottom: .08em; }
.h1 { line-height: 1.12; } .h2 { line-height: 1.15; }
.it, .h1 .w, .h2 .w, .h3 .w, .split .w { padding-bottom: .16em; margin-bottom: -.16em; padding-right: .04em; }
.btn, .chip, .pill, .tag { line-height: 1.25; }
.btn-primary, .btn { overflow: visible; }
.stat b, .rating-big b { padding-bottom: .06em; }

/* 3. удобство: крупные цели нажатия, поля без зума iOS */
@media (max-width: 899px) {
  .btn { min-height: 46px; } .btn-sm { min-height: 40px; } .chip, .slot, .date { min-height: 42px; }
  .input, .select, .textarea { font-size: 16px; }
}

/* 6 + 7. программы компактно, нечётная последняя карточка — на всю ширину */
@media (max-width: 899px) {
  .pkgs { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .pkg { padding: 14px !important; gap: 8px; }
  .pkg h3 { font-size: 18px; } .pkg p { display: none; } .pkg-tier { font-size: 11px; }
  .pkg ul { gap: 4px; font-size: 12.5px; } .pkg ul li:nth-child(n+4) { display: none; }
  .pkg .tag { font-size: 10.5px; padding: 3px 8px; }
  .pkg-price { padding-top: 8px; } .pkg-price .price, .pkg-price b { font-size: 18px; } .pkg-price small { font-size: 11.5px; }
  .team-grid > :last-child:nth-child(odd), .works-grid > :last-child:nth-child(odd), #revAll > :last-child:nth-child(odd), .blog-grid > :last-child:nth-child(odd),
  .loyal-grid > :last-child:nth-child(odd), .adv > :last-child:nth-child(odd), .chain > .chain-step:last-child:nth-child(odd), .gar-grid > :last-child:nth-child(odd),
  #svcAll > :last-child:nth-child(odd), #svcGrid > :last-child:nth-child(odd), .pkgs > :last-child:nth-child(odd), .case-gal > :last-child:nth-child(odd), .more-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .svc-card:last-child:nth-child(odd) { aspect-ratio: 16 / 9 !important; }
}

/* 8. чёрный глянец — как кузов после полировки */
html:not([data-theme="light"]) { --lacquer: linear-gradient(180deg, #1c1d22 0%, #0d0d10 36%, #050506 100%); }
html:not([data-theme="light"]) body { background: radial-gradient(900px 520px at 88% -6%, rgba(255, 255, 255, .075), transparent 62%), radial-gradient(760px 520px at -6% 38%, rgba(255, 255, 255, .04), transparent 62%), #030304; }
html:not([data-theme="light"])::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .035) 100%); }
html:not([data-theme="light"]) :is(.glass, .card, .opt, .rev, .gar, .blog-card, .adv-item, .loyal-item, .chain-step, .kpi, .tile):not(.featured) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), inset 0 -22px 34px -26px rgba(255, 255, 255, .06), 0 18px 40px -22px #000; }
html:not([data-theme="light"]) .glass::before { background: linear-gradient(118deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .02) 30%, transparent 48%); }
html:not([data-theme="light"]) .tabbar, html:not([data-theme="light"]) .more-box { background: linear-gradient(180deg, #202127 0%, #0b0b0e 55%, #040405 100%) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 20px 44px -14px #000 !important; }

/* 9. чат — отдельная страница */
body[data-page="chat"] .chat-panel { left: 0; right: 0; top: 0; bottom: 0; width: 100%; max-width: 760px; height: 100dvh; margin: 0 auto; border-radius: 0; transform: none !important; opacity: 1 !important; }
body[data-page="chat"] .overlay, body[data-page="chat"] .tabbar, body[data-page="chat"] .chat-fab, body[data-page="chat"] .cookie { display: none !important; }
.cookie { font-size: 12.5px; line-height: 1.4; padding: 12px 14px; gap: 10px; }
.cookie .btn { min-height: 38px; }
@media (max-width: 899px) {
  #quickChips { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; }
  #quickChips .chip { width: 100%; justify-content: center; white-space: normal; text-align: center; padding-left: 8px; padding-right: 8px; }
  #quickChips > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* v14: приложение на телефоне — отступ под статус-бар, без чёрной полосы снизу */
@media (display-mode: standalone), (display-mode: fullscreen) {
  :root { --safe-t: max(env(safe-area-inset-top, 0px), 28px); }
  .hdr { padding-top: 0; }
}
html { min-height: 100%; min-height: -webkit-fill-available; }
body { min-height: 100vh; min-height: 100dvh; min-height: -webkit-fill-available; }
body[data-page="chat"] .chat-top { padding-top: calc(var(--safe-t) + 14px); }
body[data-page="chat"] .chat-panel { padding-bottom: env(safe-area-inset-bottom, 0px); }
.tabbar { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }

/* главная: понятные плитки действий */
.go { padding: 8px 0 0; }
.go-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.go-tile { display: grid; gap: 4px; align-content: start; padding: 18px; border-radius: var(--r-lg); background: var(--lacquer); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 18px 40px -22px #000; color: var(--text); }
.go-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sapphire); color: var(--on-accent); margin-bottom: 8px; }
.go-ic svg.i { width: 22px; height: 22px; }
.go-tile b { font-size: 16px; font-weight: 600; }
.go-tile small { font-size: 13px; color: var(--muted); }
html[data-theme="light"] .go-tile { background: linear-gradient(180deg, #fff, #f3f4f8); box-shadow: inset 0 1px 0 #fff, 0 12px 30px -18px rgba(20,24,40,.35); }
@media (max-width: 899px) {
  .go-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .go-tile { padding: 14px; } .go-tile b { font-size: 15px; } .go-tile small { font-size: 12px; }
  .proc p { display: none; }
  .sec { padding: 52px 0; }
  .sec-head { margin-bottom: 22px; }
  .hero .lead { font-size: 16px; }
}

/* буквы курсива не обрезаются слева/справа */
.it, .h1 .w, .h2 .w, .h3 .w, .split .w { padding-left: .14em; margin-left: -.14em; padding-right: .1em; }
.it .w { padding-left: .06em; margin-left: -.06em; }
.step-title .it, .art-title .it, .final .it, .loyal .it { padding-left: .14em; margin-left: -.14em; }
.svc-card .ph { background: #15161b; }
.svc-card .ph img { opacity: 1 !important; transition: transform 1.4s var(--ease-out) !important; }
.ftr + .legal-note { padding: 14px 0 90px; background: transparent; }
@media (min-width: 900px) { .ftr + .legal-note { padding-bottom: 28px; } }
.legal-note .wrap { max-width: var(--wrap); }

/* главный экран на телефоне: видео открыто, кнопки в ряд */
@media (max-width: 899px) {
  .hero .hero-content { padding-bottom: calc(var(--tab-h, 72px) + 24px + var(--safe-b, 0px)) !important; }
  .hero .hero-cta { gap: 10px; }
  .hero .hero-cta .row { flex-wrap: nowrap !important; width: 100%; gap: 8px !important; }
  .hero .hero-cta .btn { flex: 1 1 0; min-width: 0; padding-left: 10px; padding-right: 10px; font-size: 14.5px; min-height: 48px; }
  .hero .hero-cta .btn svg { display: none; }
  .hero-trust { display: none; }
}
@media (max-width: 899px) { .hero .hero-content { padding-bottom: calc(var(--tab-h, 72px) - 34px + var(--safe-b, 0px)) !important; } }
@media (max-width: 899px) { .hero .hero-content { padding-bottom: calc(var(--tab-h, 72px) - 34px + var(--safe-b, 0px)) !important; } }


/* ---- правки вёрстки: длинные названия, чипы, заголовки ---- */
.chips .chip { flex: 0 0 auto; min-width: 92px; max-width: 136px; }
.chips .chip span { display: block; white-space: normal; text-align: center; line-height: 1.2; font-size: 12.5px; overflow-wrap: anywhere; }
.svc-body { min-width: 0; }
.svc-body h3 { white-space: normal; overflow-wrap: anywhere; hyphens: auto; line-height: 1.15; padding-right: 46px; font-size: clamp(16px, 1.5vw, 21px); }
.svc-from { white-space: normal; line-height: 1.35; }
.svc-card { min-width: 0; }
.hero h1, .phero h1 { overflow-wrap: anywhere; }
.hero h1 { font-size: clamp(38px, 6.2vw, 84px); line-height: 1.04; }
.adv-item h3, .stat span, .go-tile b, .go-tile small, .pkg h3, .proc h3, .c-row div { overflow-wrap: anywhere; }
.kv b, .tile b { overflow-wrap: anywhere; }
.rev .rev-svc, .rev-foot span, .rev-foot b { overflow-wrap: anywhere; }
.hero-trust span { white-space: normal; }
.quick-foot .meta { min-width: 0; overflow-wrap: anywhere; }

/* быстрая запись: чипы переносятся на новые строки, ничего не обрезается справа */
#quickChips.chips, .quick .chips { flex-wrap: wrap; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
#quickChips .chip { flex: 1 1 108px; max-width: 170px; }

/* быстрая запись: чипы переносятся на новые строки, ничего не обрезается справа */
#quickChips.chips, .quick .chips { flex-wrap: wrap; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
#quickChips .chip { flex: 1 1 108px; max-width: 170px; }
