/* ZigZag — авто-ателье. Белый фон, фирменный фиолетовый, жёлтый — только для коротких акцентов. */
:root {
  --bg: #ffffff;
  --bg-2: #f7f5fb;
  --card: #ffffff;
  --card-2: #f4effb;
  --line: rgba(45, 20, 80, .1);
  --text: #2a2630;
  --muted: #6d6779;
  --violet: #9b3cff;
  --violet-2: #7a1fe0;
  --violet-deep: #5b1a9e;
  --violet-soft: #f3ebff;
  --yellow: #ffc83d;
  --yellow-soft: #fff4d1;
  --wa: #25d366;
  --wa-d: #1da851;
  --stitch: rgba(139, 44, 245, .4);
  --economy: #0f9a6e;
  --premium: #7a1fe0;
  --luxury: #a8740a;
  --input: #f6f3fa;
  --shadow: 0 1px 2px rgba(45, 20, 80, .04), 0 12px 32px -16px rgba(45, 20, 80, .18);
  --r: 22px;
  --r-sm: 12px;
  --display: 'Montserrat', 'Arial Black', sans-serif;
  --body: 'Onest', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 4.2vw, 48px); text-transform: uppercase; overflow-wrap: break-word; hyphens: auto; }
mark { white-space: nowrap; background: var(--yellow); color: #1b1324; padding: 0 .18em; border-radius: .18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; margin-top: 32px; }
/* иконки Font Awesome: размер задаётся font-size */
.i { flex: none; display: inline-grid; place-items: center; width: 1.25em; font-size: 18px; line-height: 1; }
.i--sm { font-size: 13px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2);
}
.zz {
  width: 34px; height: 10px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 10'%3E%3Cpath d='M1 9 7 1l6 8 6-8 6 8 6-8' fill='none' stroke='%239b3cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__sub { color: var(--muted); font-size: 18px; margin: 14px 0 0; }

/* ---------- кнопки ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn--sm { --h: 44px; padding: 0 16px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn--icon { padding: 0; width: var(--h); }
.btn--primary { background: linear-gradient(135deg, var(--violet) 0%, var(--violet-2) 100%); color: #fff; box-shadow: 0 10px 26px -10px rgba(155, 60, 255, .8); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(155, 60, 255, .95); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .8); }
.btn--wa:hover { background: var(--wa-d); transform: translateY(-2px); }
.btn--wa .i { font-size: 20px; }
.btn .i { font-size: 17px; }
.btn--line { background: #fff; border: 1px solid var(--line); color: var(--text); }
.btn--line:hover { border-color: var(--violet); color: var(--violet-2); }
.btn--light { background: #fff; color: var(--violet-deep); }
.btn--light:hover { transform: translateY(-2px); }
.btn--2gis { background: #fff; border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow); }
.btn--2gis:hover { border-color: #19aa1e; }
.gis-logo { padding: 3px 7px; border-radius: 6px; background: #19aa1e; color: #fff; font-weight: 800; font-size: 12px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- шапка (тёмная) ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  --text: #f4effa; --muted: #b5a8c6; --line: rgba(255, 255, 255, .1);
  color: var(--text); background: rgba(22, 17, 29, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top__row { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand img { width: 96px; height: auto; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav a:hover { color: #fff; }
.nav__extra { display: none; }
.top__actions { display: flex; align-items: center; gap: 12px; }
.top__phone { text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.lang a { padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--muted); }
.lang a.is-on { background: var(--violet); color: #fff; }
.city { position: relative; }
.city__btn { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px 0 9px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); font-weight: 600; font-size: 14px; }
.city__btn:hover { border-color: rgba(255, 255, 255, .3); }
.city__btn .i { font-size: 14px; width: auto; color: var(--yellow); }
.city__btn .i--sm { font-size: 11px; color: var(--muted); }
.city__list {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 5; min-width: 210px; margin: 0; padding: 8px; list-style: none;
  border-radius: 16px; background: #fff; color: var(--text); box-shadow: 0 24px 50px -16px rgba(20, 10, 40, .45);
}
.city__title { padding: 6px 10px 8px; font-size: 12px; color: #8a8296; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.city__list button { width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; text-align: left; font-weight: 600; color: #2a2630; }
.city__list button:hover { background: var(--violet-soft); }
.city__list button[aria-selected=true] { background: var(--violet); color: #fff; }
.burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; place-items: center; }

/* ---------- первый экран ---------- */
.hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: min(86vh, 800px); padding: 90px 0;
  background: #16111d;
  --text: #fff; --muted: rgba(255, 255, 255, .82); --violet-2: #d6aeff; --line: rgba(255, 255, 255, .22);
  color: var(--text);
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(30, 27, 34, .92) 0%, rgba(30, 27, 34, .78) 40%, rgba(40, 14, 70, .35) 75%, rgba(40, 14, 70, .2) 100%),
    linear-gradient(0deg, rgba(20, 16, 26, .55) 0%, transparent 35%);
}
.hero__grid { position: relative; width: min(1240px, 100% - 32px); }
.hero__text { max-width: 700px; }
.hero__title { font-size: 45px; font-weight: 900; text-transform: uppercase; line-height: 1.1; text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.hero__title mark { text-shadow: none; }
.hero__sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); font-weight: 500; letter-spacing: .02em; margin: 20px 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__city { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.hero__city > span { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; }
.hero__city > span .i { font-size: 14px; color: var(--yellow); }
.pill { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .08); color: #fff; font-size: 14px; font-weight: 600; backdrop-filter: blur(6px); }
.pill:hover { background: rgba(255, 255, 255, .18); }
.pill.is-on { background: #fff; color: #1b1324; border-color: #fff; }
.hero__link { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); }

/* ---------- секции ---------- */
.adv, .trust, .models, .calc, .works, .about, .structure, .faq, .contacts { padding: 100px 0; }
.trust, .calc, .about, .faq { background: var(--bg-2); }

/* преимущества */
.adv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.adv__card { position: relative; padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s; }
/* карточка с фоновым фото: текст снизу на затемнении */
.adv__card--photo { display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; overflow: hidden; isolation: isolate; border-color: transparent; background: #1b1324; color: #fff; }
.adv__card--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 10, 35, 0) 25%, rgba(20, 10, 35, .55) 58%, rgba(20, 10, 35, .9)); }
.adv__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.adv__card--photo:hover .adv__bg { transform: scale(1.05); }
.adv__card.adv__card--photo h3 { color: #fff; }
.adv__card.adv__card--photo p { color: rgba(255, 255, 255, .85); }
.adv__card--photo .adv__more summary { color: var(--yellow); }
.adv__card:hover { transform: translateY(-3px); border-color: rgba(155, 60, 255, .3); }
.adv__card h3 { font-size: 19px; text-transform: none; }
.adv__card p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.adv__more { margin-top: 12px; }
.adv__more summary { cursor: pointer; color: var(--violet-2); font-weight: 600; font-size: 14px; list-style: none; }
.adv__more summary::-webkit-details-marker { display: none; }
.adv__more summary::after { content: " +"; }
.adv__more[open] summary::after { content: " −"; }

/* нам доверяют */
.trust__h { margin: 40px 0 18px; font-size: 18px; text-transform: uppercase; }
.trust .section-head + .trust__h { margin-top: 0; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.star { margin: 0; scroll-snap-align: start; }
.star__img { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: #ddd; }
.star__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s var(--ease); }
.star__img:hover img { transform: scale(1.04); }
.star figcaption { padding: 10px 4px 0; font-size: 14px; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.review { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.review__media { display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 4 / 3; height: auto; overflow: hidden; object-fit: cover; background: #111; cursor: zoom-in; }
video.review__media { cursor: auto; }
.review__media img { width: 100%; height: 100%; object-fit: cover; }
.review__body { padding: 20px; display: grid; gap: 10px; }
.review__body p { margin: 0; font-size: 15px; }
.review__body footer { display: grid; font-size: 14px; }
.review__body footer span { color: var(--muted); }
.review__stars { display: flex; gap: 2px; color: var(--yellow); }
.i--star { font-size: 14px; width: auto; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.shot { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.shot__zoom { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--violet-2); }
.trust__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; }
.trust__cta--solo { justify-content: space-between; margin-top: 0; padding: 28px 32px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.trust__cta p { margin: 0; max-width: 640px; font-size: 17px; }

/* каталог */
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cat { padding: 12px 22px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-family: var(--display); font-weight: 800; font-size: 15px; text-transform: uppercase; }
.cat.is-on { background: var(--violet); border-color: var(--violet); color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.chip:hover { border-color: var(--violet-2); }
.chip.is-on { background: var(--text); color: #fff; border-color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(139, 44, 245, .3); box-shadow: 0 30px 60px -30px rgba(122, 31, 224, .4); }
.card.is-hidden, .card.is-off { display: none; }
.card__media { position: relative; aspect-ratio: 1 / 1; background: radial-gradient(60% 60% at 50% 45%, rgba(155, 60, 255, .16), transparent 70%), linear-gradient(180deg, var(--card-2), #fff); }
.card__zoom { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.card__img { position: absolute; left: 26px; top: 26px; width: calc(100% - 52px); height: calc(100% - 44px); object-fit: contain; filter: drop-shadow(0 20px 18px rgba(40, 15, 70, .25)); transition: opacity .25s, transform .5s var(--ease); }
.card:hover .card__img { transform: scale(1.04) rotate(-1deg); }
.card__img.is-swap { opacity: 0; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .9); border: 1px solid currentColor; }
.badge--economy { color: var(--economy); }
.badge--premium { color: var(--premium); }
.badge--luxury { color: var(--luxury); }
.swatch { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); pointer-events: none; }
.status { position: absolute; left: 14px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; background: #fff; color: var(--muted); box-shadow: 0 2px 8px rgba(0, 0, 0, .06); pointer-events: none; }
.status--in_stock { color: var(--economy); }
.status--out { color: #c0395b; }
.card__body { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; flex: 1; }
.card__name { font-size: 24px; font-weight: 900; letter-spacing: .02em; }
.card__mat { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.opt { display: grid; gap: 8px; }
.opt__label { font-size: 13px; color: var(--muted); }
.opt__label b { color: var(--text); font-weight: 600; }
.colors { display: flex; flex-wrap: wrap; gap: 10px; }
.dot { width: 28px; height: 28px; border-radius: 50%; padding: 0; border: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 2px #fff; transition: transform .2s; }
.dot:hover { transform: scale(1.12); }
.dot.is-on { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 2px #fff, 0 0 0 4px var(--violet); }
.colors--lg .dot { width: 36px; height: 36px; }
.seg { display: flex; padding: 4px; border-radius: 14px; background: var(--input); border: 1px solid var(--line); }
.seg__btn { flex: 1; padding: 8px 6px; border: 0; border-radius: 10px; background: transparent; font-size: 14px; font-weight: 600; color: var(--muted); text-align: center; white-space: nowrap; transition: background .2s, color .2s; }
.seg__btn:hover { color: var(--text); }
.seg__btn.is-on { background: var(--violet); color: #fff; }
.seg--lg .seg__btn { padding: 12px 6px; font-size: 15px; }
.card__foot { margin-top: auto; display: grid; gap: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.price__set { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1.1; }
.price__set.bump { animation: bump .35s var(--ease); }
.price__seat { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
@keyframes bump { 40% { transform: scale(1.05); color: var(--violet-2); } }
.card__btns { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; }

/* калькулятор */
.calc__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.calc__form { display: grid; gap: 22px; padding: 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calc__sum { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 30px; border-radius: var(--r); background: #1e1a24; color: #fff; position: sticky; top: 96px; }
.calc__img { display: grid; place-items: center; border-radius: 16px; background: #fff; aspect-ratio: 3 / 4; }
.calc__img img { width: 82%; height: 90%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(40, 20, 70, .18)); }
.calc__name { margin: 0; font-family: var(--display); font-weight: 900; font-size: 24px; }
.calc__meta { margin: 4px 0 18px; color: #c9bfd6; font-size: 14px; }
.calc__label { margin: 0; color: #c9bfd6; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.calc__total { margin: 2px 0 0; font-family: var(--display); font-size: 38px; font-weight: 900; color: var(--yellow); line-height: 1.1; }
.calc__seat { margin: 4px 0 0; color: #c9bfd6; font-size: 14px; }
.included { margin: 18px 0 0; font-size: 14px; }
.included ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.included li { display: flex; align-items: center; gap: 8px; }
.included .i { color: var(--wa); }
.calc__btns { display: grid; gap: 10px; margin-top: 22px; }
.select-wrap { position: relative; display: block; }
.select-wrap__i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--violet-2); pointer-events: none; }
.select { height: 52px; padding: 0 44px 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--input); color: var(--text); font: 500 16px var(--body); appearance: none; width: 100%; }
.select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(155, 60, 255, .12); }
.opts { display: grid; gap: 8px; }
.optbox { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; }
.optbox:has(input:checked) { border-color: var(--violet); background: var(--violet-soft); }
.optbox span { flex: 1; }
.optbox input { width: 18px; height: 18px; accent-color: var(--violet); }

/* работы: раскладка рядами по пропорциям фото */
.jg { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.jg.is-laid { display: block; }
.jg__item { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: #ece7f3; aspect-ratio: var(--ar, 4 / 3); }
.jg.is-laid .jg__item { position: absolute; aspect-ratio: auto; transition: left .35s var(--ease), top .35s var(--ease), width .35s var(--ease), height .35s var(--ease); }
.jg__item.is-extra { display: none; }
.jg.is-all .jg__item.is-extra { display: block; }
.jg__link { position: absolute; inset: 0; display: block; cursor: zoom-in; }
.jg__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.jg__novideo { position: absolute; inset: 0; background: linear-gradient(135deg, #2a2433, #4b2a6e); }
.jg__item:hover .jg__link img { transform: scale(1.05); }
.jg__item::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 50%, rgba(15, 10, 22, .75) 100%); opacity: 0; transition: opacity .35s; }
.jg__item:hover::after { opacity: 1; }
.jg__cap { position: absolute; left: 14px; right: 64px; bottom: 12px; z-index: 2; display: grid; color: #fff; pointer-events: none; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); }
.jg__cap b { font-family: var(--display); font-size: 15px; }
.jg__cap span { font-size: 13px; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jg__item:hover .jg__cap { opacity: 1; transform: none; }
.jg__badge { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 4px 9px; border-radius: 8px; background: rgba(15, 10, 22, .6); color: #fff; font-size: 12px; font-weight: 700; pointer-events: none; backdrop-filter: blur(6px); }
.jg__badge--play { left: 50%; top: 50%; width: 58px; height: 58px; padding: 0; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; }
.jg__badge--play .i { font-size: 20px; margin-left: 3px; }
.jg__item .fav { z-index: 3; top: 10px; right: 10px; width: 38px; height: 38px; opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s; }
.jg__item .fav[aria-pressed=true], .jg__item:hover .fav { opacity: 1; transform: none; }
.jg__same { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 11px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 600; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease), background .2s; }
.jg__same .i { font-size: 18px; width: auto; }
.jg__same span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease); }
.jg__same:hover { background: var(--wa-d); }
.jg__same:hover span { max-width: 160px; }
.jg__item:hover .jg__same { opacity: 1; transform: none; }
.fav { position: absolute; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.fav .i { font-size: 17px; color: #c9c2d3; transition: color .2s, transform .2s; }
.fav[aria-pressed=true] .i { color: #e8336d; transform: scale(1.1); }
@media (hover: none) {
  .jg__item::after, .jg__cap, .jg__item .fav, .jg__same { opacity: 1; transform: none; }
  .jg__item::after { background: linear-gradient(180deg, transparent 60%, rgba(15, 10, 22, .6) 100%); }
  .jg__cap { right: 54px; }
  .jg__cap span { display: none; }
  .jg__same { height: 36px; padding: 0 9px; }
}
@media (max-width: 600px) {
  .jg__item { border-radius: 10px; }
  .jg__cap b { font-size: 13px; }
  .jg__item .fav { width: 32px; height: 32px; top: 6px; right: 6px; }
  .jg__item .fav .i { font-size: 14px; }
  .jg__same { right: 6px; bottom: 6px; height: 32px; padding: 0 8px; }
  .jg__same .i { font-size: 16px; }
}

/* «до / после» и видео в просмотрщике */
.pswp-media { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(92vw, calc(80vh * var(--r))); max-height: 80vh; border-radius: 14px; overflow: hidden; background: #000; }
.pswp-media video { display: block; width: 100%; height: 100%; object-fit: contain; }
.ba { position: relative; width: 100%; height: 100%; overflow: hidden; user-select: none; }
.ba > img, .ba__before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .4); pointer-events: none; }
.ba__handle::after { content: "\f337"; font: var(--fa-font-solid); font-size: 14px; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--violet-2); box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 700; pointer-events: none; }
.ba__tag--l { left: 12px; }
.ba__tag--r { right: 12px; }
.pswp { --pswp-bg: #0e0a14; }
.pswp__button--zz-fav { display: grid; place-items: center; color: #fff; font-size: 20px; }
.pswp__button--zz-fav.is-on { color: #ff4f86; }
.pswp__zz-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, rgba(10, 6, 16, .85), transparent); color: #fff; pointer-events: none; }
.pswp__zz-bottom > * { pointer-events: auto; }
.pswp-cap { display: grid; min-width: 0; }
.pswp-cap b { font-family: var(--display); font-size: 17px; }
.pswp-cap span { color: #cfc6da; font-size: 14px; }
.pswp-same { flex: none; }
.favbar { position: fixed; left: 50%; bottom: 24px; z-index: 55; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; border-radius: 999px; background: #1e1a24; color: #fff; box-shadow: 0 20px 50px -14px rgba(20, 10, 40, .5); }
.favbar > span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; }
.favbar > span .i { color: #ff5c8d; font-size: 15px; }
.favbar__x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 20px; line-height: 1; }

/* цифры */
.numbers { padding: 90px 0; background: #1e1a24; color: #fff; --violet-2: #d6aeff; }
.numbers__title { margin-bottom: 40px; }
.numbers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin: 0; }
.num { margin: 0; padding: 24px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.num dt { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 4vw, 52px); color: var(--yellow); line-height: 1; }
.num dd { margin: 10px 0 0; color: #cfc6da; }

/* о компании */
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.about__text { color: var(--muted); font-size: 17px; margin: 16px 0 0; }
.about__photo { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.about__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__h { margin: 56px 0 20px; font-size: 20px; text-transform: uppercase; }

/* Как мы работаем */
.process { position: relative; margin-top: 56px; padding: 8px 0 24px; isolation: isolate; }
.process .about__h { margin: 0 0 64px; }
.process::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1;
  background: radial-gradient(60% 90% at 0% 100%, rgba(155, 60, 255, .08), transparent 70%), radial-gradient(50% 80% at 100% 0%, rgba(155, 60, 255, .07), transparent 70%), linear-gradient(180deg, #f7f3ff, #fbf9ff);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 90px, #000 calc(100% - 60px), transparent); mask-image: linear-gradient(180deg, transparent, #000 90px, #000 calc(100% - 60px), transparent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; text-align: left; }
.step { position: relative; padding: 30px 28px 34px; border-radius: 28px; background: #fff; border: 1px solid rgba(155, 60, 255, .08); box-shadow: 0 2px 4px rgba(60, 20, 110, .03), 0 24px 48px -24px rgba(80, 30, 150, .22); }
.step--img { padding-top: 30px; }
.step__art { position: absolute; z-index: 1; right: 14px; top: -36px; width: 150px; height: 150px; display: grid; place-items: center; pointer-events: none; }
.step__art img { position: relative; width: 128px; height: 128px; object-fit: cover; border-radius: 50%; border: 2px solid #fff; background: var(--violet-soft); box-shadow: 0 0 0 1px rgba(155, 60, 255, .12), 0 16px 30px -12px rgba(60, 20, 110, .35); transition: transform .5s var(--ease); }
.step:hover .step__art img { transform: translateY(-4px) scale(1.03); }
.step__n { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 30px; border-radius: 14px; background: linear-gradient(145deg, #a24bff, #7a1fe0); color: #fff; font-family: var(--display); font-weight: 900; font-size: 19px; box-shadow: 0 8px 18px -8px rgba(122, 31, 224, .7); }
.step--img .step__n { margin-bottom: 52px; }
.step b { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.step p { margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.step + .step::before { content: "\f061"; position: absolute; left: -40px; top: 50%; z-index: 3; width: 46px; height: 46px; margin: -23px 0 0 -3px; display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: var(--violet); font: 900 17px/1 "Font Awesome 6 Free"; }
/* «мостик» — сливает кружок со стрелкой с соседними карточками */
.step + .step::after { content: ""; position: absolute; z-index: 2; left: -44px; top: 50%; width: 48px; height: 110px; margin-top: -55px; background: #fff; pointer-events: none;
  -webkit-mask: radial-gradient(circle 40px at 50% 0, transparent 97%, #000) top / 100% 50% no-repeat, radial-gradient(circle 40px at 50% 100%, transparent 97%, #000) bottom / 100% 50% no-repeat;
  mask: radial-gradient(circle 40px at 50% 0, transparent 97%, #000) top / 100% 50% no-repeat, radial-gradient(circle 40px at 50% 100%, transparent 97%, #000) bottom / 100% 50% no-repeat; }

/* структура */
.structure__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.structure__img { position: relative; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.structure__img img { width: 100%; }
.hotspot { position: absolute; width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; background: var(--violet); color: #fff; font-family: var(--display); font-weight: 900; box-shadow: 0 6px 16px rgba(80, 20, 140, .4); transition: transform .2s, background .2s; }
.hotspot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--violet); opacity: 0; }
.hotspot.is-on { background: var(--yellow); color: #1b1324; transform: scale(1.12); }
.hotspot.is-on::after { animation: ring 1.6s ease-out infinite; }
@keyframes ring { 0% { opacity: .7; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.5); } }
.hotspot--0 { left: 46%; top: 22%; }
.hotspot--1 { left: 38%; top: 58%; }
.hotspot--2 { left: 30%; top: 84%; }
.layers { display: grid; gap: 10px; margin-top: 28px; }
.layer { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-align: left; transition: border-color .2s, box-shadow .2s; }
.layer__n { font-family: var(--display); font-weight: 900; font-size: 24px; color: #c9bfd6; }
.layer__t { display: grid; gap: 2px; }
.layer__t b { font-family: var(--display); font-size: 16px; text-transform: uppercase; }
.layer__t span { color: var(--muted); font-size: 14.5px; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.layer.is-on { border-color: var(--violet); box-shadow: 0 10px 30px -16px rgba(122, 31, 224, .5); }
.layer.is-on .layer__n { color: var(--violet-2); }
.layer.is-on .layer__t span { max-height: 120px; }
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.compare__col { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.compare__col h4 { font-size: 18px; margin-bottom: 14px; }
.compare__col dl { margin: 0; display: grid; gap: 4px; }
.compare__col dt { margin-top: 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--violet-2); }
.compare__col dd { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq__list { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--display); font-size: 16px; font-weight: 700; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--input); border: 1px solid var(--line); color: var(--violet-2); transition: background .25s, border-color .25s, color .25s; }
.faq__icon .i { font-size: 13px; transition: transform .3s var(--ease); }
.faq__item[open] .faq__icon { background: var(--violet); border-color: var(--violet); color: #fff; }
.faq__item[open] .faq__icon .i { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* CTA */
.cta { padding: 90px 0; }
.cta__box { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 52px 56px; border-radius: 32px; color: #fff; background: radial-gradient(70% 140% at 0% 0%, #b45bff 0%, var(--violet) 35%, var(--violet-deep) 100%); }
.cta__box::before { content: ""; position: absolute; inset: 12px; border-radius: 22px; border: 1.5px dashed rgba(255, 255, 255, .45); pointer-events: none; }
.cta__box h2 { font-size: clamp(24px, 3vw, 36px); }
.cta__box p { margin: 12px 0 0; font-size: 18px; opacity: .9; max-width: 560px; }
.cta__btns { position: relative; display: grid; gap: 12px; flex: none; }

/* контакты */
.contacts { background: var(--bg-2); }
.branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.branch { border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.branch.is-current { border-color: var(--violet); box-shadow: 0 16px 40px -20px rgba(122, 31, 224, .55); order: -1; }
.branch__photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.branch__body { padding: 26px; display: grid; gap: 18px; align-content: start; flex: 1; }
.branch h3 { font-size: 22px; text-transform: uppercase; }
.branch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.branch li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.branch li > .i { width: 34px; height: 34px; font-size: 15px; border-radius: 50%; background: var(--violet-soft); color: var(--violet-2); }
.branch li.is-wa > .i { background: #e3f8ea; color: var(--wa-d); font-size: 18px; }
.branch a { text-decoration: none; }
.branch a:hover { color: var(--violet-2); }
.branch .btn { justify-self: start; margin-top: auto; }

/* подвал */
.foot { padding: 34px 0; background: #1e1a24; color: #b5a8c6; font-size: 14px; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; justify-content: space-between; }
.foot__brand { display: flex; align-items: center; gap: 16px; }
.foot__brand img { width: 80px; }
.foot__soc { display: flex; gap: 10px; }
.foot__soc a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.foot__soc a:hover { background: var(--violet); }
.foot__links { display: grid; gap: 4px; text-align: right; }
.foot__links a { color: #fff; }

/* ---------- плавающая кнопка WhatsApp ---------- */
.wa-float { position: fixed; right: 50px; bottom: 50px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-float__main { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; text-decoration: none; cursor: pointer; animation: waIn .6s var(--ease) 1.2s both; }
.wa-float__btn { position: relative; width: 62px; height: 62px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; background: var(--wa); box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7), 0 4px 10px rgba(0, 0, 0, .15); transition: transform .25s var(--ease); }
.wa-float__btn .i { font-size: 34px; width: auto; }
.wa-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: waPulse 2.4s ease-out infinite; }
.wa-float__main:hover .wa-float__btn { transform: scale(1.08); }
.wa-float.is-open .wa-float__btn::before { animation: none; opacity: 0; }
.wa-float__tip { padding: 10px 14px; border-radius: 12px; background: #fff; color: #1b1324; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(27, 19, 36, .35); opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.wa-float:not(.is-open) .wa-float__main:hover .wa-float__tip { opacity: 1; transform: none; }
.wa-menu { width: 320px; max-width: calc(100vw - 32px); border-radius: 20px; overflow: hidden; background: #fff; color: #1b1324; box-shadow: 0 30px 70px -20px rgba(27, 19, 36, .45), 0 0 0 1px rgba(45, 20, 80, .06); transform-origin: bottom right; animation: waMenu .28s var(--ease); }
.wa-menu__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: #075e54; color: #fff; }
.wa-menu__logo { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); flex: none; }
.wa-menu__logo .i { font-size: 22px; width: auto; }
.wa-menu__head b { display: block; font-size: 16px; }
.wa-menu__head small { display: block; font-size: 13px; opacity: .8; }
.wa-menu__x { margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; line-height: 1; }
.wa-menu__list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; }
.wa-menu__list li.is-current { order: -1; }
.wa-menu__list li.is-current a { background: #f1fbf4; }
.wa-menu__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 14px; text-decoration: none; transition: background .15s; }
.wa-menu__list a:hover { background: #e9f9ef; }
.wa-menu__list a::after { content: "\f054"; font: var(--fa-font-solid); font-size: 13px; width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; }
.wa-menu__city { display: grid; font-weight: 700; font-size: 15px; }
.wa-menu__city small { font-weight: 400; font-size: 13px; color: #6c6080; }
.wa-menu__num { margin-left: auto; font-size: 13px; color: #6c6080; white-space: nowrap; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes waIn { from { opacity: 0; transform: translateY(20px) scale(.8); } }
@keyframes waMenu { from { opacity: 0; transform: translateY(12px) scale(.95); } }

/* ---------- попапы ---------- */
.modal { width: min(500px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 26px; background: #fff; color: var(--text); box-shadow: 0 40px 120px -20px rgba(27, 19, 36, .45); overflow: auto; overscroll-behavior: contain; }
.modal--wide { width: min(1040px, 100% - 24px); }
.modal::backdrop { background: rgba(27, 19, 36, .55); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal__x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .92); font-size: 24px; line-height: 1; }
.lead, .lead__ok { position: relative; padding: 30px; }
.lead__head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; padding-right: 36px; }
.lead__img { width: 76px; height: 100px; object-fit: contain; flex: none; filter: drop-shadow(0 10px 12px rgba(40, 15, 70, .3)); }
.lead__head .kicker { margin-bottom: 6px; font-size: 12px; }
.lead__title { font-size: 22px; text-transform: uppercase; }
.lead__summary { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.lead__summary b { color: var(--text); }
.lead__fields { display: grid; gap: 12px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span { font-size: 14px; font-weight: 500; }
.field i:not([class*="fa-"]) { color: var(--muted); font-style: normal; font-weight: 400; }
.field input[type=text], .field input[type=tel], .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--input); color: var(--text); font: 500 16px/1.4 var(--body); transition: border-color .2s, background .2s; }
.field textarea { resize: vertical; min-height: 70px; }
.field input::placeholder, .field textarea::placeholder { color: #a99fb6; font-weight: 400; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(155, 60, 255, .12); }
.field.is-bad input { border-color: #ff6b8a; }
.field__err { color: #d6315a; font-size: 13px; margin-top: -4px; }
.file { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px dashed var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.file:hover { border-color: var(--violet); background: var(--violet-soft); }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file__ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet-2); flex: none; }
.file__text { display: grid; font-size: 14px; }
.file__text i { font-style: normal; color: var(--muted); }
.file__text small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file.has-file { border-style: solid; border-color: var(--violet); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--violet); }
.consent a { color: var(--violet-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead__note { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.lead__error { margin: 12px 0 0; text-align: center; color: #d6315a; font-size: 14px; }
.lead__ok { text-align: center; padding-top: 48px; }
.lead__ok h3 { font-size: 24px; text-transform: uppercase; margin: 20px 0 10px; }
.lead__ok p { color: var(--muted); margin: 0 0 24px; }
.ok-mark { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(155, 60, 255, .18); }
.ok-mark .i { font-size: 32px; width: auto; }

/* «Подробнее» */
.details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.details__media { position: relative; padding: 28px; display: grid; gap: 14px; align-content: start; background: radial-gradient(60% 50% at 50% 35%, rgba(155, 60, 255, .2), transparent 70%), var(--card-2); }
.details__main { display: grid; place-items: center; height: 420px; }
.details__main img { max-height: 420px; max-width: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 26px 24px rgba(40, 15, 70, .3)); }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border-radius: 12px; border: 2px solid transparent; background: #fff; overflow: hidden; }
.thumbs button.is-on { border-color: var(--violet); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.details__body { padding: 36px 32px 30px; display: grid; gap: 16px; align-content: start; }
.details__body h3 { font-size: 36px; font-weight: 900; }
.details__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.details__tags span { padding: 4px 10px; border-radius: 8px; background: var(--input); font-size: 13px; font-weight: 600; color: var(--muted); }
.details__tags .badge { position: static; }
.details__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.details__list li { position: relative; padding-left: 22px; }
.details__list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 12px; border-top: 2px dashed var(--violet-2); }
.details__h { font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.details__kit { margin: 0; font-size: 14px; color: var(--muted); padding: 12px 14px; border-radius: var(--r-sm); border: 1px dashed var(--line); }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.prices div { padding: 12px; border-radius: var(--r-sm); background: var(--input); border: 1px solid var(--line); }
.prices span { display: block; color: var(--muted); font-size: 13px; }
.prices b { display: block; font-family: var(--display); font-size: 17px; white-space: nowrap; }
.prices small { color: var(--muted); font-size: 12px; }
.included--light { margin: 0; padding: 14px 16px; border-radius: var(--r-sm); background: #f1fbf4; }
.details__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* просмотр фото */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 9, 16, .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: calc(100vw - 120px); }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; border-radius: 10px; }
.lightbox figcaption { color: #cfc6da; font-size: 15px; }
.lightbox__x { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* страница политики */
.doc { padding: 70px 0 100px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(26px, 4vw, 40px); text-transform: uppercase; margin-bottom: 26px; }
.doc p { color: #4a4553; font-size: 16.5px; line-height: 1.7; margin: 0 0 14px; }
.doc h2 { font-size: 19px; text-transform: none; margin: 28px 0 10px; }

/* ---------- появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: calc(var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .top__phone { display: none; }
}
@media (max-width: 1060px) {
  .burger { display: grid; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; z-index: 49; display: grid; gap: 0; margin: 0; padding: 8px 16px 20px;
    background: #16111d; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s var(--ease); visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; color: #fff; }
  .nav__extra { display: block; padding-top: 14px; }
  .nav__extra a { border: 0; color: var(--yellow); font-weight: 700; }
  .adv__grid { grid-template-columns: repeat(2, 1fr); }
  .calc__box { grid-template-columns: minmax(0, 1fr); }
  .calc__sum { position: static; }
  .about__grid, .structure__grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 72px; }
  .step:nth-child(odd)::before, .step:nth-child(odd)::after { display: none; }
  .compare { grid-template-columns: 1fr; }
  .details { grid-template-columns: minmax(0, 1fr); }
  .details__main { height: 300px; }
  .details__main img { max-height: 300px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 70px; }
  .top__row { height: 62px; gap: 8px; }
  .nav { top: 62px; }
  .brand img { width: 74px; }
  .lang a { padding: 5px 8px; }
  .city__btn { padding: 0 8px; font-size: 13px; }
  .city__btn .i--sm { display: none; }
  .hero { min-height: 0; padding: 56px 0 48px; }
  .hero__shade { background: linear-gradient(180deg, rgba(30, 27, 34, .7) 0%, rgba(30, 27, 34, .88) 100%); }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__link { margin: 6px 0 0; }
  .adv, .trust, .models, .calc, .works, .about, .structure, .faq, .contacts { padding: 64px 0; }
  .cta { padding: 64px 0; }
  .numbers { padding: 64px 0; }
  .section-head { margin-bottom: 28px; }
  h2 { font-size: clamp(20px, 5.6vw, 30px); letter-spacing: -.02em; }
  .hero__title { font-size: clamp(26px, 8vw, 34px); }
  .section-head__sub { font-size: 16px; }
  .adv__grid { grid-template-columns: 1fr; gap: 12px; }
  .adv__card { padding: 20px; }
  .adv__card--photo { min-height: 220px; }
  .adv__card h3 { font-size: 17px; }
  .adv__card p { margin-top: 4px; }
  .trust__cta--solo { padding: 22px; }
  .card__btns { grid-template-columns: 1fr auto 1fr; }
  .calc__form, .calc__sum { padding: 20px; }
  .calc__sum { grid-template-columns: minmax(0, 1fr); }
  .calc__img { aspect-ratio: auto; height: 220px; }
  .calc__img img { width: auto; height: 200px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .process .about__h { margin-bottom: 52px; }
  .step + .step::before { display: grid; left: 50%; top: -55px; margin: 0 0 0 -23px; transform: rotate(90deg); }
  .step + .step::after { display: block; left: 50%; top: -72px; width: 72px; height: 80px; margin: 0 0 0 -36px; transform: rotate(90deg); }
  .step__art { width: 124px; height: 124px; top: -30px; }
  .step__art img { width: 108px; height: 108px; }
  .step b { font-size: 20px; }
  .cta__box { flex-direction: column; align-items: stretch; padding: 36px 24px; }
  .cta__btns .btn { flex: 1 1 100%; }
  .field-row { grid-template-columns: 1fr; }
  .lead, .lead__ok { padding: 24px 18px; }
  .details__body { padding: 24px 18px; }
  .details__body h3 { font-size: 28px; }
  .details__btns { grid-template-columns: 1fr; }
  .foot__links { text-align: left; }
  .favbar { left: 12px; right: 84px; transform: none; bottom: 18px; justify-content: space-between; padding-left: 14px; }
  .favbar .btn { padding: 0 12px; }
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float__btn { width: 56px; height: 56px; }
  .wa-float__btn .i { font-size: 30px; }
  .wa-float__tip, .wa-menu__num { display: none; }
  .lightbox figure { max-width: calc(100vw - 24px); }
  .lightbox__nav { top: auto; bottom: 20px; margin: 0; }
}

/* размеры иконок Font Awesome в элементах */
.modal__x, .lightbox__x, .wa-menu__x, .favbar__x { display: grid; place-items: center; }
.modal__x .i { font-size: 18px; }
.lightbox__x .i { font-size: 22px; }
.wa-menu__x .i, .favbar__x .i { font-size: 15px; }
.lightbox__nav .i { font-size: 20px; }
.burger .i { font-size: 20px; }
.shot__zoom .i { font-size: 15px; }
.file__ico .i { font-size: 17px; }
.included .i { font-size: 13px; }
.included--light li { display: flex; align-items: center; gap: 8px; }
.included--light .i { color: var(--wa-d); }
.review__stars { gap: 3px; }
.foot__soc .i { font-size: 18px; }
.hero__link .i { font-size: 12px; }
.calc__btns .i, .details__btns .i { font-size: 20px; }


/* Защита иконок Font Awesome от чужих правил font-weight */
.fa-solid, .fas { font-weight: 900 !important; }
.fa-regular, .far, .fa-brands, .fab { font-weight: 400 !important; }

/* Отзывы 2ГИС по городам */
.gis3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.gis3__col { display: flex; flex-direction: column; min-width: 0; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.gis3__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.gis3__city { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 18px; text-transform: uppercase; }
.gis3__city .i { font-size: 16px; color: var(--violet); width: auto; }
.gis3__only { display: inline-flex; gap: 2px; color: #ffb400; }
.gis3__only .i--star { font-size: 12px; }
.gis3__box { position: relative; flex: 1; min-height: 220px; }
.gis3__box.is-ready { min-height: 0; }
.gis3__frame { display: block; width: 100%; height: 600px; border: 0; }
.gis3__box:not(.is-ready) .gis3__frame { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.gis3__box.is-empty .gis3__frame { display: none; }
.gis3__state { margin: 0; padding: 28px 18px; color: var(--muted); font-size: 15px; text-align: center; }
.gis3__all { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding: 14px 18px; border-top: 1px solid var(--line); color: var(--violet-2); font-weight: 600; text-decoration: none; }
.gis3__all:hover { background: var(--violet-soft); }
@media (max-width: 1060px) { .gis3 { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } }
