/* Relab detailing — тёмная тема: графит, фирменный оранжевый #E3141E и шестиугольники, как свет в боксе.
   Сначала телефон, дальше 600 / 768 / 960 / 1200. */

:root {
  --bg: #0a0a0a;
  --bg-2: #101012;
  --surface: #151517;
  --surface-2: #1c1c1f;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f5f3f0;
  --muted: #a39e98;
  --dim: #7a756f;
  --accent: #e3141e;
  --accent-2: #ff2b36;
  --on-accent: #ffffff;
  --gold: #c9a25c;
  --radius: 20px;
  --gutter: 16px;
  --header-h: 64px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Oswald", "Arial Narrow", "Manrope", system-ui, sans-serif;
  --script: "Permanent Marker", "Segoe Print", cursive;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hex-clip: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='48.5' viewBox='0 0 84 48.5'%3E%3Cpath d='M14 24.25 28 0h28l14 24.25L56 48.5H28ZM0 24.25h14M70 24.25h14' fill='none' stroke='%23e3141e' stroke-width='1.4'/%3E%3C/svg%3E");
  color-scheme: dark;
}

@media (min-width: 600px) {
  :root { --gutter: 24px; }
}

@media (min-width: 960px) {
  :root { --gutter: 32px; --header-h: 76px; }
}

/* ---------- основа ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
video,
svg { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; }

button,
input { font: inherit; color: inherit; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }

ul, ol { padding: 0; list-style: none; }

[hidden] { display: none !important; }

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.container {
  width: 100%;
  max-width: calc(1240px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus { top: 12px; }

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

.nobr { white-space: nowrap; }

/* ---------- текст ---------- */

.h2 {
  font: 700 clamp(26px, 6.2vw, 50px)/1.1 var(--display);
  letter-spacing: -.02em;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--accent);
  font: 700 12px/1 var(--font);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 14px;
  height: 12px;
  background: currentColor;
  clip-path: var(--hex-clip);
}

.section { position: relative; padding: 72px 0; }

.section__head { max-width: 780px; margin-bottom: 32px; }

.section__head--row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
}

.section__lead { margin-top: 16px; max-width: 660px; color: var(--muted); font-size: 16px; }

@media (min-width: 960px) {
  .section { padding: 112px 0; }
  .section__head { margin-bottom: 48px; }
  .section__lead { font-size: 18px; }
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.link-more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }

@media (hover: hover) { .link-more:hover svg { transform: translate(2px, -2px); } }

/* ---------- кнопки ---------- */

.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: 700 15px/1.1 var(--font);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s, color .25s;
}

.btn svg { width: 20px; height: 20px; flex: none; }

.btn--sm { --h: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; }

.btn--lg { --h: 56px; padding: 0 26px; font-size: 16px; }

.btn--block { width: 100%; }

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 12px 32px -12px rgba(227, 20, 30, .75);
}

/* блик по кнопке, как по лаку */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}

@media (hover: hover) { .btn--primary:hover { background: var(--accent-2); transform: translateY(-1px); } }

@media (hover: hover) { .btn--primary:hover::after { transform: translateX(120%); } }

.btn--ghost {
  background: rgba(255, 255, 255, .05);
  border-color: var(--line-2);
  color: var(--text);
}

@media (hover: hover) { .btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .32); transform: translateY(-1px); } }

.btn:active { transform: scale(.98); }

/* ---------- демо-плашка ---------- */

.demo-bar {
  position: relative;
  z-index: 60;
  background: #1a0c04;
  border-bottom: 1px solid rgba(227, 20, 30, .28);
  color: #ffd9c4;
  font-size: 13px;
  line-height: 1.4;
}

.demo-bar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.demo-bar b { color: var(--accent); }

.demo-bar__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: none;
  cursor: pointer;
}

.demo-bar__close svg { width: 18px; height: 18px; }

@media (hover: hover) { .demo-bar__close:hover { background: rgba(255, 255, 255, .08); } }

/* ---------- шапка ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}

.header.is-scrolled {
  background: rgba(11, 11, 12, .8);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}

/* фильтр делает шапку рамкой для position: fixed — на время меню снимаем */
html.nav-open .header {
  background: var(--bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html.nav-open { overflow: hidden; }

.header__in { display: flex; align-items: center; gap: 16px; height: 100%; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}

.brand__mark { width: 46px; }

.brand__text { display: flex; flex-direction: column; line-height: 1; }

.brand__name { font: 800 18px/1 var(--display); letter-spacing: .06em; }

.brand__sub {
  margin-top: 5px;
  color: var(--muted);
  font: 600 10px/1 var(--font);
  letter-spacing: .32em;
  text-transform: uppercase;
}

/* пока шапка прозрачная, подпись не теряется на ярких лампах потолка */
.header:not(.is-scrolled) .brand__text { text-shadow: 0 0 8px rgba(11, 11, 12, .9), 0 1px 2px rgba(11, 11, 12, .9); }

.nav {
  position: fixed;
  inset: var(--hb, var(--header-h)) 0 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding: 16px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--bg);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
}

.nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s, transform .25s var(--ease);
}

.nav__link {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font: 600 24px/1.2 var(--display);
  text-decoration: none;
}

.nav__extra { display: grid; gap: 16px; margin-top: auto; padding-top: 28px; }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.nav__phone svg { width: 20px; height: 20px; color: var(--accent); }

.nav__meta { color: var(--muted); font-size: 14px; }

.header__actions { display: flex; align-items: center; gap: 12px; }

.header__phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header__phone svg { width: 18px; height: 18px; color: var(--accent); }

.header__cta { display: none; }

.burger {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(11, 11, 12, .35);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }

.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 600px) {
  .header__cta { display: inline-flex; }
}

@media (min-width: 960px) {
  .brand__mark { width: 52px; }
  .brand__name { font-size: 20px; }
  .nav {
    position: static;
    flex-direction: row;
    gap: 28px;
    margin-right: 8px;
    padding: 0;
    background: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__link {
    position: relative;
    padding: 8px 0;
    border: 0;
    color: rgba(245, 243, 240, .82);
    font: 600 15px/1 var(--font);
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .nav__link:hover { color: var(--text); }
  .nav__link:hover::after { transform: scaleX(1); }
  .nav__extra,
  .burger { display: none; }
}

@media (min-width: 1200px) {
  .header__phone { display: inline-flex; }
}

/* ---------- бегущая строка ---------- */

.ticker {
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding-right: 28px;
  animation: ticker 42s linear infinite;
}

.ticker span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 243, 240, .5);
  font: 700 clamp(18px, 3.4vw, 30px)/1 var(--display);
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker span:nth-of-type(odd) { color: var(--text); -webkit-text-stroke: 0; }

.ticker i { flex: none; width: 14px; height: 12px; background: var(--accent); clip-path: var(--hex-clip); }

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- услуги ---------- */

.svc-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 12px;
  margin: 0 calc(-1 * var(--gutter));
  padding: 4px var(--gutter) 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}

.svc-grid::-webkit-scrollbar { display: none; }

.svc {
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  scroll-snap-align: start;
}

.svc img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}

.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0) 28%, rgba(11, 11, 12, .6) 58%, rgba(11, 11, 12, .95) 100%);
}

.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  transition: border-color .3s, box-shadow .3s;
  pointer-events: none;
}

@media (hover: hover) { .svc:hover img { transform: scale(1.06); } }

@media (hover: hover) { .svc:hover::after { border-color: rgba(227, 20, 30, .65); box-shadow: inset 0 0 48px rgba(227, 20, 30, .2); } }

.svc__num {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(11, 11, 12, .5);
  color: rgba(255, 255, 255, .8);
  font: 700 11px/1 var(--display);
  letter-spacing: .1em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.svc__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.svc__title { font: 700 17px/1.2 var(--display); letter-spacing: -.01em; }

.svc__text { color: rgba(245, 243, 240, .8); font-size: 13.5px; line-height: 1.45; }

.svc__price {
  justify-self: start;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--on-accent);
  font: 800 13px/1 var(--font);
}

/* карточка без фото: шумоизоляция и звук — эквалайзер */
.svc--sound {
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(227, 20, 30, .24), transparent 60%),
    linear-gradient(160deg, #1a1a1d, #0e0e10);
}

.svc--sound::before { background: var(--hex) 0 0 / 56px 32.33px; opacity: .08; }

.svc__eq {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 20%;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 34%;
}

.svc__eq i {
  flex: 1;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent), rgba(227, 20, 30, .2));
  transform: scaleY(.3);
  transform-origin: bottom;
  animation: eq 1.4s ease-in-out infinite;
}

.svc__eq i:nth-child(2) { animation-duration: 1.1s; animation-delay: -.3s; }
.svc__eq i:nth-child(3) { animation-duration: 1.6s; animation-delay: -.8s; }
.svc__eq i:nth-child(4) { animation-duration: 1.2s; animation-delay: -.5s; }
.svc__eq i:nth-child(5) { animation-duration: 1.5s; animation-delay: -1.1s; }
.svc__eq i:nth-child(6) { animation-duration: 1s; animation-delay: -.2s; }
.svc__eq i:nth-child(7) { animation-duration: 1.3s; animation-delay: -.9s; }
.svc__eq i:nth-child(8) { animation-duration: 1.7s; animation-delay: -.4s; }
.svc__eq i:nth-child(9) { animation-duration: 1.2s; animation-delay: -1.3s; }

@keyframes eq {
  0%, 100% { transform: scaleY(.25); }
  50% { transform: scaleY(1); }
}

.svc__icon {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(227, 20, 30, .14);
  color: var(--accent);
}

.svc__icon svg { width: 22px; height: 22px; }

@media (min-width: 600px) {
  .svc-grid { grid-auto-columns: 42%; }
}

@media (min-width: 960px) {
  .svc-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .svc__title { font-size: 18px; }
}

/* ---------- мотоциклы и гидроциклы: на фоне Ducati Diavel и Sea-Doo ---------- */
.moto { position: relative; overflow: hidden; isolation: isolate; padding: 0; background: #000; }
.moto__bg { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-rows: 1fr 1fr; }
.moto__bg figure { position: relative; margin: 0; overflow: hidden; }
.moto__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: moto-drift 18s ease-in-out infinite alternate; }
.moto__bg figure:last-child img { animation-delay: -9s; }
.moto__bg figcaption { position: absolute; z-index: 1; right: 14px; bottom: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .6); border: 1px solid rgba(227, 20, 30, .5); color: #fff; font: 700 11px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.moto__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 50%, rgba(8, 8, 9, .82), rgba(8, 8, 9, .45) 75%), linear-gradient(180deg, var(--bg), transparent 18%, transparent 82%, var(--bg)); }
.moto__in { display: grid; justify-items: center; padding: 120px 0; text-align: center; }
.moto .eyebrow { margin-bottom: 14px; }
.moto__title { max-width: 16em; margin-bottom: 8px; font: 800 clamp(26px, 5.4vw, 52px)/1.08 var(--display); }
.moto__lead { max-width: 30em; color: rgba(255, 255, 255, .78); font-size: 17px; }
.moto__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 30px; }
.moto__list li { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 15px; font-weight: 700; }
.moto__list li::before { content: ""; flex: none; width: 14px; height: 12px; background: var(--accent); clip-path: var(--hex-clip); }
@keyframes moto-drift { from { transform: scale(1.08) translateX(-2%); } to { transform: scale(1.14) translateX(2%); } }

