/* ===== Токены ===== */
/* Фирменные цвета «Виват Моторс» с логотипа: чёрный и жёлто-оранжевый #FFA801 */
:root {
  --black: #000;
  --stage: #0B0B0B;
  --panel: #0E0E0E;
  --text: #F2F2F0;
  --muted: #9C9C9A;
  --line: rgb(255 255 255 / .1);
  --line-strong: rgb(255 255 255 / .24);
  --amber: #FFA801;
  --amber-hi: #FFC54D;
  --error: #FF8A73;

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --glow: 0 0 18px rgb(255 168 1 / .45);
  --gutter: clamp(16px, 2.5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--amber); color: var(--black); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.nowrap { white-space: nowrap; }
.amber { color: var(--amber); }

/* ===== Кнопки и ссылки ===== */
/* Кнопка-«таблетка» фирменного цвета: при наведении переливается, как золото, и светится */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 32px;
  background: var(--amber); color: var(--black);
  border: 1px solid var(--amber); border-radius: 999px;
  font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: box-shadow .35s, border-color .35s, color .2s, transform .1s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: 0;
  background: linear-gradient(110deg, #FFA801 0%, #FFD36B 20%, #FFA801 38%, #F09A00 52%, #FFC233 64%, #FFE7A3 80%, #FFA801 100%);
  background-size: 250% 100%;
  transition: opacity .35s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background-image: radial-gradient(rgb(0 0 0 / .14) .7px, transparent .8px);
  background-size: 4px 4px;
  transition: opacity .35s;
}
.btn:hover, .btn:focus-visible {
  color: var(--black); border-color: #FFD36B;
  box-shadow: 0 0 0 1px rgb(255 211 107 / .9), 0 0 24px rgb(255 168 1 / .6), 0 0 64px rgb(255 168 1 / .28);
}
.btn:hover::before, .btn:focus-visible::before { opacity: 1; animation: shimmer 2.4s linear infinite; }
.btn:hover::after, .btn:focus-visible::after { opacity: .5; }
.btn:active { transform: scale(.98); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.btn--outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
@media (prefers-reduced-motion: reduce) { .btn:hover::before, .btn:focus-visible::before { animation: none; } }

/* Пункты меню: подчёркивание «загорается» жёлтым при наведении */
.nav a {
  position: relative; text-decoration: none;
  transition: color .2s, text-shadow .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease, box-shadow .3s;
}
.nav a:hover, .nav a:focus-visible { color: #fff; text-shadow: var(--glow); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); box-shadow: 0 0 10px var(--amber); }

/* Ссылки-кнопки: золотая рамка; при наведении золото «распускается» из центра до краёв */
.link {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid var(--amber); border-radius: 999px;
  color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: color .3s, box-shadow .35s;
}
.link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(closest-side, #FFC54D, var(--amber));
  transform: scale(.25, 0); opacity: 0;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .25s;
}
.link:hover, .link:focus-visible { color: var(--black); box-shadow: 0 0 24px rgb(255 168 1 / .45); }
.link:hover::before, .link:focus-visible::before { transform: none; opacity: 1; }
.link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s; }
.link:hover svg { transform: translateY(2px); }
@media (prefers-reduced-motion: reduce) { .link, .link::before { transition: none; } }

/* ===== Шапка ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 30;
  display: flex; align-items: center; gap: 36px;
  padding: 16px var(--gutter);
  transition: background .25s, border-color .25s, padding .25s;
  border-bottom: 1px solid transparent;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgb(0 0 0 / .75) 0%, rgb(0 0 0 / .35) 60%, transparent 100%);
  transition: opacity .25s;
}
.header.is-scrolled::before { opacity: 0; }
.header.is-scrolled { background: rgb(0 0 0 / .84); backdrop-filter: blur(12px); border-color: var(--line); padding-block: 10px; }
/* Логотип: герб с крыльями и название обычным текстом — «ВИВАТ» белым, «МОТОРС» фирменным жёлтым */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo__crest { display: block; width: auto; height: 46px; transition: filter .3s; }
.logo:hover .logo__crest { filter: drop-shadow(0 0 10px rgb(255 168 1 / .55)); }
.logo__text { display: grid; gap: 5px; }
.logo__name { font-size: 20px; font-weight: 800; letter-spacing: .12em; line-height: 1; color: #fff; white-space: nowrap; }
.logo__name span { color: var(--amber); }
.logo__sub { font-size: 10px; font-weight: 600; letter-spacing: .3em; line-height: 1; color: var(--muted); text-transform: uppercase; }
.footer__name { font-size: 22px; font-weight: 800; letter-spacing: .12em; line-height: 1; color: #fff; }
.footer__name span { color: var(--amber); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; color: #B4B4B2; }
.header__phone { font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: text-shadow .2s, color .2s; }
.header__phone:hover { color: var(--amber); text-shadow: var(--glow); }
.burger { display: none; }

/* ===== Первый экран ===== */
.hero {
  position: relative; min-height: var(--hero-h, 100svh); overflow: hidden;
  display: flex; align-items: center;
  padding: 120px var(--gutter) 72px;
  isolation: isolate;
}
.hero__light { position: absolute; inset: 0; }
/* Машина стоит перед жёлтыми линиями бокса; края фото растворяются в темноте */
.hero__photo {
  position: absolute; z-index: 1; right: 0; bottom: 0;
  width: min(62vw, 1120px); height: 100%;
  pointer-events: none;
  /* два слоя маски: круглое пятно света и плавный уход в темноту слева, где текст */
  -webkit-mask: radial-gradient(ellipse 74% 82% at 62% 56%, #000 42%, transparent 86%), linear-gradient(90deg, transparent 0%, #000 34%);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(ellipse 74% 82% at 62% 56%, #000 42%, transparent 86%) intersect, linear-gradient(90deg, transparent 0%, #000 34%);
}
.hero__photo picture { display: block; width: 100%; height: 100%; }
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 58% 60%;
  opacity: 0; animation: photo-in 1.8s cubic-bezier(.2, .7, .2, 1) 1.1s forwards;
}
@keyframes photo-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.hero__copy { position: relative; z-index: 2; max-width: 860px; }
.hero__phone { display: none; }
.hero__light svg { width: 100%; height: 100%; display: block; }
.led polyline, .led line { fill: none; stroke: var(--amber); stroke-width: 6; stroke-linejoin: round; }
.led--core polyline { stroke-width: 2.5; stroke: #FFD06A; }
.led--faint { stroke-width: 1 !important; opacity: .3; }
/* лампы «зажигаются» при загрузке */
.led polyline, .led--faint {
  stroke-dasharray: 1600; stroke-dashoffset: 1600;
  animation: draw 1.8s cubic-bezier(.6, 0, .2, 1) .2s forwards;
}
.led--faint { animation-delay: .7s; }
.led .led-left { animation-delay: .6s; }
/* заголовок проявляется по словам, затем абзац и кнопки */
.hero h1 .w {
  display: inline-block;
  opacity: 0; transform: translateY(.32em); filter: blur(10px);
  animation: word-in .9s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(.45s + var(--i) * .08s);
}
.hero__kicker, .hero__lead { opacity: 0; animation: rise 1s cubic-bezier(.2, .7, .2, 1) 1.1s forwards; }
.hero__kicker { animation-delay: .2s; }
.hero__actions, .hero__offer { opacity: 0; animation: rise 1s cubic-bezier(.2, .7, .2, 1) 1.35s forwards; }
@keyframes word-in { to { opacity: 1; transform: none; filter: blur(0); } }
.hero h1.is-in .w { animation: none; opacity: 1; transform: none; filter: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .led polyline, .led--faint { animation: none; stroke-dashoffset: 0; }
  .hero h1 .w, .hero__kicker, .hero__lead, .hero__actions, .hero__offer, .hero__photo img { animation: none; opacity: 1; transform: none; filter: none; }
}

.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: 14px; font-weight: 600; letter-spacing: .04em; color: #CFCFCD;
}
.hero__kicker::before { content: ""; width: 26px; height: 2px; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.hero h1 {
  font-size: clamp(40px, 5.3vw, 92px);
  font-weight: 700; line-height: 1; letter-spacing: -0.045em;
  max-width: 13.5ch;
}
.hero__lead { margin-top: 26px; max-width: 52ch; font-size: clamp(17px, 1.3vw, 19px); color: #BDBDBB; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; margin-top: 22px; }
.hero__bookings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; }
.hero__bookings .hero__booking { min-width: 0; min-height: 54px; padding: 7px 20px; white-space: normal; text-align: center; line-height: 1.2; }
.hero__booking small { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.hero__offer { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: #CFCFCD; }
.hero__offer b {
  padding: 5px 12px; border-radius: 999px; border: 1px solid rgb(255 168 1 / .6);
  color: var(--amber); font-weight: 700; font-size: 14px;
}

/* ===== Полоса фактов ===== */
.facts { padding: 0 var(--gutter); }
.facts__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.fact { display: grid; gap: 6px; padding: 28px 28px 26px; text-decoration: none; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { font-size: clamp(28px, 2.8vw, 42px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.fact b .amber { font-size: .8em; }
.fact span { font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 24ch; }
a.fact:hover b { color: var(--amber); }

.frame { position: relative; }

/* ===== Свой цех: снимок во всю ширину ===== */
#shop { padding-left: 0; padding-right: 0; padding-bottom: 0; }
.shop__head { text-align: center; display: grid; justify-items: center; gap: 18px; padding: 0 var(--gutter); }
.shop__head h2 { max-width: 18ch; }
.shop__head p { color: var(--muted); max-width: 60ch; }
.shop__stage { position: relative; margin-top: clamp(8px, 1.5vw, 24px); overflow: hidden; }
.shop__img { display: block; width: 100%; height: min(52vw, 74vh, 760px); object-fit: cover; object-position: 50% 55%; }
.shop__stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--black) 0%, transparent 24%, transparent 70%, var(--black) 100%),
    linear-gradient(90deg, rgb(0 0 0 / .55), transparent 20%, transparent 80%, rgb(0 0 0 / .55));
}
/* Заголовки разделов */
.shop__head h2, .section__head h2, .calc__head h2, .booking h2, .about h2, .team h2, .partners h2, .jobs h2 {
  font-size: clamp(34px, 4.2vw, 66px); font-weight: 700; line-height: 1; letter-spacing: -0.04em;
}
/* ===== Разделы ===== */
.section { padding: clamp(40px, 5vw, 80px) var(--gutter); }
.facts + .section { padding-top: clamp(16px, 2.4vw, 28px); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section__head p { color: var(--muted); max-width: 48ch; }

/* ===== Подсветка рамок курсором (жёлтый свет) ===== */
.glow-frame {
  --mx: -999px; --my: -999px;
  position: relative; isolation: isolate;
  border: 1px solid rgb(255 255 255 / .1);
}
.glow-frame::after {
  content: ""; position: absolute; inset: -1px; z-index: 3; pointer-events: none;
  border-radius: inherit; padding: 1.5px;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgb(255 200 90 / .95), rgb(255 168 1 / .35) 35%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 6px rgb(255 168 1 / .5));
}
.glow-frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border-radius: inherit; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgb(255 168 1 / .07), transparent 60%);
}
.glow-frame:hover::before { opacity: 1; }

/* ===== Бегущая рамка (карточки услуг) ===== */
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.run-frame { position: relative; isolation: isolate; }
.run-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--spin),
    rgb(255 168 1 / .1) 0deg, rgb(255 200 90 / .95) 40deg, rgb(255 168 1 / .1) 95deg,
    rgb(255 168 1 / .1) 180deg, rgb(255 255 255 / .6) 225deg, rgb(255 168 1 / .1) 280deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-border 6s linear infinite;
}
@media (hover: hover) and (pointer: fine) {
  .run-frame:hover::after { animation-duration: 2.5s; filter: drop-shadow(0 0 6px rgb(255 168 1 / .7)); }
}
.run-frame:nth-child(2n)::after { animation-delay: -2s; }
.run-frame:nth-child(3n)::after { animation-delay: -4s; }
@keyframes spin-border { to { --spin: 360deg; } }
.carousel.is-offscreen .run-frame::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .run-frame::after { animation: none; } }

/* ===== Карусель услуг ===== */
.carousel { position: relative; margin: 0 calc(-1 * var(--gutter)); }
.carousel__track {
  list-style: none; margin: 0; padding: 8px var(--gutter) 12px;
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scroll-behavior: smooth; scrollbar-width: none;
  cursor: grab; user-select: none;
}
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel__track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } }
.carousel__btn {
  position: absolute; top: 50%; z-index: 5; transform: translateY(-50%);
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--amber); color: #000; border: 0; cursor: pointer;
  box-shadow: 0 8px 30px rgb(0 0 0 / .5);
  transition: opacity .25s, transform .2s, box-shadow .25s;
}
.carousel__btn--prev { left: calc(var(--gutter) - 14px); }
.carousel__btn--next { right: calc(var(--gutter) - 14px); }
.carousel__btn:hover { box-shadow: 0 0 0 1px #FFD36B, 0 0 26px rgb(255 168 1 / .6); }
.carousel__btn:active { transform: translateY(-50%) scale(.94); }
.carousel__btn:disabled { opacity: 0; pointer-events: none; }
.carousel__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.carousel__dots, .reviews__dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.carousel__dots button, .reviews__dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; cursor: pointer;
  background: rgb(255 255 255 / .28); transition: width .3s, background .3s;
}
.carousel__dots button[aria-current="true"], .reviews__dots button[aria-current="true"] { width: 28px; background: var(--amber); }

.tile {
  flex: 0 0 clamp(280px, 24vw, 400px);
  aspect-ratio: 3 / 4.2;
  scroll-snap-align: start;
  border-radius: 22px;
  background-color: #0d0d0d;
  perspective: 1600px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgb(0 0 0 / .6), 0 0 0 1px rgb(255 168 1 / .2); }
.tile__inner {
  position: relative; height: 100%; border-radius: inherit;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2, .75, .2, 1);
}
.tile.is-flipped .tile__inner { transform: rotateY(180deg); }
.tile__face {
  position: absolute; inset: 0; isolation: isolate; overflow: clip;
  display: flex; flex-direction: column;
  padding: 30px 28px 26px; border-radius: inherit; color: #fff;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.tile__back { transform: rotateY(180deg); background-color: #0d0d0d; }
.tile__front, .tile__back { cursor: pointer; }
.tile__front { text-shadow: 0 1px 12px rgb(0 0 0 / .55); background-color: #181410; }
.tile__front::before, .tile__back::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.tile__front::before { background: linear-gradient(180deg, rgb(0 0 0 / .8) 0%, rgb(0 0 0 / .38) 34%, rgb(0 0 0 / 0) 52%, rgb(0 0 0 / .05) 60%, rgb(0 0 0 / .85) 100%); }
.tile__back::before { background: radial-gradient(120% 70% at 50% 0%, rgb(255 168 1 / .1), transparent 60%); }
.tile__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tile__tag { font-size: 15px; font-weight: 700; color: var(--amber); }
.tile__title { margin-top: 14px; font-size: clamp(25px, 2vw, 31px); font-weight: 700; line-height: 1.16; letter-spacing: -0.02em; max-width: 13ch; }
.tile__foot { margin-top: auto; position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.tile__foot p { display: grid; gap: 2px; }
.tile__foot b { font-size: 19px; font-weight: 700; white-space: nowrap; }
.tile__foot span { font-size: 14px; opacity: .75; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.tile__more { flex: none; text-shadow: none; }
.tile__about { margin-top: 14px; font-size: 16px; line-height: 1.5; color: #EDEDEB; }
.tile__list {
  list-style: none; margin: 18px 0 0; padding: 16px 0 0;
  border-top: 1px solid rgb(255 255 255 / .16);
  display: grid; gap: 10px; font-size: 14px; line-height: 1.4; color: #D2D2D0;
}
.tile__list li, .plan-list li { position: relative; padding-left: 24px; }
.tile__list li::before, .plan-list li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 11px; height: 6px;
  border-left: 1.8px solid var(--amber); border-bottom: 1.8px solid var(--amber);
  transform: rotate(-45deg);
}
.tile__facts { margin: auto 0 0; padding-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile__facts div { padding: 14px 16px; border-radius: 14px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); }
.tile__facts dt { font-size: 12px; color: rgb(255 255 255 / .6); }
.tile__facts dd { margin: 4px 0 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.tile__facts + .tile__actions { margin-top: 0; }
.tile__tag-price { display: none; }
.tile__actions { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 10px; }
.tile__actions .btn { flex: 1; }
.tile { container-type: inline-size; }
@container (max-width: 330px) {
  .tile__foot { flex-direction: column; align-items: stretch; gap: 14px; }
  .tile__back { padding: 22px 20px 20px; }
  .tile__back .tile__tag { font-size: 13px; }
  .tile__about { margin-top: 10px; font-size: 14.5px; line-height: 1.45; }
  .tile__list { margin-top: 14px; padding-top: 12px; gap: 7px; font-size: 13px; }
  .tile__actions { padding-top: 12px; }
  .tile__facts { display: none; }
  .tile__facts + .tile__actions { margin-top: auto; }
  .tile__tag-price { display: inline; }
}
@container (min-width: 360px) {
  .tile__back { padding: 32px 28px 26px; }
  .tile__about { margin-top: 16px; font-size: 17px; line-height: 1.45; }
  .tile__list { margin-top: 20px; padding-top: 18px; gap: 12px; font-size: 15px; }
  .tile__actions .btn { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .tile, .tile__inner { transition: none; } }

/* ===== До и после ===== */
/* Четыре работы ровной сеткой 2×2: в каждой паре два снимка 4:3 одного размера */
.pairs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pair { margin: 0; padding: 12px; border-radius: 26px; background: var(--panel); min-width: 0; }
.pair__photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pair__photos::after {
  content: ""; position: absolute; top: 50%; left: 50%; z-index: 2;
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: 0 0 0 5px var(--panel), 0 0 22px rgb(255 168 1 / .45);
  pointer-events: none;
}
.ba__side {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: 16px; background: var(--stage);
  border: 1px solid var(--line);
}
.ba__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ba__side:hover .ba__img { transform: scale(1.04); }
.ba__tag {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 14px; border-radius: 999px;
  background: rgb(0 0 0 / .62); backdrop-filter: blur(8px);
  border: 1px solid rgb(255 255 255 / .16);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
.ba__side + .ba__side .ba__tag { background: var(--amber); color: var(--black); border-color: var(--amber); }
.pair__caption { padding: 16px 8px 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.pair__num {
  display: inline-block; margin-right: 10px; padding: 2px 9px; border-radius: 999px;
  border: 1px solid rgb(255 168 1 / .55); font-size: 12px; font-weight: 700; color: var(--amber);
  vertical-align: 2px;
}
.pair__caption b { font-size: 17px; font-weight: 700; line-height: 2; color: var(--text); }
.pair__caption b::after { content: "\A"; white-space: pre; }
.works-tabs { display: none; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; }
.works-tab {
  min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--muted); font: 600 15px var(--font);
  transition: background .25s, color .25s, box-shadow .25s;
}
.works-tab:hover { color: var(--text); }
.works-tab[aria-pressed="true"] { background: var(--amber); color: var(--black); box-shadow: 0 0 18px rgb(255 168 1 / .35); }
.works__more { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; font-size: 15px; color: var(--muted); }

/* ===== Калькулятор ===== */
.calc__head { display: grid; gap: 16px; margin-bottom: 40px; }
.calc__head p { color: var(--muted); max-width: 64ch; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 28vw, 460px); gap: 24px; align-items: start; }
.calc__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.calc__group { display: grid; gap: 10px; align-content: start; }
.calc__group h3 { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.calc-row {
  display: flex; align-items: center; gap: 16px;
  min-height: 72px; padding: 14px 18px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line);
  cursor: pointer; transition: border-color .2s, background .2s;
}
.calc-row:hover { border-color: rgb(255 255 255 / .24); }
.calc-row.is-on { border-color: rgb(255 168 1 / .7); background: rgb(255 168 1 / .06); }
.calc-row__name { flex: 1; min-width: 0; display: grid; gap: 2px; }
.calc-row__name b { font-size: 16px; font-weight: 600; line-height: 1.3; }
.calc-row__name span { font-size: 14px; color: var(--muted); }
/* свой флажок: жёлтый квадрат с галочкой, справа — как счётчики в соседних строках */
.calc-check { position: relative; flex: none; width: 26px; height: 26px; order: 2; margin-right: 6px; }
.calc-check input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.calc-check span {
  position: absolute; inset: 0; border-radius: 8px; border: 1.5px solid var(--line-strong);
  transition: background .15s, border-color .15s;
}
.calc-check span::after {
  content: ""; position: absolute; left: 8px; top: 4px; width: 7px; height: 12px;
  border-right: 2.4px solid #000; border-bottom: 2.4px solid #000; transform: rotate(45deg); opacity: 0;
}
.calc-check input:checked + span { background: var(--amber); border-color: var(--amber); }
.calc-check input:checked + span::after { opacity: 1; }
.calc-check input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 3px; }
/* счётчик деталей */
.stepper { flex: none; display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; border: 1px solid var(--line-strong); }
.stepper button {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(255 255 255 / .08); color: var(--text); font: 600 18px/1 var(--font);
  transition: background .15s, color .15s;
}
.stepper button:hover { background: var(--amber); color: #000; }
.stepper button:disabled { opacity: .35; pointer-events: none; }
.stepper output { min-width: 26px; text-align: center; font-weight: 700; }
.calc-row.is-on .stepper { border-color: rgb(255 168 1 / .6); }

.calc__sum {
  position: sticky; top: 96px;
  display: grid; gap: 18px; padding: 30px 28px; border-radius: 22px; background: var(--panel);
}
.calc__label { font-size: 14px; font-weight: 600; color: var(--muted); }
.calc__total { font-size: clamp(40px, 3.4vw, 56px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.calc__total small { font-size: .42em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.calc__old { font-size: 15px; color: var(--muted); }
.calc__old s { text-decoration-color: var(--amber); }
.calc__lines { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 14px; color: #CFCFCD; min-height: 2em; }
.calc__lines li { display: flex; justify-content: space-between; gap: 12px; }
.calc__lines li span:last-child { white-space: nowrap; color: var(--text); }
.calc__empty { color: var(--muted); }
.calc__discount { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px dashed rgb(255 168 1 / .5); font-size: 15px; font-weight: 600; cursor: pointer; }
.switch {
  position: relative; flex: none; width: 48px; height: 26px; border-radius: 13px;
  background: rgb(255 255 255 / .14); border: 0; cursor: pointer; padding: 0;
  transition: background .2s;
}
.switch span { position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--text); transition: transform .2s ease, background .2s; }
.switch[aria-checked="true"] { background: var(--amber); }
.switch[aria-checked="true"] span { transform: translateX(22px); background: #000; }
.calc__note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.calc__sum .btn { width: 100%; }

/* полный прайс: строки с ценами — настоящий текст для поиска */
/* три компактные карточки по группам; в третьей колонке — призыв оценить по фото, чтобы не было пустоты */
.pricelist { margin-top: 56px; }
.pricelist__title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.pricelist__title h3 { font-size: clamp(22px, 1.8vw, 28px); font-weight: 700; letter-spacing: -0.02em; }
.pricelist__title p { font-size: 14px; color: var(--muted); }
.prices-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price-card { padding: 18px 22px 10px; border-radius: 22px; background: var(--panel); }
.price-card__head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 2px; border-bottom: 1px solid rgb(255 168 1 / .35); }
.price-card__head h4 { margin: 0; font-size: 16px; font-weight: 700; }
.price-card__icon {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: rgb(255 168 1 / .12); border: 1px solid rgb(255 168 1 / .4); color: var(--amber);
}
.price-card__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.price-card dl { margin: 0; }
.price-card dl div { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; font-size: 15px; }
.price-card dl div + div { border-top: 1px solid rgb(255 255 255 / .06); }
.price-card dt { flex: 1; color: #D6D6D4; }
.price-card dd { margin: 0; font-weight: 700; white-space: nowrap; }
.price-card dd small { margin-right: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.price-stack { display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.price-cta {
  display: grid; align-content: end; justify-items: start; gap: 10px; padding: 22px 24px;
  border-radius: 22px; border: 1px solid rgb(255 168 1 / .4);
  background: radial-gradient(120% 90% at 100% 0%, rgb(255 168 1 / .16), transparent 60%), var(--panel);
}
.price-cta .price-card__icon { width: 44px; height: 44px; margin-bottom: 4px; }
.price-cta b { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.price-cta p { font-size: 14px; color: #C9C9C7; }
.price-cta .link { width: 100%; margin-top: 6px; }

/* ===== О центре ===== */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.about__text { display: grid; gap: 22px; align-content: start; }
.about__text > p { color: #C4C4C2; max-width: 56ch; }
.about__list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about__list li { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); font-size: 15px; line-height: 1.4; color: #CFCFCD; }
.about__list b { display: block; font-size: 17px; color: var(--text); margin-bottom: 4px; }
.about__paints { font-size: 14px; color: var(--muted); }
.about__paints b { color: var(--text); font-weight: 600; }
.about__photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.about__photo { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 20px; background: var(--stage); }
.about__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(0 0 0 / .85)); pointer-events: none; }
.about__photo figcaption { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.about__photo figcaption span { display: block; font-size: 13px; font-weight: 500; color: #CFCFCD; margin-top: 2px; }

/* ===== Команда: фото зоны приёмки и этапы по цехам ===== */
.team { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.team__photo { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 24px; background: var(--stage); }
.team__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(0 0 0 / .85)); pointer-events: none; }
.team__photo figcaption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 20px; font-size: 19px; font-weight: 700; line-height: 1.3; }
.team__photo figcaption span { display: block; font-size: 14px; font-weight: 500; color: #CFCFCD; margin-top: 2px; }
.team__text { display: grid; gap: 20px; align-content: start; }
.team__text > p { color: #C4C4C2; max-width: 52ch; }
.team__roles { list-style: none; margin: 6px 0 0; padding: 0; counter-reset: role; border-top: 1px solid var(--line); }
.team__roles li { counter-increment: role; display: grid; grid-template-columns: 48px 1fr; gap: 4px 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.team__roles li::before { content: "0" counter(role); grid-row: span 2; font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--amber); }
.team__roles b { font-size: 18px; line-height: 1.4; }
.team__roles span { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ===== Нам доверяют: страховые плитками с полосой цвета компании ===== */
.partners { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.partners__head { display: grid; gap: 20px; justify-items: start; }
.partners__head p { color: #C4C4C2; max-width: 44ch; }
.partners__body h3 { margin-bottom: 16px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.insurers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.insurers li {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; min-height: 124px; padding: 20px 22px;
  border-radius: 20px; border: 1px solid var(--line); background: var(--panel);
  font-size: clamp(18px, 1.45vw, 23px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  transition: border-color .3s;
}
.insurers li::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--c) 26%, transparent), transparent 65%);
}
.insurers li::after { content: ""; position: absolute; left: 22px; top: 22px; width: 30px; height: 4px; border-radius: 2px; background: var(--c); box-shadow: 0 0 14px var(--c); }
.insurers li:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); }

/* ===== Запись на подачу документов в СК: календарь окон ===== */
.sk {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px clamp(28px, 4vw, 64px);
  padding: clamp(24px, 3.4vw, 48px); border-radius: 28px;
  background: radial-gradient(70% 90% at 0% 0%, rgb(255 168 1 / .1), transparent 60%), var(--panel);
}
/* заголовок над календарём, пояснение над формой — без пустой половины */
.sk__intro { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; gap: 16px clamp(28px, 4vw, 64px); align-items: end; }
.sk__intro h2 { font-size: clamp(30px, 3.4vw, 54px); font-weight: 700; line-height: 1.04; letter-spacing: -0.04em; }
.sk__company { color: var(--amber); }
.sk__intro p { color: #C4C4C2; max-width: 60ch; }
.sk__weekdays, .sk__days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sk__weekdays span { padding-bottom: 6px; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.sk-day {
  display: grid; justify-items: center; gap: 1px; padding: 10px 4px 9px;
  border-radius: 14px; border: 1px solid var(--line-strong); background: transparent;
  color: var(--text); font: inherit; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
}
.sk-day b { font-size: 22px; line-height: 1.15; }
.sk-day span { font-size: 12px; line-height: 1.3; color: var(--muted); }
.sk-day small { font-size: 12px; line-height: 1.3; font-weight: 600; color: var(--amber); }
.sk-day:hover { border-color: var(--amber); }
.sk-day[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--black); box-shadow: 0 0 24px rgb(255 168 1 / .4); }
.sk-day[aria-pressed="true"] span, .sk-day[aria-pressed="true"] small { color: rgb(0 0 0 / .72); }
.sk-day:disabled { cursor: default; border-style: dashed; border-color: var(--line); opacity: .45; }
.sk-day:disabled small { color: var(--muted); }
.sk-day--blank { visibility: hidden; }
.sk__label { margin: 22px 0 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.sk__times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sk__hint { grid-column: 1 / -1; font-size: 15px; color: var(--muted); }
.sk-time {
  min-height: 52px; border-radius: 999px; border: 1px solid var(--amber); background: transparent;
  color: var(--text); font: 700 17px var(--font); cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.sk-time:hover { box-shadow: 0 0 18px rgb(255 168 1 / .35); }
.sk-time[aria-pressed="true"] { background: var(--amber); color: var(--black); box-shadow: 0 0 24px rgb(255 168 1 / .45); }
.sk-time:disabled { cursor: default; border-color: var(--line); color: #5E5E5C; text-decoration: line-through; box-shadow: none; }
.sk__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.sk__picked { grid-column: 1 / -1; padding: 14px 18px; border-radius: 14px; border: 1px dashed var(--line-strong); font-weight: 600; color: var(--muted); }
.sk__picked.is-set { border-style: solid; border-color: rgb(255 168 1 / .6); color: var(--text); }
.sk__form .form__submit { justify-self: stretch; }

/* ===== Вакансии ===== */
.jobs {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 4vw, 56px); border-radius: 28px;
  background: radial-gradient(80% 120% at 100% 100%, rgb(255 168 1 / .12), transparent 60%), var(--panel);
}
.jobs__text { display: grid; gap: 20px; justify-items: start; }
.jobs__text p { color: #C4C4C2; max-width: 52ch; }
.jobs__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.jobs__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.jobs__steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: rgb(0 0 0 / .35); }
.jobs__steps li::before {
  content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgb(255 168 1 / .5); color: var(--amber); font-weight: 800;
}
.jobs__steps b { font-size: 17px; line-height: 1.4; }
.jobs__steps span { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ===== Отзывы ===== */
.stars {
  display: inline-block; width: 86px; height: 15px; flex: none;
  background: var(--amber);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M9 .8l2.47 5.01 5.53.8-4 3.9.94 5.5L9 13.42l-4.94 2.6.94-5.5-4-3.9 5.53-.8z'/%3E%3C/svg%3E") 0 0 / 17.2px 15px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M9 .8l2.47 5.01 5.53.8-4 3.9.94 5.5L9 13.42l-4.94 2.6.94-5.5-4-3.9 5.53-.8z'/%3E%3C/svg%3E") 0 0 / 17.2px 15px repeat-x;
}
.stars--45 { width: 77.4px; } /* 4,5 звезды */
.ratings { display: flex; flex-wrap: wrap; gap: 14px; }
.rating {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px 12px 16px; border: 1px solid var(--line-strong); border-radius: 16px;
  text-decoration: none; transition: border-color .2s;
}
.rating:hover { border-color: var(--amber); }
.rating > b { font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.rating__info { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.reviews { columns: 3 320px; column-gap: 20px; }
.review {
  break-inside: avoid; margin-bottom: 20px;
  display: grid; gap: 18px; padding: 30px 28px;
  border-radius: 22px; background: var(--panel);
}
.review__text { font-size: 16px; line-height: 1.6; color: #DCDCDA; }
.review__who { display: grid; gap: 2px; padding-top: 18px; border-top: 1px solid var(--line); }
.review__who b { font-size: 16px; font-weight: 600; }
.review__who span { font-size: 13px; color: var(--muted); }
.reviews__dots { display: none; margin-top: 16px; }
.reviews__note { margin-top: 8px; text-align: center; font-size: 13px; color: var(--muted); }

/* ===== Частые вопросы ===== */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 110px; display: grid; justify-items: start; gap: 18px; }
.faq__head h2 { font-size: clamp(34px, 4.2vw, 66px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.faq__head p { color: var(--muted); max-width: 36ch; }
.faq__list { border-top: 1px solid var(--line); }
.qa { position: relative; border-bottom: 1px solid var(--line); }
.qa::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, var(--amber), rgb(255 168 1 / .3));
  box-shadow: 0 0 10px rgb(255 168 1 / .7);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
}
.qa:has(summary:focus-visible)::after { transform: scaleX(1); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; list-style: none; cursor: pointer;
  font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -0.01em;
  transition: color .2s;
}
.qa summary h3 { font: inherit; }
.qa summary::-webkit-details-marker { display: none; }
.qa[open] summary { color: var(--amber); }
.qa__icon {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--text);
  transition: transform .3s ease, background .3s, border-color .3s, box-shadow .3s;
}
.qa summary:focus-visible .qa__icon { border-color: var(--amber); box-shadow: 0 0 18px rgb(255 168 1 / .5); }
@media (hover: hover) and (pointer: fine) {
  .qa:hover::after { transform: scaleX(1); }
  .qa summary:hover { color: var(--amber); }
  .qa summary:hover .qa__icon { border-color: var(--amber); box-shadow: 0 0 18px rgb(255 168 1 / .5); }
}
@media (hover: none) { .qa::after { display: none; } }
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.6px;
  background: currentColor; transform: translate(-50%, -50%);
}
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--amber); border-color: var(--amber); color: var(--black); }
.qa__body p { padding: 0 64px 28px 0; color: #BDBDBB; max-width: 70ch; }
@supports selector(::details-content) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: hidden; transition: height .35s ease, content-visibility .35s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .qa::details-content { transition: none; }
  .qa__icon, .ba__img { transition: none; }
}

/* ===== Блог ===== */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 22px; background: var(--panel); text-decoration: none; transition: transform .3s; }
.post:hover { transform: translateY(-4px); }
.post__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post__body { display: grid; gap: 12px; align-content: start; padding: 24px 26px 28px; }
.post__meta { font-size: 13px; color: var(--muted); }
.post h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; transition: color .2s; }
.post:hover h3 { color: var(--amber); }
.post p { font-size: 15px; color: #BDBDBB; }
.post__more { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--amber); }

/* ===== Запись ===== */
.booking { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 6vw, 96px); }
.booking__lead { margin-top: 16px; max-width: 58ch; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.field { display: grid; gap: 8px; align-content: start; font-size: 14px; font-weight: 500; color: var(--muted); }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 0 16px;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 10px;
  font: 400 16px var(--font);
}
.field textarea { min-height: 96px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #6E6E6C; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--amber); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== Красивые выпадающие списки ===== */
.dd__native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dd { position: relative; }
.dd__btn {
  width: 100%; min-height: 52px; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--panel); color: var(--text); text-align: left;
  border: 1px solid var(--line-strong); border-radius: 10px;
  font: 400 16px var(--font); cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.dd__btn:hover { border-color: rgb(255 255 255 / .45); background: #121212; }
.dd__btn:focus-visible, .dd.is-open .dd__btn { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgb(255 168 1 / .12); }
.dd.is-empty .dd__value { color: #8A8A88; }
.dd__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd__chev { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.dd.is-open .dd__chev { transform: rotate(180deg); }
.dd__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20;
  padding: 8px;
  background: rgb(18 18 18 / .97); backdrop-filter: blur(16px);
  border: 1px solid rgb(255 255 255 / .14); border-radius: 14px;
  box-shadow: 0 24px 60px rgb(0 0 0 / .7), 0 0 0 1px rgb(0 0 0 / .6);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top center;
  transition: opacity .18s ease, transform .18s ease;
}
.dd.is-up .dd__panel { top: auto; bottom: calc(100% + 8px); transform-origin: bottom center; transform: translateY(6px) scale(.98); }
.dd.is-open .dd__panel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .dd__panel, .dd__chev { transition: none; } }
.dd__search {
  width: 100%; height: 42px; margin-bottom: 6px; padding: 0 12px 0 38px;
  background: #0a0a0a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C9C9A' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E") no-repeat 12px center / 17px;
  color: var(--text); border: 1px solid var(--line); border-radius: 8px;
  font: 400 15px var(--font);
}
.dd__search:focus-visible { outline: none; border-color: rgb(255 168 1 / .6); }
.dd__search::placeholder { color: #6E6E6C; }
.dd__list {
  list-style: none; margin: 0; padding: 0;
  max-height: 300px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); gap: 2px;
  scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / .2) transparent;
}
.dd__list:focus { outline: none; }
.dd__group { grid-column: 1 / -1; padding: 12px 12px 6px; font-size: 12px; font-weight: 700; color: var(--amber); }
.dd__group:first-child { padding-top: 6px; }
.dd__opt {
  display: flex; align-items: center; gap: 10px;
  min-height: 42px; padding: 9px 12px; border-radius: 8px;
  font-size: 15px; line-height: 1.3; color: #DDDDDB; cursor: pointer;
  transition: background .12s, color .12s;
}
.dd__opt[hidden] { display: none; }
.dd__label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.dd__meta { flex: none; font-size: 13px; color: var(--muted); white-space: nowrap; }
.dd__check { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--amber); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.dd__opt.is-active { background: rgb(255 255 255 / .08); color: #fff; }
.dd__opt[aria-selected="true"] { color: #fff; font-weight: 600; }
.dd__opt[aria-selected="true"] .dd__check { opacity: 1; }
.dd__list.is-filtered .dd__group { display: none; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--amber); }
.form__error { color: var(--error); font-size: 15px; font-weight: 600; }
.form__submit { justify-self: start; }
.form__submit[disabled] { opacity: .6; pointer-events: none; }
.form__ok { padding: 14px 18px; border: 1px solid rgb(255 168 1 / .6); border-radius: 10px; font-size: 15px; }

.contacts dl { margin: 0; border-top: 1px solid var(--line); }
.contacts dl div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contacts dt { font-size: 14px; color: var(--muted); }
.contacts dd { margin: 4px 0 0; font-size: 19px; font-weight: 500; }
.contacts dd a { text-decoration: none; }
.contacts dd a:hover { color: var(--amber); }
.messengers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.msg {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); text-decoration: none;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.msg:hover, .msg:focus-visible { border-color: var(--amber); background: rgb(255 168 1 / .06); box-shadow: 0 0 20px rgb(255 168 1 / .2); }
.msg--wide { grid-column: 1 / -1; }
.msg svg { width: 19px; height: 19px; fill: currentColor; flex: none; }
.msg__max {
  display: grid; place-items: center; flex: none;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--text); color: var(--black); font-size: 12px; font-weight: 800;
}
.map {
  position: relative; overflow: hidden; margin-top: 22px;
  aspect-ratio: 4 / 3; border-radius: 18px; border: 1px solid var(--line);
  background:
    linear-gradient(115deg, transparent 47%, rgb(255 168 1 / .08) 47.5% 49%, transparent 49.5%),
    linear-gradient(25deg, transparent 60%, rgb(255 255 255 / .05) 60.5% 61.5%, transparent 62%),
    repeating-linear-gradient(0deg, rgb(255 255 255 / .035) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgb(255 255 255 / .035) 0 1px, transparent 1px 34px),
    #0b0b0b;
}
.map__cover {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px;
  padding: 20px; text-align: center;
  background: radial-gradient(circle at 50% 45%, rgb(0 0 0 / .1), rgb(0 0 0 / .65) 75%);
}
.map__pin { width: 18px; height: 18px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 6px rgb(255 168 1 / .18), 0 0 24px rgb(255 168 1 / .8); }
.map__addr { font-size: 16px; font-weight: 600; max-width: 30ch; }
.map__show { margin-top: 4px; }
.map__note { max-width: 32ch; font-size: 12px; line-height: 1.45; color: var(--muted); }
.map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(.9) hue-rotate(180deg) saturate(.55) brightness(.95) contrast(.95);
}
.map__open { margin-top: 12px; font-size: 15px; }
.map__open svg { width: 16px; height: 16px; }
.map__open:hover svg { transform: translate(2px, -2px); }

/* ===== Кнопка чата: мессенджеры и звонок в один клик ===== */
.chat { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: grid; justify-items: end; gap: 12px; }
.chat__btn {
  position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--amber); color: #000;
  box-shadow: 0 10px 30px rgb(0 0 0 / .55), 0 0 0 0 rgb(255 168 1 / .5);
  transition: transform .2s, box-shadow .3s;
}
.chat__btn:hover { transform: scale(1.06); box-shadow: 0 10px 30px rgb(0 0 0 / .55), 0 0 26px rgb(255 168 1 / .6); }
.chat__btn svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat__btn .i-close { display: none; }
.chat.is-open .chat__btn .i-chat { display: none; }
.chat.is-open .chat__btn .i-close { display: block; }
.chat__panel {
  width: min(320px, calc(100vw - 32px)); padding: 18px; border-radius: 20px;
  background: rgb(16 16 16 / .97); border: 1px solid rgb(255 168 1 / .35);
  box-shadow: 0 24px 60px rgb(0 0 0 / .7);
  display: grid; gap: 10px;
  opacity: 0; transform: translateY(8px) scale(.98); transform-origin: bottom right;
  transition: opacity .2s, transform .2s;
}
.chat__panel[hidden] { display: none; }
.chat.is-open .chat__panel { opacity: 1; transform: none; }
.chat__title { font-size: 17px; font-weight: 700; }
.chat__sub { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.chat__panel .msg { justify-content: flex-start; padding: 0 18px; }

/* ===== Подвал ===== */
.footer {
  padding: 48px var(--gutter) 48px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px 56px; align-items: start;
  font-size: 13px; color: var(--muted);
}
.footer__brand { display: grid; gap: 14px; justify-items: start; }
.footer__brand img { display: block; height: 64px; width: auto; }
.footer__col { display: grid; gap: 8px; }
.footer__col b { color: var(--text); font-size: 14px; }
.footer__col .footer__sub { margin-top: 12px; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--amber); }
.footer__legal { display: grid; gap: 2px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ===== Статьи блога ===== */
.page-top { padding: 120px var(--gutter) 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.crumbs span[aria-hidden] { color: var(--amber); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 420px); gap: clamp(32px, 5vw, 80px); padding: 28px var(--gutter) clamp(48px, 6vw, 96px); align-items: start; }
.article h1 { font-size: clamp(34px, 4vw, 62px); font-weight: 700; line-height: 1.04; letter-spacing: -0.04em; max-width: 22ch; }
.article__meta { margin-top: 16px; font-size: 14px; color: var(--muted); }
.article__cover { margin: 32px 0 0; border-radius: 22px; overflow: hidden; }
.article__cover img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.article__body { margin-top: 36px; max-width: 72ch; font-size: 18px; color: #D4D4D2; }
.article__body h2 { margin: 40px 0 0; font-size: clamp(24px, 2vw, 30px); font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.article__body p { margin-top: 16px; }
.article__body ul { margin: 16px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.article__body li { position: relative; padding-left: 26px; }
.article__body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 2px; background: var(--amber); }
.article__body strong { color: var(--text); }
.article__lead { font-size: 20px; color: var(--text); }
.article__pair { margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.article__pair img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.article__pair figcaption { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside__card { display: grid; gap: 14px; padding: 28px; border-radius: 22px; background: var(--panel); }
.aside__card h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.aside__card p { font-size: 15px; color: var(--muted); }
.aside__card .btn { width: 100%; }
.aside__links { display: grid; gap: 4px; }
.aside__links a { padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; font-weight: 600; }
.aside__links a:hover { color: var(--amber); }

/* Документы и 404 */
.doc-header { padding: 18px var(--gutter); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 24px; }
.doc-back { font-weight: 600; text-decoration: none; }
.doc-back:hover { color: var(--amber); }
.doc { padding: 48px var(--gutter) 80px; color: #D6D6D4; }
.doc > * { max-width: 76ch; }
.doc h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.doc h2 { margin-top: 36px; font-size: 20px; font-weight: 700; color: var(--text); }
.doc p, .doc li { margin-top: 12px; }
.doc__date { color: var(--muted); }
.notfound { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 20px; padding: 40px var(--gutter); text-align: center; }
.notfound b { font-size: clamp(80px, 14vw, 180px); line-height: 1; color: var(--amber); letter-spacing: -0.05em; }

/* ===== Телефон и планшет: лёгкий режим для плавной прокрутки ===== */
@media (hover: none) {
  .run-frame::after { animation: none; }
  .header.is-scrolled { backdrop-filter: none; background: rgb(0 0 0 / .94); }
  .ba__tag { backdrop-filter: none; background: rgb(0 0 0 / .72); }
  .tile:hover, .post:hover { transform: none; box-shadow: none; }
  .hero__light g[filter] { display: none; }
  .hero__light, .hero__photo { transform: translateZ(0); }
  .dd__panel { backdrop-filter: none; }
}

/* ===== Адаптив ===== */
@media (max-width: 1280px) {
  .header { gap: 24px; }
  .nav { gap: 20px; }
  .logo__text { display: none; }
}
@media (max-width: 1100px) {
  .calc { grid-template-columns: 1fr; }
  .prices-cards { grid-template-columns: 1fr 1fr; }
  .price-stack { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .calc__sum { position: static; }
  .about, .team, .partners { grid-template-columns: 1fr; }
  .team__photo { order: 1; }
  .posts { grid-template-columns: 1fr 1fr; }
  .posts .post:nth-child(3) { display: none; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
/* в меню девять пунктов — на планшете они уже не помещаются в строку, прячем под кнопку */
@media (max-width: 1080px) {
  .header { gap: 16px; }
  .header__phone { margin-left: auto; }
  .logo__text { display: grid; }
  .burger {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
  }
  .burger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: transform .2s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; gap: 0;
    background: var(--black); border-bottom: 1px solid var(--line);
    max-height: calc(100svh - 70px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px var(--gutter); border-top: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .nav a::after { display: none; }
  .header:has(.nav.is-open) { background: var(--black); }
}
@media (max-width: 980px) {
  .sk, .jobs { grid-template-columns: 1fr; }
  .works-lead { display: none; }
  .works-tabs { display: inline-flex; }
  .pairs { grid-template-columns: 1fr; }
  .pair:not(.is-active) { display: none; }
  .pair__caption { text-align: center; }
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .booking { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 860px) {
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .prices-cards, .price-stack { grid-template-columns: 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .calc__groups { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header__phone { display: none; }
  .hero__phone { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 14px; color: var(--amber); font-size: 20px; font-weight: 700; text-decoration: none; }
  .burger { margin-left: auto; }
  /* на узком экране яркие линии бокса перечёркивают заголовок — оставляем только тонкую нижнюю */
  .hero__light .led:not(.led--faint) { display: none; }
  .logo__crest { height: 38px; }
  .logo__name { font-size: 16px; letter-spacing: .1em; }
  .logo__sub { font-size: 9px; letter-spacing: .24em; }
  /* Телефон: сверху текст, под ним фото машины обычным блоком (затемнение вшито в картинку) */
  .hero { min-height: 0; padding: 104px var(--gutter) 0; flex-direction: column; align-items: stretch; }
  .hero__copy { order: 1; }
  .hero__light polygon { display: none; }
  .hero__photo {
    order: 2; position: relative; right: auto; bottom: auto;
    width: auto; height: auto; aspect-ratio: 4 / 3;
    margin: 0 calc(-1 * var(--gutter));
    -webkit-mask: none; mask: none;
  }
  .hero__photo img { object-position: 50% 50%; }
  .hero__actions { gap: 16px; }
  .hero__bookings { gap: 10px; }
  .hero__bookings .hero__booking { min-height: 54px; padding: 6px 8px; font-size: 13px; }
  .hero__booking small { font-size: 10px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__offer { flex-wrap: wrap; }
  .fact { padding: 20px 16px; }
  .shop__img { height: 62vw; }
  .hero__actions .link { flex: 1 1 100%; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
  .form { grid-template-columns: 1fr; }
  .form__submit { justify-self: stretch; }
  .pair { padding: 8px; border-radius: 20px; }
  .pair__photos { gap: 6px; }
  .ba__side { border-radius: 12px; }
  .ba__tag { top: 8px; left: 8px; padding: 4px 10px; font-size: 12px; }
  .works-tab { padding: 0 14px; font-size: 14px; }
  .calc-row { padding: 12px 14px; min-height: 64px; }
  .calc__sum { padding: 24px 20px; }
  .about__list { grid-template-columns: 1fr; }
  .about__photos { gap: 8px; }
  .about__photo { border-radius: 14px; }
  .about__photo figcaption { left: 12px; right: 12px; bottom: 10px; font-size: 14px; }
  .about__photo figcaption span { display: none; }
  .team__photo { border-radius: 16px; }
  .team__photo figcaption { left: 14px; right: 14px; bottom: 12px; font-size: 16px; }
  .team__photo figcaption span { font-size: 13px; }
  .insurers { grid-template-columns: 1fr 1fr; gap: 8px; }
  .insurers li { min-height: 104px; padding: 16px; font-size: 17px; }
  .insurers li::after { left: 16px; top: 16px; }
  .sk { padding: 20px 16px; border-radius: 20px; gap: 24px; }
  .sk__weekdays, .sk__days { gap: 6px; }
  .sk-day { padding: 9px 2px 8px; border-radius: 12px; }
  .sk-day b { font-size: 19px; }
  .sk-day span, .sk-day small { font-size: 11px; }
  .sk__form { grid-template-columns: 1fr; }
  .jobs { padding: 24px 18px; border-radius: 20px; }
  .jobs__actions .btn, .jobs__actions .link { flex: 1 1 100%; }
  .jobs__steps li { padding: 14px 16px; }
  .reviews {
    display: flex; gap: 12px; columns: auto;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .reviews__dots { display: flex; }
  .review { flex: 0 0 86%; scroll-snap-align: start; margin: 0; padding: 24px 22px; }
  .rating { padding: 10px 16px 10px 14px; }
  .rating > b { font-size: 28px; }
  .qa summary { padding: 22px 0; }
  .qa__body p { padding-right: 0; }
  .posts { grid-template-columns: 1fr; }
  .posts .post:nth-child(3) { display: grid; }
  .footer { grid-template-columns: 1fr; }
  .chat__btn { width: 54px; height: 54px; }
  .article__body { font-size: 17px; }
  .page-top { padding-top: 96px; }
}
