/* ==========================================================================
   מוסך ויקטור – landing
   ========================================================================== */

:root {
  --red: #e10600;
  --red-dark: #b00500;
  --red-tint: #fdeceb;
  --ink: #111214;
  --ink-2: #1c1d21;
  --ink-3: #2a2c31;
  --paper: #f5f3ef;
  --white: #fff;
  --muted: #565961;
  --muted-light: #b9bcc4;
  --gold: #ffb400;
  --line: #e4e1db;

  --font: "Heebo", "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-num: "Bebas Neue", "Heebo", Impact, sans-serif;

  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(17, 18, 20, .35);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.ico { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.15em; }
.hl { color: var(--red); }

.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { inset-inline-start: 8px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 1.05rem; line-height: 1.1; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn .ico { width: 1.25em; height: 1.25em; }
.btn--xl { font-size: 1.25rem; padding: .9em 1.7em; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -8px rgba(225, 6, 0, .6); }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(225, 6, 0, .7); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--ghost .ico { fill: currentColor; stroke: none; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--red); color: #fff; font-size: .9rem; font-weight: 500; }
.topbar__in { display: flex; gap: 28px; align-items: center; min-height: 40px; }
.topbar__in span { display: inline-flex; align-items: center; gap: 6px; }
.topbar__phone { margin-inline-start: auto; font-weight: 800; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; direction: ltr; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(17, 18, 20, .96); backdrop-filter: blur(8px); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header__in { display: flex; align-items: center; gap: 32px; min-height: 76px; }

.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__car { width: 96px; height: 27px; color: var(--red); margin-bottom: -4px; }
.logo__text { font-weight: 900; font-size: 1.9rem; letter-spacing: -.5px; color: #fff; white-space: nowrap; }

.nav { display: flex; gap: 26px; margin-inline-start: auto; font-weight: 700; font-size: 1.02rem; }
.nav a { position: relative; padding-block: 6px; color: #e9e9ec; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .25s ease; transform-origin: right; }
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }

/* Language switcher – big, always visible */
.lang { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ink-3); border: 1px solid rgba(255, 255, 255, .14); flex: none; }
.lang a {
  min-width: 58px; height: 48px; padding-inline: 14px; display: grid; place-items: center; border-radius: 999px;
  font-weight: 900; font-size: 1.2rem; line-height: 1; letter-spacing: .5px; color: #e9e9ec;
  transition: background-color .2s ease, color .2s ease;
}
.lang a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.lang a[aria-current="page"] { background: var(--red); color: #fff; box-shadow: 0 6px 16px -6px rgba(225, 6, 0, .8); }

.burger { display: none;width: 46px; height: 46px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 3px; background: #fff; border-radius: 3px; margin-block: 5px; transition: transform .25s ease, opacity .25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__stripes {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 15% 30%, rgba(225, 6, 0, .28), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 60px, rgba(255, 255, 255, .025) 60px 62px);
}
.hero__stripes::after {
  content: ""; position: absolute; left: -10%; bottom: -40px; width: 70%; height: 140px;
  background: repeating-linear-gradient(115deg, var(--red) 0 26px, transparent 26px 52px);
  opacity: .9; transform: skewY(-4deg);
  mask-image: linear-gradient(to left, transparent, #000 55%);
  -webkit-mask-image: linear-gradient(to left, transparent, #000 55%);
}
.hero__in { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; padding-block: 88px 120px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; color: #ffd9d7; background: rgba(225, 6, 0, .15); border: 1px solid rgba(225, 6, 0, .45); padding: 8px 16px; border-radius: 999px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(225, 6, 0, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(225, 6, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0); } }

.hero__title { font-weight: 900; font-size: clamp(2.8rem, 6.6vw, 5.9rem); line-height: .98; letter-spacing: -2px; margin-top: 26px; }
.hero__lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: #d6d7dc; max-width: 34ch; margin-top: 26px; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__offers { display: grid; gap: 14px; }
.hero__offers a {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
  padding: 22px 26px; border-radius: var(--radius); background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, .08); transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.hero__offers a::before { content: ""; position: absolute; inset-block: 16px; inset-inline-start: 0; width: 5px; border-radius: 0 4px 4px 0; background: var(--red); }
.hero__offers a:hover { transform: translateX(-6px); border-color: var(--red); background: var(--ink-3); }
.hero__offers strong { font-size: 1.35rem; font-weight: 800; grid-column: 1; }
.hero__offers em { font-style: normal; font-family: var(--font-num); font-size: 2.6rem; line-height: 1; color: #fff; grid-row: 1 / span 2; grid-column: 2; letter-spacing: 1px; }
.mini-badge { grid-column: 1; justify-self: start; font-size: .78rem; font-weight: 800; color: #fff; background: var(--red); padding: 3px 10px; border-radius: 4px; transform: skewX(-10deg); }

.trust { position: relative; background: #fff; color: var(--ink); }
.trust__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 26px 18px; border-inline-start: 1px solid var(--line); }
.trust__item:first-child { border-inline-start: 0; }
.trust__item .ico { grid-row: span 2; width: 44px; height: 44px; color: var(--red); stroke-width: 1.8; }
.trust__item b { font-size: 1.25rem; font-weight: 900; line-height: 1.2; }
.trust__item span { color: var(--muted); font-size: .98rem; }

/* ---------- Section headings ---------- */
.sec-head { padding-block: 100px 56px; }
.sec-head--center { text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; color: var(--red); font-size: 1.05rem; letter-spacing: .5px; }
.kicker::before { content: ""; width: 36px; height: 4px; background: var(--red); border-radius: 2px; }
.kicker--light { color: #ff6b66; }
.kicker--light::before { background: #ff6b66; }
.sec-title { font-weight: 900; font-size: clamp(2.5rem, 5.6vw, 4.8rem); line-height: 1; letter-spacing: -1.5px; margin-top: 14px; }
.sec-title--light { color: #fff; }

/* ---------- Offers (full-width service rows) ---------- */
.services { padding-bottom: 40px; }
.offer { position: relative; padding-block: 72px; }
.offer + .offer { margin-top: 24px; }
.offer--winter { background: linear-gradient(180deg, #fff 0%, #fff 100%); }
.offer--service { background: #fff; }
.offer--dark { background: var(--ink); color: #fff; }
.offer--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 80px, rgba(255, 255, 255, .03) 80px 82px);
}
.offer--winter::after, .offer--service::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 10px; background: var(--red);
}

.offer__in { position: relative; display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: center; }
.offer--test .offer__in { grid-template-columns: 1fr 1.6fr; }
.offer--test .price-card { order: -1; }

.offer__num { font-family: var(--font-num); font-size: 1.6rem; color: var(--red); letter-spacing: 3px; margin-top: 28px; line-height: 1; }
.offer__num::after { content: " / 03"; color: var(--muted-light); }
.offer__title { font-weight: 900; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -1.5px; margin-top: 8px; }
.offer__lead { font-size: clamp(1.2rem, 1.7vw, 1.4rem); line-height: 1.55; color: var(--muted); max-width: 46ch; margin-top: 20px; font-weight: 500; }
.offer--dark .offer__lead { color: #c9cbd1; }

/* Feature list – big, readable, with icons */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 32px; margin-top: 40px; }
.features li { display: flex; gap: 18px; align-items: flex-start; font-size: 1.12rem; line-height: 1.45; color: var(--muted); }
.offer--dark .features li { color: #b9bcc4; }
.features b { display: block; font-size: 1.38rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; line-height: 1.2; }
.offer--dark .features b { color: #fff; }
.feat-ico {
  flex: none; width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: var(--red-tint); color: var(--red); transition: transform .25s ease, background-color .25s ease, color .25s ease;
}
.offer--dark .feat-ico { background: rgba(225, 6, 0, .16); color: #ff4d47; }
.feat-ico svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.features li:hover .feat-ico { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.06); }

.offer__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 44px; }
.link-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.5rem; direction: ltr; }
.link-phone .ico { color: var(--red); }
.link-phone:hover { color: var(--red); }
.fineprint { margin-top: 18px; font-size: .95rem; color: var(--muted-light); }

/* ---------- Badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 1rem; line-height: 1; padding: 11px 16px; white-space: nowrap;
}
.badge .ico { width: 1.15em; height: 1.15em; }

/* Hot – slanted red block with a shine sweep */
.badge--hot { background: var(--red); color: #fff; transform: skewX(-10deg); border-radius: 6px; overflow: hidden; box-shadow: 0 8px 18px -8px rgba(225, 6, 0, .8); }
.badge--hot::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }

/* Tag – price-tag shape with a punched hole */
.badge--tag {
  background: var(--red); color: #fff; padding-inline: 18px 30px;
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%);
  border-radius: 0 6px 6px 0;
}
.badge--tag::after { content: ""; position: absolute; inset-inline-end: 12px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #fff; }
.offer--dark .badge--tag::after { background: var(--ink); }

/* Solid – black chip with red icon */
.badge--solid { background: var(--ink); color: #fff; border-radius: 999px; }
.badge--solid .ico { color: #ff4d47; }
.offer--dark .badge--solid { background: #fff; color: var(--ink); }
.offer--dark .badge--solid .ico { color: var(--red); }

/* Outline – dashed red stamp-like */
.badge--outline { border: 2px dashed var(--red); color: var(--red); border-radius: 8px; background: var(--red-tint); }
.offer--dark .badge--outline { background: transparent; color: #ff6b66; border-color: #ff6b66; }

/* ---------- Price card ---------- */
.price-card {
  position: relative; background: #fff; color: var(--ink); border-radius: 26px; padding: 64px 40px 40px;
  border: 3px solid var(--ink); box-shadow: 14px 14px 0 var(--red); text-align: center; overflow: visible;
}
.offer--dark .price-card { border-color: #fff; box-shadow: 14px 14px 0 var(--red); }
.price-card__label { font-weight: 800; font-size: 1.25rem; color: var(--muted); }
.price { display: flex; justify-content: center; align-items: flex-start; gap: 6px; margin-top: 4px; direction: ltr; }
.price__num { font-family: var(--font-num); font-size: clamp(6rem, 11vw, 9.5rem); line-height: .9; color: var(--red); letter-spacing: 1px; }
.price__cur { font-weight: 900; font-size: 2.6rem; margin-top: 10px; color: var(--ink); }
.price-card__sub { font-weight: 900; font-size: 1.45rem; margin-top: 6px; }
.mini-list { display: grid; gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 2px dashed var(--line); text-align: start; }
.mini-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; }
.mini-list .ico { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 3; }

/* Corner ribbon */
.ribbon {
  position: absolute; top: 22px; left: -12px; background: var(--ink); color: #fff;
  font-weight: 900; font-size: 1rem; padding: 8px 18px 8px 22px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%);
  padding-right: 28px;
}
.ribbon::before { content: ""; position: absolute; left: 0; bottom: -10px; border-top: 10px solid #000; border-left: 12px solid transparent; }
.offer--dark .ribbon { background: var(--red); }

/* Starburst */
.burst {
  position: absolute; top: -46px; right: -34px; width: 132px; height: 132px; display: grid; place-items: center;
  background: var(--red); color: #fff; text-align: center; z-index: 2;
  clip-path: polygon(50% 0%, 57% 13%, 69% 4%, 72% 18%, 86% 14%, 83% 28%, 97% 31%, 89% 43%, 100% 50%, 89% 57%, 97% 69%, 83% 72%, 86% 86%, 72% 82%, 69% 96%, 57% 87%, 50% 100%, 43% 87%, 31% 96%, 28% 82%, 14% 86%, 17% 72%, 3% 69%, 11% 57%, 0% 50%, 11% 43%, 3% 31%, 17% 28%, 14% 14%, 28% 18%, 31% 4%, 43% 13%);
  animation: spin 18s linear infinite;
  filter: drop-shadow(0 10px 16px rgba(225, 6, 0, .45));
}
.burst span { font-weight: 900; font-size: 1.35rem; line-height: 1; transform: rotate(-12deg); animation: spin 18s linear infinite reverse; }
.burst--big { width: 168px; height: 168px; top: -60px; right: -44px; }
.burst--big span { font-size: 2.1rem; }
[lang="ru"] .burst--big span { font-size: 1.45rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Rotating stamp */
.stamp {
  position: absolute; top: -56px; right: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: var(--red); color: #fff; z-index: 2; box-shadow: 0 12px 24px -8px rgba(225, 6, 0, .6);
  display: grid; place-items: center;
}
.stamp > svg { direction: ltr; position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.stamp text { fill: #fff; font-family: var(--font); font-weight: 800; font-size: 11.5px; letter-spacing: .5px; }
.stamp__core { width: 66px; height: 66px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; border: 3px dashed var(--red); }
.stamp__core .ico { width: 32px; height: 32px; }

/* ---------- Why us ---------- */
.why { background: var(--ink); color: #fff; margin-top: 80px; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 90% 50%, rgba(225, 6, 0, .22), transparent 70%); }
.why__in { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding-block: 100px; }
.why__text { font-size: 1.25rem; line-height: 1.65; color: #c9cbd1; margin-top: 24px; max-width: 52ch; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; }
.stats li { background: var(--ink-2); padding: 34px 28px; }
.stats b { display: block; font-family: var(--font-num); font-size: 4.6rem; line-height: .9; color: var(--red); letter-spacing: 1px; }
.stats span { display: block; font-weight: 700; font-size: 1.12rem; margin-top: 8px; color: #e4e5e8; }

/* ---------- Reviews ---------- */
.reviews { padding-bottom: 110px; }
.rating-line { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; font-weight: 700; color: var(--muted); font-size: 1.1rem; }
.stars { display: inline-flex; gap: 3px; color: var(--gold); }
.stars svg { width: 22px; height: 22px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review {
  position: relative; margin: 0; background: #fff; border-radius: var(--radius); padding: 36px 32px 30px;
  border: 1px solid var(--line); box-shadow: 0 2px 0 var(--line); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.review::after { content: ""; position: absolute; inset-inline: 32px; top: 0; height: 5px; background: var(--red); border-radius: 0 0 5px 5px; }
.review__q { position: absolute; top: 26px; left: 26px; width: 46px; height: 46px; color: var(--red-tint); }
.review blockquote { margin: 18px 0 26px; font-size: 1.2rem; line-height: 1.6; font-weight: 500; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.review figcaption b { display: block; font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.review figcaption small { color: var(--muted); font-size: .95rem; }
.avatar { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 900; font-size: 1.3rem; border: 3px solid var(--red); }

/* ---------- Contact ---------- */
.contact { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 70px, rgba(0, 0, 0, .06) 70px 72px); }
.contact__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-block: 100px; }
.contact__in > * { min-width: 0; }
.contact .hl { color: var(--ink); }
.contact .kicker--light { color: #fff; }
.contact .kicker--light::before { background: #fff; }
.contact__lead { font-size: 1.3rem; margin-top: 20px; color: #ffe3e2; font-weight: 500; }
.contact__list { display: grid; gap: 18px; margin-top: 34px; font-size: 1.3rem; font-weight: 700; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list .ico { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, .18); }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form { background: #fff; color: var(--ink); border-radius: 24px; padding: 40px; box-shadow: 14px 14px 0 var(--ink); display: grid; gap: 18px; }
.form__title { font-weight: 900; font-size: 2rem; line-height: 1.1; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 800; font-size: 1.05rem; }
.field small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; border: 2px solid var(--line); background: var(--paper); border-radius: 12px; padding: 14px 16px; font-size: 1.1rem;
  transition: border-color .2s ease, background-color .2s ease;
}
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--red); background: var(--red-tint); }
.form__error { color: var(--red-dark); font-weight: 700; }
.form__note { text-align: center; color: var(--muted); font-size: .95rem; }
.form .btn--red .ico { fill: currentColor; stroke: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c9cbd1; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-block: 72px 56px; }
.footer__brand p { margin-top: 16px; max-width: 32ch; }
.logo--light { align-items: flex-start; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); color: #fff; font-weight: 900; font-size: 1.1rem; transition: background-color .2s ease; }
.social a:hover { background: var(--red); }
.social .ico { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.footer__col { display: grid; align-content: start; gap: 10px; }
.footer__col h4 { color: #fff; font-weight: 900; font-size: 1.2rem; margin-bottom: 6px; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .92rem; }
.footer__bottom-in { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; padding-block: 20px; }
.footer__bottom-in a { color: #c9cbd1; }
.footer__bottom-in a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom-in a:last-child { margin-inline-start: auto; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Left-to-right pages (/en, /ru) – mirror the direction-specific decoration
   ========================================================================== */
[dir="ltr"] .nav a::after { transform-origin: left; }
[dir="ltr"] .ico--flip { transform: scaleX(-1); }
[dir="ltr"] .hero__stripes { transform: scaleX(-1); }
[dir="ltr"] .hero__offers a::before { border-radius: 4px 0 0 4px; }
[dir="ltr"] .hero__offers a:hover { transform: translateX(6px); }
[dir="ltr"] .why::before { transform: scaleX(-1); }
[dir="ltr"] .badge--tag { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); border-radius: 6px 0 0 6px; }
[dir="ltr"] .ribbon {
  left: auto; right: -12px; padding: 8px 22px 8px 28px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12px 50%);
}
[dir="ltr"] .ribbon::before { left: auto; right: 0; border-left: 0; border-right: 12px solid transparent; }
[dir="ltr"] .burst { right: auto; left: -34px; }
[dir="ltr"] .burst--big { left: -44px; }
[dir="ltr"] .stamp { right: auto; left: -40px; }
[dir="ltr"] .review__q { left: auto; right: 26px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .header__in { gap: 24px; }
  .nav { gap: 18px; font-size: .98rem; }
  [dir="ltr"] .header__cta span { display: none; }
}

@media (max-width: 1100px) {
  .header__cta span { display: none; }
  .burger { display: block; order: 4; }
  .lang { order: 2; margin-inline-start: auto; }
  .header__cta { order: 3; }
  .nav {
    position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 0; background: var(--ink);
    padding: 8px 24px 20px; border-bottom: 3px solid var(--red);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; font-size: 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav a::after { display: none; }
  .offer__in { grid-template-columns: 1fr; gap: 80px; }
  .offer--test .offer__in { grid-template-columns: 1fr; }
  .offer--test .price-card { order: 0; }
  .price-card { max-width: 520px; width: calc(100% - 24px); margin-inline: auto; }
}

@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; padding-block: 64px 100px; gap: 40px; }
  .trust__in { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-inline-start: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .why__in, .contact__in { grid-template-columns: 1fr; gap: 48px; padding-block: 80px; }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 17px; padding-bottom: 72px; }
  .wrap { padding-inline: 16px; }
  .hide-sm { display: none !important; }
  .topbar__in { gap: 14px; font-size: .85rem; }
  .header__in { min-height: 66px; gap: 12px; }
  .header__cta { display: none; }
  .logo__car { width: 76px; height: 22px; }
  .logo__text { font-size: 1.55rem; }

  .hero__title { letter-spacing: -1px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__offers a { padding: 18px 20px; }
  .hero__offers em { font-size: 2.2rem; }
  .trust__item { padding: 20px 10px; column-gap: 10px; }
  .trust__item .ico { width: 34px; height: 34px; }
  .trust__item b { font-size: 1.05rem; }
  .trust__item span { font-size: .88rem; }

  .sec-head { padding-block: 72px 40px; }
  .offer { padding-block: 56px; }
  .offer--winter::after, .offer--service::after { width: 6px; }
  .features { grid-template-columns: 1fr; gap: 22px; margin-top: 32px; }
  .features b { font-size: 1.28rem; }
  .feat-ico { width: 54px; height: 54px; border-radius: 14px; }
  .feat-ico svg { width: 28px; height: 28px; }
  .badge { font-size: .92rem; padding: 10px 13px; }
  .badge--tag { padding-inline: 14px 28px; }
  .offer__actions .btn { flex: 1 1 100%; }
  .offer__actions .link-phone { margin-inline: auto; }

  .price-card { padding: 72px 22px 30px; box-shadow: 10px 10px 0 var(--red); width: calc(100% - 10px); margin-inline: 0 auto; }
  .offer--dark .price-card { box-shadow: 10px 10px 0 var(--red); }
  .burst { width: 110px; height: 110px; right: -8px; top: -44px; }
  .burst--big { width: 132px; height: 132px; right: -8px; top: -54px; }
  .burst--big span { font-size: 1.7rem; }
  [lang="ru"] .burst--big span { font-size: 1rem; }
  .stamp { width: 116px; height: 116px; right: -8px; top: -48px; }
  .stamp__core { width: 54px; height: 54px; }
  .ribbon { left: -8px; }

  .stats b { font-size: 3.6rem; }
  .stats li { padding: 26px 20px; }
  .reviews__grid { grid-template-columns: 1fr; gap: 20px; }
  .review { padding: 30px 22px 24px; }
  .form { padding: 28px 20px; box-shadow: 10px 10px 0 var(--ink); }
  .form__title { font-size: 1.6rem; }
  .contact__list { font-size: 1.12rem; }
  .footer__in { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 40px; }
  .footer__bottom-in a:last-child { margin-inline-start: 0; }

  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .25);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; font-weight: 900; font-size: 1.15rem; color: #fff; }
  .callbar__call { background: var(--red); }
  .callbar__wa { background: #1fa855; }
  .callbar__wa .ico { fill: currentColor; stroke: none; }

  .lang a { min-width: 46px; height: 44px; padding-inline: 8px; font-size: 1.05rem; }

  [dir="ltr"] .burst, [dir="ltr"] .burst--big, [dir="ltr"] .stamp { right: auto; left: -8px; }
  [dir="ltr"] .ribbon { left: auto; right: -8px; }
}

@media (max-width: 400px) {
  .header__in { gap: 8px; }
  .logo__car { width: 64px; height: 18px; }
  .logo__text { font-size: 1.3rem; }
  .lang { padding: 3px; gap: 2px; }
  .lang a { min-width: 42px; height: 42px; padding-inline: 6px; font-size: 1rem; }
  .burger { width: 42px; padding: 8px; }
}