@media (min-width: 768px) {
  .moto__bg { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .moto__in { padding: 160px 0; }
}

/* ---------- машины из Японии ---------- */

.japan { background: radial-gradient(60% 50% at 0% 55%, rgba(227, 20, 30, .1), transparent 70%); }

.japan__in { display: grid; gap: 32px; align-items: center; }

.japan__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.japan__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.hexlist { display: grid; gap: 16px; margin: 26px 0; counter-reset: hx; }

.hexlist li {
  position: relative;
  min-height: 34px;
  padding-left: 54px;
  color: rgba(245, 243, 240, .8);
  counter-increment: hx;
}

.hexlist li::before {
  content: "0" counter(hx);
  position: absolute;
  left: 0;
  top: -3px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 35px;
  background: rgba(227, 20, 30, .14);
  color: var(--accent);
  font: 700 12px/1 var(--display);
  clip-path: var(--hex-clip);
}

.hexlist b { color: var(--text); }

.mini-quote {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: var(--surface);
}

.mini-quote p { font-size: 15px; font-weight: 500; }

.mini-quote cite { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; font-style: normal; }

@media (min-width: 960px) {
  .japan__in { grid-template-columns: 1fr 1fr; gap: 64px; }
  .japan__media img { aspect-ratio: 4 / 4.4; }
}

/* ---------- студия и почему мы ---------- */

.about__top { display: grid; gap: 32px; align-items: center; }

.about__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }

.about__stats li { padding: 16px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }

.about__stats b { display: block; color: var(--accent); font: 800 clamp(22px, 4vw, 34px)/1 var(--display); }

.about__stats span { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; line-height: 1.35; }

.about__pics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 400px;
}

.about__pic { position: relative; display: block; overflow: hidden; border-radius: 16px; }

.about__pic--tall { grid-row: span 2; }

.about__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }

@media (hover: hover) { .about__pic:hover img { transform: scale(1.05); } }

.about__subtitle { margin: 56px 0 24px; font: 700 clamp(20px, 3.2vw, 30px)/1.2 var(--display); }

.reasons { display: grid; gap: 12px; }

/* на телефоне карточка компактная: значок слева, текст справа */
.reason {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: start;
  column-gap: 16px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .3s, transform .3s var(--ease);
}

.reason::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 170px;
  height: 120px;
  background: var(--hex) 0 0 / 56px 32.33px;
  opacity: .1;
  -webkit-mask: radial-gradient(circle at 75% 25%, #000, transparent 70%);
  mask: radial-gradient(circle at 75% 25%, #000, transparent 70%);
  pointer-events: none;
}

@media (hover: hover) { .reason:hover { border-color: rgba(227, 20, 30, .45); transform: translateY(-2px); } }

.reason__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 44px;
  background: rgba(227, 20, 30, .14);
  color: var(--accent);
  clip-path: var(--hex-clip);
}

.reason__icon svg { width: 22px; height: 22px; }

.reason h4 { margin-bottom: 8px; font: 700 17px/1.25 var(--display); }

.reason p { color: var(--muted); font-size: 15px; }

.reasons .reason:nth-child(2) { transition-delay: .06s; }
.reasons .reason:nth-child(3) { transition-delay: .12s; }
.reasons .reason:nth-child(5) { transition-delay: .06s; }
.reasons .reason:nth-child(6) { transition-delay: .12s; }

@media (min-width: 600px) {
  .reasons { grid-template-columns: 1fr 1fr; }
  .reasons .reason:nth-child(5):last-child { grid-column: span 2; } /* 5 карточек: последняя добивает ряд */
  .reason { display: block; padding: 24px; }
  .reason__icon { margin-bottom: 18px; }
  .about__pics { height: 480px; }
}

@media (min-width: 960px) {
  .about__top { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .about__pics { height: 540px; gap: 12px; }
  .reasons { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .about__subtitle { margin-top: 88px; }
}

/* ---------- цены ---------- */

.price-grid { columns: 1; column-gap: 16px; }

.price-group {
  break-inside: avoid;
  margin-bottom: 16px;
  padding: 22px 22px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.price-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  font: 700 18px/1.2 var(--display);
}

.price-group__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 37px;
  background: rgba(227, 20, 30, .14);
  color: var(--accent);
  clip-path: var(--hex-clip);
}

.price-group__icon svg { width: 20px; height: 20px; }

.price-list li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; }

.price-list li + li { border-top: 1px solid var(--line); }

.price-list__name { flex: 0 1 auto; font-size: 15px; font-weight: 600; line-height: 1.4; }

.price-list__name small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.4; }

.price-list__dots { flex: 1 1 16px; min-width: 16px; border-bottom: 1px dotted rgba(255, 255, 255, .22); transform: translateY(-4px); }

.price-list__price { flex: none; font-size: 15px; font-weight: 800; white-space: nowrap; }

.prices__note { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--muted); font-size: 15px; }

.prices__note svg { width: 20px; height: 20px; flex: none; color: var(--accent); }

@media (min-width: 768px) {
  .price-grid { columns: 2; }
}

@media (min-width: 1200px) {
  .price-grid { columns: 3; }
}

/* ---------- отзывы ---------- */

.reviews { background: linear-gradient(180deg, transparent, rgba(227, 20, 30, .05) 50%, transparent); }

.reviews__top { display: grid; gap: 14px; margin-bottom: 44px; }

.pull {
  position: relative;
  overflow: hidden;
  padding: 30px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pull::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 260px;
  height: 200px;
  background: var(--hex) 0 0 / 84px 48.5px;
  opacity: .12;
  -webkit-mask: radial-gradient(circle at 80% 80%, #000, transparent 70%);
  mask: radial-gradient(circle at 80% 80%, #000, transparent 70%);
  pointer-events: none;
}

.pull__mark { width: 42px; height: 42px; margin-bottom: 18px; color: var(--accent); }

.pull__text { font: 700 clamp(22px, 4.4vw, 42px)/1.2 var(--display); letter-spacing: -.02em; text-wrap: balance; }

.pull__by { margin-top: 20px; color: var(--muted); font-size: 15px; }

.pull__by b { color: var(--text); }

.score {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 24px;
  border: 1px solid rgba(227, 20, 30, .28);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(227, 20, 30, .16), rgba(227, 20, 30, .03) 55%), var(--surface);
}

.score__main {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "num stars" "num sub";
  align-items: center;
  column-gap: 16px;
}

.score__num { grid-area: num; font: 800 64px/1 var(--display); letter-spacing: -.04em; }

.score__stars { grid-area: stars; align-self: end; display: flex; gap: 2px; color: var(--accent); }

.score__stars svg { width: 20px; height: 20px; }

.score__sub { grid-area: sub; align-self: start; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.4; }

.score__list { display: grid; gap: 10px; }

.score__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; }

.score__list svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--accent); }

.carousel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }

.carousel-head__title { font: 700 20px/1.2 var(--display); }

.carousel-nav { display: none; gap: 8px; }

.carousel-nav button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .2s, color .2s, opacity .2s;
}

@media (hover: hover) { .carousel-nav button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); } }

.carousel-nav button:disabled { opacity: .35; cursor: default; }

.carousel-nav svg { width: 20px; height: 20px; }

.rv-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  align-items: start;
  gap: 12px;
  margin: 0 calc(-1 * var(--gutter));
  padding: 4px var(--gutter) 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}

.rv-track::-webkit-scrollbar { display: none; }

.rv {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  scroll-snap-align: start;
}

.rv__head { display: flex; align-items: center; gap: 12px; }

.rv__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff9b5e);
  color: var(--on-accent);
  font: 800 16px/1 var(--display);
}

.rv__who { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }

.rv__name { font-size: 15px; font-weight: 700; }

.rv__date { color: var(--dim); font-size: 13px; }

.rv__stars { display: flex; gap: 1px; color: var(--accent); }

.rv__stars svg { width: 14px; height: 14px; }

.rv__tags { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.rv__text {
  position: relative;
  max-height: calc(1.6em * 8);
  overflow: hidden;
  color: rgba(245, 243, 240, .86);
  font-size: 15px;
}

.rv__text p + p { margin-top: .6em; }

.rv__text.is-clamped::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.2em;
  background: linear-gradient(rgba(21, 21, 23, 0), var(--surface));
}

.rv__text.is-open { max-height: none; }

.rv__more {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

@media (min-width: 768px) {
  .carousel-nav { display: flex; }
  .rv-track { grid-auto-columns: calc(50% - 6px); }
}

@media (min-width: 960px) {
  .reviews__top { grid-template-columns: 1.5fr 1fr; gap: 20px; }
  .pull { padding: 40px 40px 36px; }
  .score { padding: 32px 28px; }
}

@media (min-width: 1200px) {
  .rv-track { grid-auto-columns: calc((100% - 24px) / 3); }
}

/* ---------- запись ---------- */

.booking { background: radial-gradient(50% 60% at 100% 35%, rgba(227, 20, 30, .12), transparent 70%); }

.booking__in { display: grid; gap: 36px; }

.flow { display: grid; margin-top: 30px; counter-reset: fl; }

.flow li { position: relative; padding: 0 0 22px 58px; counter-increment: fl; }

.flow li::before {
  content: counter(fl);
  position: absolute;
  left: 0;
  top: -4px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 35px;
  background: var(--accent);
  color: var(--on-accent);
  font: 800 14px/1 var(--display);
  clip-path: var(--hex-clip);
}

.flow li::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 36px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(var(--accent), transparent);
  opacity: .5;
}

.flow li:last-child { padding-bottom: 0; }

.flow li:last-child::after { display: none; }

.flow b { display: block; font: 700 16px/1.3 var(--display); }

.flow span { display: block; margin-top: 4px; color: var(--muted); font-size: 14.5px; }

.builder {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 22px;
  border: 1px solid rgba(227, 20, 30, .32);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 30px 80px -40px rgba(227, 20, 30, .5);
}

.builder__group { min-width: 0; margin: 0; padding: 0; border: 0; }

.builder__group legend { margin-bottom: 12px; padding: 0; font: 700 15px/1.2 var(--display); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip { position: relative; cursor: pointer; }

.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  font-size: 14px;
  font-weight: 600;
  user-select: none;
  transition: background-color .2s, border-color .2s, color .2s;
}

@media (hover: hover) { .chip:hover span { border-color: rgba(255, 255, 255, .36); } }

.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.builder__row { display: grid; gap: 16px; }

.field { display: grid; gap: 10px; }

.field__label { font: 700 15px/1.2 var(--display); }

.field__input {
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg-2);
  font-size: 16px;
  font-weight: 500;
  transition: border-color .2s, box-shadow .2s;
}

.field__input::placeholder { color: var(--dim); }

.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(227, 20, 30, .22); }

.bubble {
  padding: 16px 18px;
  border: 1px solid rgba(61, 220, 132, .22);
  border-radius: 18px 18px 18px 4px;
  background: #102119;
}

.bubble__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #6fdc9a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bubble__label svg { width: 16px; height: 16px; }

.bubble__text { font-size: 15px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }

/* WhatsApp — главная кнопка во всю ширину, Telegram и MAX — рядом под ней */
.builder__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.builder__actions .btn--primary { grid-column: 1 / -1; }

.builder__hint { color: var(--muted); font-size: 13.5px; }

.builder__hint a { color: var(--text); font-weight: 700; white-space: nowrap; }

/* над нижней панелью телефона */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 60;
  width: max-content;
  max-width: min(440px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  transform: translateX(-50%);
}

@media (min-width: 600px) {
  .builder { padding: 30px; }
  .builder__row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .toast { bottom: 32px; }
}

@media (min-width: 960px) {
  .booking__in { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
  .booking__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- контакты ---------- */

.contacts__in { display: grid; gap: 16px; }

.contacts__card {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contacts__card .h2 { font-size: clamp(26px, 7vw, 40px); }

.contacts__addr { margin-top: 10px; color: var(--muted); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  font-size: 14px;
  font-weight: 600;
}

.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #2fd46b; box-shadow: 0 0 0 4px rgba(47, 212, 107, .18); }

.status__dot.is-closed { background: #ff5a5a; box-shadow: 0 0 0 4px rgba(255, 90, 90, .18); }

.contact-list { display: grid; gap: 16px; margin: 26px 0; }

.contact-list li { display: flex; align-items: flex-start; gap: 14px; }

.contact-list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }

.contact-list div { display: flex; flex-direction: column; }

.contact-list a,
.contact-list b { font-size: 17px; font-weight: 700; text-decoration: none; }

.contact-list span { color: var(--muted); font-size: 13.5px; }

.contacts__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.contacts__btns .btn { padding: 0 12px; }

.contacts__btns .btn--primary { grid-column: 1 / -1; }

.contacts__map {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contacts__route {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(11, 11, 12, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.contacts__route > span { margin-right: auto; color: var(--muted); font-size: 14px; font-weight: 600; }

/* на телефоне карта не перехватывает прокрутку страницы, пока по ней не нажали (js) */
.map-lock {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 14px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.map-lock span {
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(11, 11, 12, .78);
  font-size: 13px;
  font-weight: 700;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.contacts__map.is-active .map-lock { display: none; }

@media (max-width: 419px) {
  .contacts__route > span { display: none; }
  .contacts__route .btn { flex: 1 1 0; padding: 0 10px; }
}

/* карта светлая — инвертируем и возвращаем цвета, чтобы метка осталась оранжевой */
.contacts__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) saturate(.75) brightness(.95) contrast(.9);
}

@media (min-width: 960px) {
  .contacts__in { grid-template-columns: 1fr 1.25fr; gap: 20px; }
  .contacts__card { padding: 36px 32px; }
}

/* ---------- подвал ---------- */

.footer {
  padding: 44px 0 calc(110px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.footer__in { display: grid; gap: 26px; }

.footer .brand { margin-right: 0; justify-self: start; }

.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }

.footer__nav a { color: var(--muted); font-weight: 600; text-decoration: none; }

@media (hover: hover) { .footer__nav a:hover { color: var(--text); } }

.footer__contacts { display: grid; gap: 6px; }

.footer__contacts > a { font-size: 18px; font-weight: 800; text-decoration: none; }

.footer__contacts > span { color: var(--muted); font-size: 14px; }

.footer__social { display: flex; gap: 10px; margin-top: 6px; }

.footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color .2s, color .2s;
}

@media (hover: hover) { .footer__social a:hover { border-color: var(--accent); color: var(--accent); } }

.footer__social svg { width: 20px; height: 20px; }

.footer__bottom {
  display: grid;
  gap: 6px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
}

@media (min-width: 960px) {
  .footer { padding-bottom: 32px; }
  .footer__in { grid-template-columns: 1fr auto auto; align-items: center; gap: 56px; }
  .footer__bottom { grid-template-columns: auto 1fr; }
  .footer__bottom p:last-child { text-align: right; }
}

/* ---------- нижняя панель на телефоне ---------- */

.mbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: rgba(21, 21, 23, .9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
  transform: translateY(150%);
  transition: transform .4s var(--ease);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.mbar.is-visible { transform: none; }

html.nav-open .mbar,
html.lb-open .mbar { transform: translateY(150%); }

.mbar__book { flex: 1; }

.mbar__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
}

.mbar__icon svg { width: 22px; height: 22px; }

.mbar__icon--wa { color: #3ddc84; }

@media (min-width: 960px) {
  .mbar { display: none; }
}

/* ---------- просмотр фото ---------- */

html.lb-open { overflow: hidden; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 5, 6, .95); }

.lightbox__stage { position: absolute; inset: 60px 0 112px; display: grid; place-items: center; padding: 0 12px; }

.lightbox__img { max-width: 100%; max-height: 100%; border-radius: 10px; object-fit: contain; }

.lightbox__cap {
  position: absolute;
  left: 76px;
  right: 76px;
  bottom: 28px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.lightbox__count { position: absolute; top: 22px; left: 0; right: 0; color: var(--muted); font-size: 13px; text-align: center; pointer-events: none; }

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
}

@media (hover: hover) { .lightbox__btn:hover { background: rgba(255, 255, 255, .16); } }

.lightbox__btn svg { width: 22px; height: 22px; }

.lightbox__close { top: 10px; right: 12px; }

.lightbox__prev { left: 12px; bottom: 16px; }

.lightbox__next { right: 12px; bottom: 16px; }

@media (min-width: 768px) {
  .lightbox__stage { inset: 64px 92px 76px; }
  .lightbox__prev,
  .lightbox__next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__prev { left: 22px; }
  .lightbox__next { right: 22px; }
  .lightbox__cap { bottom: 26px; }
}

/* ---------- появление блоков ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }

.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track,
  .moto__bg img,
  .shine,
  .svc__eq i { animation: none; }
  .svc__eq i { transform: scaleY(.6); }
  .btn--primary::after { display: none; }
}

/* цифры у Unbounded/Manrope — одной высоты */
.hero__facts b,
.score__num,
.about__stats b,
.price-list__price,
.svc__price { font-variant-numeric: lining-nums tabular-nums; }

/* ---------- телефон: всё под палец ---------- */

/* тап подсвечивается фирменным цветом, а не серым прямоугольником */
a,
button,
label { -webkit-tap-highlight-color: rgba(227, 20, 30, .16); }

/* меню прокручивается само, страница под ним не едет */
.nav { overscroll-behavior: contain; }

/* мелкие ссылки и кнопки: зона нажатия ~44 px, вёрстка не сдвигается */
.demo-bar__close { width: 44px; height: 44px; margin: -6px -8px -6px 0; }

.brand { padding: 6px 0; margin-top: -6px; margin-bottom: -6px; }

.link-more { padding: 9px 0; margin: -9px 0; }

.rv__more { padding: 11px 0; margin: -11px 0; }

.contact-list a { padding: 8px 0; margin: -8px 0; }

.footer__nav a,
.footer__contacts > a { padding: 9px 0; margin: -9px 0; }

.chip span { min-height: 44px; }

/* Telegram и MAX в два столбца — компактнее, чтобы влезали на узких экранах */
.builder__actions .btn--ghost,
.contacts__btns .btn--ghost { gap: 8px; padding: 0 12px; }

@media (max-width: 419px) {
  .contacts__route .btn { gap: 6px; padding: 0 8px; font-size: 13px; }
  .contacts__route .btn svg { width: 16px; height: 16px; }
}

/* узкие телефоны (360 px и уже) */
@media (max-width: 374px) {
  .hero__cta-tail { display: none; }
}

@media (max-width: 369px) {
  .builder__actions { grid-template-columns: 1fr; }
}

@media (max-width: 359px) {
  .h2 { font-size: 24px; }
  .btn { white-space: normal; }
  .hero__facts b { font-size: 15px; }
  .about__stats li { padding: 14px 10px; }
  .about__stats span { font-size: 11.5px; }
  .builder { padding: 18px; }
  .builder__actions .btn--primary { padding: 0 16px; }
  .contacts__card { padding: 24px 18px; }
  .contacts__card .h2 { font-size: 22px; }
  .contacts__btns { grid-template-columns: 1fr; }
  .contacts__route .btn svg { display: none; }
}

/* =====================================================================================================
   Дизайн v2 (08.10.2026, по образцу владельца): чёрный, красные мазки сухой кистью, золото логотипа,
   «рваные» заголовки, фото в контрастном ч/б — цвет возвращается при наведении.
   ===================================================================================================== */

body { background: var(--bg) url("../img/grain.png"); }

.fx-defs { position: absolute; width: 0; height: 0; }

/* ---------- заголовки ---------- */
.brush-title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 .12em;
  color: #fff;
  font: 700 clamp(44px, 11vw, 92px)/.9 var(--display);
  letter-spacing: .01em;
  text-transform: uppercase;
  transform: skew(-9deg) rotate(-2deg);
  filter: url(#rough);
}

.brush-title::before {
  content: "";
  position: absolute;
  left: -38%;
  right: -14%;
  top: 8%;
  bottom: -18%;
  z-index: -1;
  background: url("../img/brush-c.webp") center / 100% 100% no-repeat;
  opacity: .9;
}

.head { display: grid; gap: 18px; margin-bottom: 36px; }
.head__lead { max-width: 560px; color: var(--muted); font-size: 15.5px; }
.head--row { align-items: end; }
.head__main { display: grid; gap: 18px; }

@media (min-width: 960px) {
  .head { grid-template-columns: auto 1fr; align-items: center; gap: 48px; margin-bottom: 52px; }
  .head__lead { font-size: 16px; }
  .head--row { grid-template-columns: 1fr auto; }
  .head__main { grid-template-columns: auto 1fr; align-items: center; gap: 48px; }
}

.h2 { font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.eyebrow { color: var(--gold); }
.eyebrow::before { background: var(--accent); }

.script-note {
  position: relative;
  display: inline-block;
  color: var(--gold);
  font: 400 clamp(30px, 4vw, 46px)/.95 var(--script);
  transform: rotate(-8deg);
}

.script-note svg { position: absolute; right: -8px; bottom: -26px; width: 28px; height: 28px; }

/* ---------- кнопки ---------- */
.btn { border-radius: 4px; font-family: var(--display); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { color: #fff; box-shadow: 0 14px 30px -14px rgba(227, 20, 30, .9); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); }
.btn--gold { border: 1px solid var(--gold); background: transparent; color: var(--gold); }
@media (hover: hover) { .btn--gold:hover { background: var(--gold); color: #0a0a0a; } }

/* ---------- шапка ---------- */
.brand__mark { width: 52px; height: auto; }
.brand__name { font: 700 22px/1 var(--display); letter-spacing: .08em; }
.brand__sub { color: var(--gold); letter-spacing: .32em; }
.nav__link { font-family: var(--display); font-weight: 500; letter-spacing: .04em; }

/* ---------- первый экран ---------- */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 18px) 0 56px;
  overflow: hidden;
}

.hero__brush {
  position: absolute;
  z-index: -1;
  right: -30%;
  top: 6%;
  width: 150%;
  max-width: none;
  height: auto;
  opacity: .95;
  pointer-events: none;
}

.hero__in { display: grid; gap: 34px; }
.hero__media { position: relative; order: -1; margin: 0 6px; }

.hero__frame {
  position: relative;
  padding: 6px;
  background: #000;
  transform: rotate(-1.2deg);
  box-shadow: 0 30px 70px -30px #000;
}

.hero__frame::before, .hero__inset::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, .88);
  filter: url(#rough);
  pointer-events: none;
}

.hero__stage {
  --fx: 46%;
  --fy: 50%;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  filter: grayscale(1) contrast(1.28) brightness(.92);
}

.hero__poster, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster { object-fit: cover; object-position: var(--fx) var(--fy); transform: scale(1.06); transform-origin: var(--fx) var(--fy); }
.hero__canvas { opacity: 0; transition: opacity 1.2s ease; }
.hero__stage.is-live .hero__canvas { opacity: 1; }
.hero__stage.is-kb .hero__poster { animation: hero-kb 12s ease-in-out infinite alternate; }
.hero__stage.is-paused .hero__poster { animation-play-state: paused; }

@keyframes hero-kb {
  from { transform: scale(1.1) translate3d(-2.4%, .6%, 0); }
  to { transform: scale(1.1) translate3d(2.4%, -.6%, 0); }
}

/* красный мазок поверх ч/б снимка — как на образце */
.hero__frame::after {
  content: "";
  position: absolute;
  left: -18%;
  bottom: -8%;
  width: 80%;
  height: 46%;
  background: url("../img/brush-b.webp") center / contain no-repeat;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__inset {
  position: absolute;
  top: -14px;
  right: -4px;
  width: 30%;
  margin: 0;
  padding: 4px;
  background: #000;
  transform: rotate(5deg);
}

.hero__inset img { aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.35); }

.hero__script {
  position: absolute;
  left: 4%;
  top: 4%;
  color: var(--gold);
  font: 400 clamp(22px, 5vw, 38px)/.95 var(--script);
  text-shadow: 0 2px 12px #000;
  transform: rotate(-12deg);
}

.hero__coords {
  position: absolute;
  right: 0;
  bottom: -46px;
  color: rgba(255, 255, 255, .7);
  font: 500 11px/1.35 var(--display);
  letter-spacing: .12em;
  text-align: right;
}

.hero__coords svg { display: block; width: 22px; height: 22px; margin: 4px 0 0 auto; color: var(--gold); }

.hero__award {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(201, 162, 92, .45);
  border-radius: 4px;
  color: var(--gold);
  font-size: 13px;
}

.hero__award svg { width: 18px; height: 18px; }
.hero__award b { color: #fff; }

.hero__title {
  font: 700 clamp(40px, 11.4vw, 86px)/.94 var(--display);
  letter-spacing: -.005em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero__accent { color: var(--accent); }
.hero__lead { max-width: 30em; margin-top: 20px; color: rgba(255, 255, 255, .78); font-size: 16px; }
.hero__cta { display: grid; gap: 10px; margin-top: 28px; }

.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero__facts li { display: grid; gap: 4px; }
.hero__facts b { display: inline-flex; align-items: center; gap: 6px; font: 600 19px/1.1 var(--display); letter-spacing: .02em; }
.hero__facts b svg { width: 16px; height: 16px; color: var(--accent); }
.hero__facts span { color: var(--muted); font-size: 13px; }

.hero__sign {
  position: absolute;
  right: 0;
  top: 32%;
  display: none;
  color: var(--gold);
  font: 400 40px/1 var(--script);
  transform: rotate(-14deg);
}

.hero__sign svg { display: block; width: 26px; height: 26px; margin: 0 auto -4px; }

.hero__toggle {
  position: absolute;
  bottom: 18px;
  right: var(--gutter);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(10, 10, 10, .6);
  color: #fff;
  cursor: pointer;
}

.hero__toggle svg { width: 16px; height: 16px; }

@media (min-width: 600px) {
  .hero__cta { display: flex; flex-wrap: wrap; }
  .hero__stage { aspect-ratio: 4 / 3; }
}

@media (min-width: 960px) {
  .hero { padding: calc(var(--header-h) + 56px) 0 96px; }
  .hero__in { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 56px; }
  .hero__text { position: relative; }
  .hero__media { order: 0; margin: 0 0 0 10px; }
  .hero__brush { right: -12%; top: 0; width: 82%; }
  .hero__sign { display: block; right: -40px; }
  .hero__lead { font-size: 17px; }
}

@media (min-width: 1200px) {
  .hero__title { font-size: 92px; }
}

/* ---------- бегущая строка ---------- */
.ticker { background: var(--accent); }
.ticker__track { font-family: var(--display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- фото в ч/б: цвет — при наведении ---------- */
.bw, .svc img, .about__pic img, .japan__media img, .flow3d__item img, .moto__bg img {
  filter: grayscale(1) contrast(1.22) brightness(.9);
  transition: filter .6s var(--ease), transform .9s var(--ease);
}

@media (hover: hover) {
  .svc:hover img, .about__pic:hover img, .japan__media:hover img { filter: none; }
}

/* ---------- услуги ---------- */
.svc { border: 1px solid rgba(255, 255, 255, .22); border-radius: 4px; background: #000; }
.svc::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .7) 58%, #000 100%); }

.svc::after {
  left: -30%;
  right: auto;
  top: auto;
  bottom: 22%;
  width: 90%;
  height: 34%;
  border: 0;
  background: url("../img/brush-b.webp") center / contain no-repeat;
  opacity: .9;
  mix-blend-mode: screen;
  transform: rotate(-6deg);
  transition: transform .6s var(--ease), opacity .4s;
}

@media (hover: hover) { .svc:hover::after { border-color: transparent; box-shadow: none; transform: rotate(-6deg) translateX(14%); } }

.svc__num {
  top: auto;
  bottom: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold);
  font: 400 34px/1 var(--script);
}

.svc__title { font: 700 18px/1.1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.svc__price { color: #fff; font-family: var(--display); letter-spacing: .03em; }
.svc__price::after { content: " →"; color: var(--accent); }

@media (min-width: 1200px) {
  .svc-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .svc { aspect-ratio: 3 / 4.4; }
  .svc__text { font-size: 13px; }
}

/* ---------- мото ---------- */
.moto__title { text-transform: uppercase; font-weight: 700; }
.moto__bg figcaption { border-color: rgba(201, 162, 92, .6); color: var(--gold); }
.moto__list li { border-radius: 4px; }

/* ---------- прайс ---------- */
.prices__in { display: grid; gap: 24px; }
.prices__car { position: relative; display: none; margin: 0; }
.prices__car .bw { width: 100%; height: 100%; object-fit: cover; border: 1px solid rgba(255, 255, 255, .2); }
.prices__brush { position: absolute; left: -24%; bottom: 8%; width: 110%; max-width: none; mix-blend-mode: screen; transform: rotate(-12deg); pointer-events: none; }
.price-group { border: 1px solid rgba(255, 255, 255, .2); border-radius: 4px; background: rgba(10, 10, 10, .82); }
.price-group__title { font-family: var(--display); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.price-group__icon { border-radius: 4px; }
.price-list__price { color: #fff; font-family: var(--display); font-weight: 500; letter-spacing: .02em; }

@media (min-width: 1200px) {
  .prices__in { grid-template-columns: 300px minmax(0, 1fr); align-items: start; }
  .prices__car { display: block; position: sticky; top: calc(var(--header-h) + 24px); height: 640px; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- работы: карусель, которую крутят (3D) ---------- */
.works { overflow-x: clip; }
.flow3d { position: relative; outline: none; }

.flow3d__stage {
  position: relative;
  height: clamp(300px, 72vw, 520px);
  perspective: 1400px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.flow3d.is-drag .flow3d__stage { cursor: grabbing; }

.flow3d__item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(220px, 62vw, 560px);
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .85);
  background: #000;
  text-decoration: none;
  transform-style: preserve-3d;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}

.flow3d__item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.flow3d__item.is-center { border-color: var(--accent); box-shadow: 0 30px 80px -30px rgba(227, 20, 30, .7); }
.flow3d__item.is-center img { filter: none; }

.flow3d__name {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 12px;
  background: rgba(0, 0, 0, .7);
  color: #fff;
  font: 600 13px/1 var(--display);
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .4s;
}

.flow3d__item.is-center .flow3d__name { opacity: 1; }
@media (max-width: 767px) { .flow3d__name { display: none; } }

.flow3d__bar { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }

.flow3d__btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}

.flow3d__btn svg { width: 22px; height: 22px; }
@media (hover: hover) { .flow3d__btn:hover { border-color: var(--accent); background: var(--accent); } }

.flow3d__cap { display: grid; min-width: 190px; text-align: center; }
.flow3d__cap b { font: 600 17px/1.2 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.flow3d__cap span { color: var(--gold); font: 400 15px/1.4 var(--script); }

.works__note { margin-top: 18px; text-align: center; }
.works__note a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; text-decoration: none; }
.works__note svg { width: 16px; height: 16px; }

/* ---------- «результат говорит сам за себя» ---------- */
.result { position: relative; padding: 24px 0 72px; overflow: hidden; }
.result__in { display: grid; gap: 28px; align-items: center; }
.result__car { position: relative; margin: 0; }
.result__car .bw { width: 100%; border: 1px solid rgba(255, 255, 255, .2); }
.result__brush { position: absolute; left: -20%; top: 20%; width: 90%; max-width: none; mix-blend-mode: screen; pointer-events: none; }

.result__title {
  font: 700 clamp(34px, 8vw, 64px)/.95 var(--display);
  text-transform: uppercase;
  transform: skew(-9deg) rotate(-4deg);
  filter: url(#rough);
}

.result__quote { margin: 26px 0 0; padding-left: 18px; border-left: 3px solid var(--accent); }
.result__quote p { font-size: 18px; font-style: italic; }
.result__quote cite { display: block; margin-top: 8px; color: var(--gold); font-size: 13px; font-style: normal; }

@media (min-width: 960px) {
  .result__in { grid-template-columns: 1.2fr 1fr; gap: 56px; }
}

/* ---------- Япония и студия ---------- */
.h2--brush { transform: skew(-6deg); filter: url(#rough); }
.about .eyebrow { display: none; }
.about__kicker { margin-top: 14px; color: var(--gold); font: 400 24px/1.1 var(--script); }
.about__pic { border-radius: 4px; border: 1px solid rgba(255, 255, 255, .2); }
.about__stats b { font-family: var(--display); }
.about__subtitle { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; }
.reason { border-radius: 4px; }
.reason__icon { border-radius: 4px; }
.reason h4 { font-family: var(--display); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.hexlist li::before { background: var(--accent); }
.mini-quote { border-left-color: var(--accent); }

/* ---------- как мы работаем ---------- */
.process { padding-top: 24px; }

.process__title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
  font: 700 clamp(22px, 4vw, 32px)/1 var(--display);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.process__title::after { content: ""; flex: 0 1 120px; height: 2px; background: var(--accent); }

.steps { position: relative; display: grid; gap: 22px; padding-left: 26px; }
.steps::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: rgba(255, 255, 255, .25); }
.steps li { position: relative; }
.steps li::before { content: ""; position: absolute; left: -26px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(227, 20, 30, .18); }
.steps b { display: block; color: var(--gold); font: 400 22px/1 var(--script); }
.steps h3 { margin: 6px 0 4px; font: 600 17px/1.2 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.steps p { color: var(--muted); font-size: 14px; }

@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 28px; padding: 30px 0 0; }
  .steps::before { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; }
  .steps li::before { left: 0; top: -30px; }
}

/* ---------- отзывы ---------- */
.score, .pull, .rv { border-radius: 4px; }
.score__num { font-family: var(--display); }
.pull__text { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; }
.rv__avatar { border-radius: 4px; background: var(--accent); color: #fff; }
.rv__stars svg { color: var(--gold); }
.carousel-head__title { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; }
.carousel-nav button { border-radius: 4px; }

/* ---------- запись ---------- */
.booking { position: relative; overflow: hidden; isolation: isolate; }
.booking__brush { position: absolute; z-index: -1; left: -30%; top: 4%; width: 110%; max-width: none; opacity: .55; pointer-events: none; }

.booking__title {
  font: 700 clamp(30px, 6.6vw, 54px)/.98 var(--display);
  text-transform: uppercase;
  text-wrap: balance;
}

.booking__lead { margin-top: 16px; max-width: 34em; color: rgba(255, 255, 255, .78); }
.booking__car { display: none; margin: 28px 0 0; }
.booking__car .bw { width: 100%; border: 1px solid rgba(255, 255, 255, .2); }
.booking__direct { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.booking__direct a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 500 16px/1 var(--display); letter-spacing: .03em; text-decoration: none; }
.booking__direct svg { width: 34px; height: 34px; padding: 8px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; color: var(--accent); }
.builder { border-radius: 4px; border-color: rgba(255, 255, 255, .22); background: rgba(10, 10, 10, .88); }
.chip span { border-radius: 4px; }
.field__input { border-radius: 4px; }
.bubble { border-radius: 4px; }

@media (min-width: 960px) {
  .booking__car { display: block; }
}

/* ---------- контакты и подвал ---------- */
.contacts__card, .contacts__map { border-radius: 4px; }
.contacts__map iframe { border-radius: 4px; }
.footer { border-top: 1px solid rgba(201, 162, 92, .25); }
.footer .brand__mark { width: 56px; }
.mbar { border-radius: 6px; }
.mbar__book { border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  .flow3d__item { transition: none !important; }
}
