/* AutoImport — дизайн-система: графит (как щит в логотипе) + латунь (акцент логотипа) */
:root {
  /* Светлые поверхности: холодная сталь */
  --bg-page: #f1f4f8;
  --bg-soft: #e9edf2;
  --bg-card: #ffffff;
  /* Тёмные поверхности: графит */
  --bg-ink: #0e141b;
  --bg-ink-soft: #16202b;
  /* Текст */
  --text: #101821;
  --text-soft: #38454f;
  --text-muted: #5b6875;
  /* Линии */
  --border: #e2e8ef;
  --border-strong: #ccd6e0;
  /* Бренд: латунь из логотипа. --accent — заливки/декор, --accent-hover — текст и hover (контрастнее) */
  --accent: #c9a24c;
  --accent-hover: #7d5f26;
  --accent-bright: #e3c377;
  --accent-soft: rgba(201, 162, 76, 0.12);
  --accent-line: rgba(201, 162, 76, 0.32);
  --accent-rgb: 201, 162, 76;
  --ink-rgb: 14, 20, 27;
  --on-dark: #c9d3de;
  --on-dark-muted: #93a1b1;
  /* Геометрия и тени */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(14, 20, 27, 0.04), 0 12px 28px rgba(14, 20, 27, 0.06);
  --shadow-lg: 0 8px 20px rgba(14, 20, 27, 0.07), 0 26px 60px rgba(14, 20, 27, 0.12);
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg-page);
  padding-top: 73px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 100% - 44px);
  margin-inline: auto;
}

.section {
  padding: clamp(56px, 7vw, 104px) 0;
}

.section--tight-top {
  padding-top: clamp(32px, 4vw, 48px);
}

.section--tight-bottom {
  padding-bottom: clamp(24px, 3vw, 36px);
}

.banner-160-section{
  border-bottom: 1px solid var(--border);
  padding-top: 48px;
  padding-bottom: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-hover);
  margin: 0 0 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.subtitle {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.65;
  max-width: 720px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 1px 0 rgba(var(--ink-rgb), 0.02), 0 8px 26px rgba(var(--ink-rgb), 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.site-logo span{
  color: var(--accent-hover);
  font-weight: 600;
}

.site-logo img {
  width: 42px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.site-nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  padding: 8px 2px;
  transition: color 0.2s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.city-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
}

.city-picker > button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--accent-hover);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.city-picker > button:hover {
  color: var(--accent-hover);
}

.city-picker__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 130;
  width: min(320px, calc(100vw - 32px));
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.city-picker__dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 34px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transform: rotate(45deg);
}

.city-picker__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.city-picker__input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--text);
}

.city-picker__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.16);
}

.city-picker__status {
  margin: 10px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.city-picker__results {
  display: grid;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
}

.city-picker__result,
.city-picker__geo {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.city-picker__result:hover,
.city-picker__geo:hover {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: var(--accent);
  color: var(--accent-hover);
}

.city-picker__geo {
  margin-top: 10px;
  text-align: center;
  font-weight: 600;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-card);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.phone-link:hover {
  color: var(--accent-hover);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.messengers {
  display: flex;
  gap: 8px;
}

.messengers a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-card);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}

.messengers a:hover {
  transform: translateY(-1px);
}

.messengers a svg {
  width: 20px;
  height: 20px;
}

.messengers a:hover {
  border-color: var(--accent-line);
  color: var(--accent-hover);
  background: var(--accent-soft);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 1024px) {
  .site-nav-wrap {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 44px rgba(var(--ink-rgb), 0.14);
    padding: 18px 20px 22px;
    flex-direction: column;
    align-items: flex-start;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-nav-wrap.is-open {
    display: flex;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
  }

  .site-nav a {
    width: 100%;
    padding: 11px 12px;
    border-radius: 10px;
  }

  .site-nav a::after {
    left: 12px;
    right: 12px;
    bottom: 6px;
  }

  .site-nav a:hover {
    background: var(--accent-soft);
  }

  .site-header__right {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }

  .city-picker__dropdown {
    left: 0;
    right: auto;
  }

  .city-picker__dropdown::before {
    left: 34px;
    right: auto;
  }

  .burger {
    display: flex;
  }
}

@media (min-width: 1025px) {
  .site-nav-wrap {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 24px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  min-height: 48px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s, transform 0.18s;
  text-align: center;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(180deg, #1c2733 0%, var(--bg-ink) 100%);
  color: #fff;
  border-color: rgba(var(--ink-rgb), 0.9);
  box-shadow: 0 6px 16px rgba(var(--ink-rgb), 0.14);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #273444 0%, #16202b 100%);
  box-shadow: 0 10px 26px rgba(var(--ink-rgb), 0.2);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(var(--ink-rgb), 0.16);
}

.btn--outline {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
  background: var(--accent-soft);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero */
.hero {
  position: relative;
  padding-top: clamp(52px, 6vw, 84px);
  padding-bottom: clamp(52px, 6vw, 84px);
  background:
    radial-gradient(900px 420px at 92% -10%, rgba(var(--accent-rgb), 0.16), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 48px);
  align-items: start;
}

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

.hero__bullets {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .hero__bullets {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }
}

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

.hero-bullet {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 96px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.hero-bullet:hover {
  transform: translateY(-3px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.hero-bullet__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid var(--accent-line);
  background: linear-gradient(140deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.06));
  color: var(--accent-hover);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.hero-bullet__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-bullet p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text);
}

.hero__media {
  align-self: start;
  margin-top: 4px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: var(--bg-soft);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card h3 {
  margin-bottom: 8px;
}

.fit-grid {
  align-items: stretch;
}

.fit-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.fit-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
}

.fit-card--yes::before {
  background: #157a3c;
}

.fit-card--no::before {
  background: var(--accent);
}

.fit-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.fit-card__head h3 {
  margin: 0;
}

.fit-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.fit-card--yes .fit-card__icon {
  background: rgba(22, 163, 74, 0.12);
  color: #12683a;
}

.fit-card--no .fit-card__icon {
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent-hover);
}

.fit-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
}

.fit-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.fit-card li:last-child {
  margin-bottom: 0;
}

.fit-card li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.fit-card--yes li::before {
  content: "✓";
  color: #157a3c;
}

.fit-card--no li::before {
  content: "−";
  color: var(--accent-hover);
}

.conclusion-box {
  margin-top: 28px;
  padding: 24px 26px;
  background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.14), rgba(var(--accent-rgb), 0.02));
  border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}

.conclusion-box p {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: var(--text);
}

/* Brands */
.brands-section {
  background: var(--bg-card);
  border-block: 1px solid var(--border);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.brand-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  min-height: 104px;
}

.brand-tile:hover {
  background: var(--bg-card);
  color: var(--accent-hover);
  border-color: var(--accent-line);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.brand-tile span {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.2s, opacity 0.2s;
}

.brand-tile:hover span {
  filter: grayscale(0%);
  opacity: 1;
}

.brand-tile .brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 34px;
  filter: none;
  opacity: 1;
}

.brand-logo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.25s ease;
}

.brand-tile:hover .brand-logo__img {
  filter: grayscale(0);
}

/* Segment cards 3.4 */
.segment-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.segment-card:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.segment-card__img {
  height: 230px;
  background: var(--bg-soft);
  overflow: hidden;
}

.segment-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.segment-card:hover .segment-card__img img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .segment-card__img {
    height: 210px;
  }
}

.segment-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.segment-card__offer {
  font-weight: 700;
  color: var(--accent-hover);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.segment-card .btn {
  margin-top: auto;
  width: 100%;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.ui-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid var(--accent-line);
  background: linear-gradient(140deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.06));
  color: var(--accent-hover);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.ui-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.step-card__icon {
  margin-bottom: 12px;
}

.step-card__num {
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--bg-ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  display: grid;
  place-items: center;
}

.step-card__label {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.step-card h3 {
  margin-bottom: 12px;
}

.step-card__term {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.85rem;
  color: var(--accent-hover);
  font-weight: 700;
}

.cost-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.cost-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.cost-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.cost-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), 0));
  opacity: 0.7;
}

.cost-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent-hover);
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cost-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1rem;
}

.cost-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.cost-summary {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 20px 24px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.16), rgba(255, 255, 255, 0.75));
  color: var(--text);
  font-weight: 700;
  text-align: center;
}

/* Two columns fears */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .split-2 {
    grid-template-columns: 1fr;
  }
}

.fears-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.fear-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) 48px minmax(0, 1.25fr);
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.fear-row:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.fear-row::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--accent);
}

.fear-row::after {
  content: "\2192";
  grid-column: 2;
  grid-row: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent-hover);
  display: grid;
  place-items: center;
  font-weight: 700;
  justify-self: center;
}

.fear-row__fear {
  position: relative;
  grid-column: 1;
  font-weight: 600;
  color: var(--text);
}

.fear-row__fear::before,
.fear-row__sol::before {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fear-row__fear::before {
  content: "Волнует";
  color: #a2500f;
}

.fear-row__sol {
  grid-column: 3;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.fear-row__sol::before {
  content: "Как решаем";
  color: var(--accent-hover);
}

@media (max-width: 1024px) {
  .fear-row {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: flex-start;
  }

  .fear-row__fear {
    grid-column: 1;
    grid-row: 1;
  }

  .fear-row::after {
    content: "↓";
    grid-column: 1;
    grid-row: 2;
    justify-self: flex-start;
  }

  .fear-row__sol {
    grid-column: 1;
    grid-row: 3;
  }
}

/* Savings cards */
.savings-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.savings-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.savings-card__img {
  height: 190px;
  margin: -24px -24px 20px;
  background: var(--bg-soft);
  overflow: hidden;
}

.savings-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.savings-card__prices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.savings-card__save {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--accent-hover);
}

.why-list {
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.why-list li {
  margin-bottom: 8px;
}

/* Popular cars */
.popular-section .cards-grid {
  margin-top: 24px;
}

/* Car cards catalog style */
.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.car-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.car-card__img {
  position: relative;
  height: 250px;
  background: var(--bg-soft);
  overflow: hidden;
}

.car-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(14, 20, 27, 0.78);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.car-badge--korea {
  background: rgba(0, 71, 171, 0.9);
}

.car-badge--china {
  background: rgba(196, 30, 58, 0.9);
}

.car-badge--europe {
  background: rgba(45, 55, 72, 0.92);
}

.car-badge--usa {
  background: rgba(30, 58, 138, 0.92);
}

.car-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.car-card:hover .car-card__img img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .car-card__img {
    height: 220px;
  }
}

.car-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.car-card__body h3 {
  margin-bottom: 4px;
}

.car-card__body p {
  margin: 0;
}

.car-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.car-card__price {
  margin: 6px 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.car-specs__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-page);
}

.car-specs__icon {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: var(--text-muted);
}

.car-specs__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.car-specs__value {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  white-space: nowrap;
}

.car-specs__item[hidden] {
  display: none;
}

.car-card__desc {
  min-height: auto;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 11px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent-hover);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.tag.tag--family {
  border-color: rgba(26, 107, 95, 0.22);
  background: #d9f0ec;
  color: #16605a;
}

.tag.tag--premium {
  border-color: rgba(91, 63, 143, 0.2);
  background: #ede4f7;
  color: #54398a;
}

.tag.tag--economy {
  border-color: rgba(20, 107, 58, 0.2);
  background: #ddf3e4;
  color: #126235;
}

.tag.tag--tech {
  border-color: rgba(42, 71, 168, 0.2);
  background: #dde6fb;
  color: #26409a;
}

.tag.tag--power {
  border-color: rgba(181, 45, 32, 0.2);
  background: #fde2df;
  color: #a5281c;
}

.car-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.car-card__actions .btn {
  width: 100%;
  padding: 10px 16px;
  font-size: 0.9rem;
}

/* CTA section / form */
.cta-section {
  background:
    radial-gradient(900px 420px at 88% 8%, rgba(var(--accent-rgb), 0.18), transparent 62%),
    linear-gradient(180deg, var(--bg-card) 0%, var(--bg-page) 100%);
  border-top: 1px solid var(--border);
}

.cta-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 560px);
  gap: clamp(32px, 6vw, 72px);
}

.cta-section__content p:not(.eyebrow):not(.subtitle) {
  max-width: 580px;
  margin: 0;
  color: var(--text-muted);
}

.form-block {
  max-width: 560px;
  width: 100%;
  padding: clamp(24px, 3vw, 34px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.product-cta {
  text-align: center;
}

.product-cta .subtitle {
  margin-inline: auto;
}

.product-cta .form-block {
  margin: 28px auto 0;
  text-align: left;
}

.form-row {
  margin-bottom: 14px;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 7px;
  color: var(--text);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: var(--bg-card);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #8a95a1;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  background: var(--bg-card);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.16);
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 16px 0 20px;
}

.form-consent a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent input {
  margin-top: 4px;
  accent-color: var(--accent);
}

.form-main .btn,
.form-block form[data-lead-form] .btn {
  width: 100%;
  min-height: 52px;
}

@media (max-width: 900px) {
  .cta-section__grid {
    grid-template-columns: 1fr;
  }

  .form-block {
    max-width: none;
  }
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Ribbon banner 160 hp */
.banner-160 {
  position: relative;
  background: linear-gradient(120deg, #101821 0%, #1d2836 60%, #273444 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 26px clamp(20px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.banner-160::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(520px 200px at 88% 0%, rgba(var(--accent-rgb), 0.22), transparent 62%);
  pointer-events: none;
}

.banner-160 p {
  margin: 8px 0 0;
  max-width: 560px;
  opacity: 0.9;
  font-size: 0.95rem;
}

.banner-160 h3 {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
}

.banner-160 .btn--primary {
  position: relative;
  background: var(--accent);
  color: #10151b;
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.banner-160 .btn--primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
}

.banner-160-section .banner-160 {
  box-shadow: 0 12px 40px rgba(var(--ink-rgb), 0.18);
}

.banner-160__badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.18);
  color: var(--accent-bright);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-nav__active {
  color: var(--text);
  font-weight: 700;
}

.site-nav__active::after {
  transform: scaleX(1);
}

.collection-160-hero__lead {
  max-width: 720px;
}

.power-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.power-benefits__item {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.power-benefits__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-page);
  font-weight: 700;
  color: var(--accent-hover);
}

.collection-160-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.collection-160-note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

.collection-160-cta .country-cta {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.country-catalog {
  background: var(--bg-card);
  border-block: 1px solid var(--border);
}

.country-catalog__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.catalog-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.catalog-sort {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
}

.catalog-sort__label {
  color: var(--text-muted);
  white-space: nowrap;
}

.catalog-sort__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s;
}

.catalog-sort__trigger:hover,
.catalog-sort__trigger.is-open {
  color: var(--accent-hover);
}

.catalog-sort__chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.catalog-sort__trigger.is-open .catalog-sort__chevron {
  transform: rotate(180deg);
}

.catalog-sort__native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.catalog-sort__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  min-width: 260px;
  max-height: min(320px, 50vh);
  overflow-y: auto;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.catalog-sort__menu[hidden] {
  display: none;
}

.catalog-sort__option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: calc(var(--radius-sm) - 2px);
  background: none;
  font: inherit;
  font-size: 0.875rem;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.catalog-sort__option:hover,
.catalog-sort__option.is-active {
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-hover);
}

.country-catalog__note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.country-catalog__count {
  margin: 16px 0 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.country-catalog__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}

.country-catalog__pagination[hidden],
.country-page-btn[hidden] {
  display: none !important;
}

.country-page-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.country-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}

.country-page-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.country-page-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.country-page-btn.is-active {
  border-color: var(--bg-ink);
  background: var(--bg-ink);
  color: #fff;
}

.country-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.country-page-btn--nav {
  min-width: auto;
  padding: 0 16px;
}

.country-catalog__locked select:disabled {
  opacity: 1;
  color: var(--text);
  background: var(--bg-page);
  cursor: default;
}

.country-brand-chip {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.country-brand-chip:hover,
.country-brand-chip.is-active {
  border-color: var(--accent);
  color: var(--accent-hover);
  background: rgba(var(--accent-rgb), 0.1);
}

.car-card.is-filtered-out,
.car-card.is-page-hidden {
  display: none;
}

.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--bg-ink-soft) 0%, var(--bg-ink) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 56px 0 26px;
  color: var(--on-dark);
}

.site-footer h3 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.site-footer .site-logo {
  color: #fff;
}

.site-footer .site-logo span {
  color: var(--accent);
}

.site-footer .btn--primary {
  background: var(--accent);
  color: #10151b;
  border-color: var(--accent);
}

.site-footer .btn--primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
}

.site-footer .messengers a {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--on-dark);
}

.site-footer .messengers a:hover {
  border-color: rgba(var(--accent-rgb), 0.6);
  background: rgba(var(--accent-rgb), 0.16);
  color: var(--accent-bright);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

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

.footer-col p {
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 14px 0 20px;
  max-width: 340px;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: var(--on-dark);
  display: inline-block;
  transition: color 0.2s, transform 0.2s;
}

.footer-messengers {
  margin-top: 2px;
}

.footer-nav a:hover {
  color: var(--accent-bright);
  transform: translateX(2px);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}

.footer-bottom a {
  color: var(--on-dark);
}

.footer-bottom a:hover {
  color: var(--accent-bright);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 21, 0.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  width: min(560px, 100%);
  margin: auto;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  position: relative;
  transform: translateY(12px);
  transition: transform 0.25s;
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.modal__close:hover {
  background: var(--bg-soft);
  border-color: var(--accent-line);
  color: var(--accent-hover);
}

.modal__body {
  padding: 32px 28px 28px;
  max-height: min(85vh, 720px);
  overflow-y: auto;
}

.modal__body h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  padding-right: 36px;
}

.modal-benefits {
  margin: 16px 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.modal-benefits li {
  margin-bottom: 7px;
  padding-left: 4px;
}

.modal-benefits li::marker {
  color: var(--accent-hover);
  font-weight: 700;
}

.modal-examples {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 16px;
}

.form-success {
  padding: 24px;
  background: #eafaf1;
  border: 1px solid #b6e7c9;
  border-left: 3px solid #157a3c;
  border-radius: var(--radius);
  color: #0a5c3f;
  text-align: center;
  display: none;
}

.form-success.is-visible {
  display: block;
  margin-top: 16px;
}

.form-error {
  padding: 14px 16px;
  background: #fdf2f2;
  border: 1px solid #f6c9c9;
  border-left: 3px solid #c53030;
  border-radius: var(--radius);
  color: #8f1d1d;
  font-size: 0.9rem;
  line-height: 1.5;
  display: none;
}

.form-error.is-visible,
.form-error:not([hidden]) {
  display: block;
  margin: 0 0 16px;
}

.form-main.is-hidden {
  display: none;
}

.lead-recaptcha {
  margin: 12px 0;
}

.recaptcha-placeholder {
  margin: 12px 0;
  padding: 12px;
  background: var(--bg-page);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

form[data-lead-form]:not(.is-consultation) [data-form-consultation-only] {
  display: none;
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.section-anchor {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* Внутренние страницы */
.page-main {
  padding-top: var(--header-h);
}

.page-hero {
  padding: clamp(40px, 5vw, 64px) 0;
  background:
    radial-gradient(760px 320px at 92% -20%, rgba(var(--accent-rgb), 0.14), transparent 60%),
    var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero .subtitle {
  margin-bottom: 0;
}

.page-hero .btn-row {
  margin-top: 24px;
}

.remote-hero {
  text-align: center;
}

.remote-hero .subtitle {
  margin-inline: auto;
}

.page-hero__highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 30px;
  text-align: left;
}


.icon-points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.icon-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.icon-point p,
.icon-point span:last-child {
  margin: 0;
  padding-top: 10px;
  color: var(--text-muted);
  line-height: 1.5;
}

.icon-point .ui-icon {
  margin-top: 2px;
}

.remote-important {
  max-width: 860px;
  margin-inline: auto;
}

/* Related blog block */
.related-blog {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.related-blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.related-blog__card {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.related-blog__card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.related-blog__card span {
  margin-top: 16px;
  color: var(--accent-hover);
  font-size: 0.88rem;
}

.blog-card__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.blog-card__excerpt {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
}

.blog-index__count {
  margin: 0 0 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.blog-index__grid {
  margin-top: 0;
}

a.country-page-btn {
  text-decoration: none;
}

span.country-page-btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.related-blog__actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* Blog article template */
.article-page .page-hero {
  text-align: center;
}

.article-page .page-hero .subtitle {
  margin-inline: auto;
}

.article-shell {
  max-width: 860px;
  margin-inline: auto;
}

.article-back {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--accent-hover);
  font-weight: 700;
  transition: gap 0.2s;
}

.article-back:hover {
  gap: 12px;
}

.article-content {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.article-content h2 {
  position: relative;
  margin-top: 40px;
  padding-bottom: 12px;
}

.article-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  margin-top: 24px;
  margin-bottom: 10px;
}

.article-content p,
.article-content li {
  color: var(--text-muted);
  line-height: 1.7;
}

.article-content p {
  margin: 0 0 14px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 18px;
  padding-left: 1.25rem;
}

.article-content figure {
  margin: 28px 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-page);
}

.article-content > figure:first-child {
  margin-top: 0;
}

.article-content figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-content figure figcaption {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  border-top: 1px solid var(--border);
}

.article-content > figure:first-child + p {
  color: var(--text);
  font-size: 1.08rem;
}

.article-content blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), 0.08);
}

.article-content blockquote p {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.article-content .wp-block-table,
.article-content figure:has(table) {
  margin: 18px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.article-content figure:has(table) {
  padding: 0;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.article-content th,
.article-content td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.article-content tbody tr:nth-child(even) {
  background: var(--bg-page);
}

.article-content th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--text);
}

.article-content tr:last-child td {
  border-bottom: none;
}

.article-cta {
  margin-top: 36px;
  padding: clamp(24px, 4vw, 34px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.18), rgba(255, 255, 255, 0.94));
  border: 1px solid var(--accent-line);
  text-align: center;
}

.article-cta h2 {
  margin-top: 0;
}

.article-cta p {
  max-width: 620px;
  margin-inline: auto;
}

.article-cta .btn {
  margin-top: 10px;
}

/* Guarantees page */
.guarantees-hero {
  text-align: center;
}

.guarantees-hero .subtitle {
  margin-inline: auto;
}

.guarantees-hero__note {
  max-width: 820px;
  margin: 26px auto 0;
  padding: 18px 22px;
  border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--text);
  font-weight: 700;
  text-align: left;
}

.guarantee-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.guarantee-cards article {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.guarantee-cards article:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.guarantee-cards span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 13px;
  border: 1px solid var(--accent-line);
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent-hover);
  font-weight: 700;
}

.guarantee-cards h3 {
  margin-bottom: 10px;
}

.guarantee-cards p,
.guarantee-docs p {
  margin: 0;
  color: var(--text-muted);
}

.guarantee-money-section {
  background: var(--bg-card);
  border-block: 1px solid var(--border);
}

.guarantee-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.guarantee-list div {
  position: relative;
  padding: 18px 18px 18px 50px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  color: var(--text-muted);
}

.guarantee-list div::before {
  content: "✓";
  position: absolute;
  top: 18px;
  left: 18px;
  color: #157a3c;
  font-weight: 700;
}

.guarantee-note {
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), 0.09);
  color: var(--text);
  font-weight: 700;
}

.guarantee-docs {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.guarantee-docs .guarantee-note {
  grid-column: 1 / -1;
  margin-top: 0;
}

.guarantee-docs ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.guarantee-docs li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 26px;
  color: var(--text-muted);
}

.guarantee-docs li:last-child {
  margin-bottom: 0;
}

.guarantee-docs li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-hover);
  font-weight: 700;
}

.guarantee-table {
  margin-top: 24px;
}

.guarantee-table td:first-child {
  width: 34%;
  color: var(--text);
  font-weight: 700;
}

.guarantee-cta .form-block {
  margin-inline: auto;
}

@media (max-width: 1024px) {
  .guarantee-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .guarantee-list,
  .guarantee-docs {
    grid-template-columns: 1fr;
  }

  .guarantee-table td:first-child {
    width: auto;
  }
}

@media (max-width: 560px) {
  .guarantee-cards {
    grid-template-columns: 1fr;
  }
}

/* Documents page */
.documents-hero {
  text-align: center;
}

.documents-hero .subtitle {
  margin-inline: auto;
}

.documents-slider,
.team-slider {
  position: relative;
}

.documents-swiper,
.team-swiper {
  overflow: hidden;
  padding-bottom: 4px;
}

.documents-swiper .swiper-slide,
.team-swiper .swiper-slide {
  height: auto;
}

.document-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.document-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.document-card__preview {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--bg-soft);
  cursor: zoom-in;
}

.document-card__preview img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.document-card__preview:hover img {
  transform: scale(1.03);
}

.document-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.document-card span {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 11px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent-hover);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.document-card h2 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.document-card p {
  margin: 0;
  color: var(--text-muted);
}

.documents-slider__controls,
.team-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}


.documents-slider__btn,
.team-slider__btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.documents-slider__btn:hover:not(:disabled),
.team-slider__btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.documents-slider__btn:disabled,
.documents-slider__btn.swiper-button-disabled,
.team-slider__btn:disabled,
.team-slider__btn.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.documents-slider__pagination,
.team-slider__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 80px;
}

.documents-slider__pagination .swiper-pagination-bullet,
.team-slider__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.35);
  opacity: 1;
  transition: transform 0.2s, background 0.2s;
}

.documents-slider__pagination .swiper-pagination-bullet-active,
.team-slider__pagination .swiper-pagination-bullet-active {
  transform: scale(1.2);
  background: var(--accent);
}

/* About page */
.about-hero {
  text-align: center;
}

.about-hero .subtitle {
  margin-inline: auto;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-stats article {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.about-stats strong {
  display: block;
  color: var(--accent-hover);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.about-stats span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
}

.team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.team-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.team-card > div {
  flex: 1;
}

.team-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.team-card > div {
  padding: 20px;
}

.team-card h3 {
  margin-bottom: 6px;
}

.team-card p {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* Reviews page */
.reviews-hero {
  text-align: center;
}

.reviews-hero .subtitle {
  margin-inline: auto;
}

.reviews-summary {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

.reviews-rating,
.reviews-count {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--bg-card), var(--bg-page));
  box-shadow: var(--shadow);
}

.reviews-rating strong,
.reviews-count strong {
  display: block;
  color: var(--accent-hover);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.reviews-rating span,
.reviews-count span {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-weight: 700;
}

.reviews-rating p,
.reviews-count p {
  margin: 10px 0 0;
  color: var(--text-muted);
}

.reviews-section {
  margin-top: 48px;
}

.reviews-more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.reviews-more .btn {
  min-width: min(100%, 280px);
  justify-content: center;
}

.reviews-more[hidden],
.reviews-more [hidden] {
  display: none !important;
}

.review-extra.is-hidden {
  display: none !important;
}

.video-reviews,
.review-platforms,
.message-strip,
.text-reviews {
  display: grid;
  gap: 16px;
}

.video-reviews {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-platforms {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.message-strip,
.text-reviews {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-review,
.review-platform-card,
.text-reviews article,
.message-strip article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.text-reviews article:hover,
.video-review:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.review-platform-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.review-platform-card__shot {
  overflow: hidden;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.review-shot,
.message-card__shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.review-shot img,
.message-card__shot img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.review-shot img {
  height: 180px;
}

.message-card__shot img {
  height: 210px;
}

.review-shot:hover img,
.message-card__shot:hover img {
  transform: scale(1.03);
}

.review-platform-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.review-platform-card__body .btn {
  width: 100%;
  margin-top: auto;
  justify-content: center;
}

.video-review {
  padding: 14px;
}

.video-review__media {
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 16px;
  background: #111;
}

.video-review__media video,
.video-review__media iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  object-fit: cover;
}

.video-review h3,
.video-review p {
  padding-inline: 8px;
}

.video-reviews p,
.review-platforms p,
.text-reviews p,
.message-strip p {
  color: var(--text-muted);
}

.review-platform-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.platform-rating,
.platform-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--accent-hover);
  font-weight: 700;
  font-size: 0.85rem;
}

.platform-rating {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 30px;
  background: rgba(var(--accent-rgb), 0.18);
}

.platform-rating::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: var(--rating, 0%);
  border-radius: inherit;
  background: rgba(var(--accent-rgb), 0.36);
}

.platform-tag {
  align-self: flex-start;
  background: rgba(var(--accent-rgb), 0.18);
}

.message-strip {
  padding-bottom: 8px;
}

.message-card {
  position: relative;
  background: var(--bg-page);
  overflow: hidden;
  padding: 0;
}

.message-strip span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(var(--ink-rgb), 0.62);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.message-card:hover span,
.message-card:focus-within span {
  opacity: 1;
}

.text-reviews strong {
  display: block;
  margin-top: 16px;
  color: var(--text);
}

/* Client reviews (platforms) */
.client-reviews__title {
  margin: 0 0 24px;
  text-align: center;
}

.client-reviews__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--bg-card), var(--bg-page));
  box-shadow: var(--shadow);
}

.client-reviews__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

.client-reviews__summary strong {
  color: var(--accent-hover);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}

.client-reviews__summary span {
  color: var(--text-muted);
  font-weight: 600;
}

.client-reviews__summary p {
  width: 100%;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.client-reviews__filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.client-reviews__filter span {
  color: var(--accent-hover);
  font-size: 0.8rem;
}

.client-reviews__filter:hover,
.client-reviews__filter.is-active {
  border-color: var(--accent);
  color: var(--accent-hover);
  background: rgba(var(--accent-rgb), 0.1);
}

.client-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.client-review-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.client-review-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.client-review-card.is-filtered-out,
.client-review-card.is-hidden {
  display: none;
}

.client-review-card__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}

.client-review-card__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.16);
  color: var(--accent-hover);
  font-weight: 700;
  font-size: 0.95rem;
  overflow: hidden;
  flex-shrink: 0;
}

.client-review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.client-review-card__meta strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.95rem;
}

.client-review-card__meta time {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.client-review-card__platform {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.client-review-card__platform--yandex {
  background: rgba(255, 59, 48, 0.1);
  color: #c62828;
}

.client-review-card__platform--2gis {
  background: rgba(46, 125, 50, 0.1);
  color: #256b29;
}

.client-review-card__platform--google {
  background: rgba(26, 115, 232, 0.1);
  color: #1565c0;
}

.client-review-card__platform--social {
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent-hover);
}

.client-review-card__text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .reviews-summary {
    grid-template-columns: 1fr;
  }

  .video-reviews,
  .review-platforms,
  .message-strip,
  .text-reviews,
  .client-reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-reviews__toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .video-reviews,
  .review-platforms,
  .message-strip,
  .text-reviews,
  .client-reviews__grid {
    grid-template-columns: 1fr;
  }
}

/* Payment page */
.payment-timeline {
  display: grid;
  gap: 18px;
}

.payment-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.payment-step:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.payment-step__icon {
  width: 50px;
  height: 50px;
}

.payment-step__label {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.payment-step__num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent-hover);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.payment-step h2 {
  margin-bottom: 10px;
}

.payment-step p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.payment-step ul {
  margin: 0 0 12px;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.payment-note {
  padding: 16px 18px;
  border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), 0.09);
  color: var(--text) !important;
  font-weight: 600;
}

.credit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.credit-example {
  padding: 26px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.16), rgba(255, 255, 255, 0.92));
  box-shadow: var(--shadow);
}

.credit-example h3 {
  margin-bottom: 18px;
}

.credit-example ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.credit-example li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.25);
}

.credit-example li:last-child {
  border-bottom: none;
}

.credit-example span {
  color: var(--text-muted);
}

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

@media (max-width: 560px) {
  .payment-step {
    grid-template-columns: 1fr;
  }
}

/* Country landing pages */
.country-hero {
  padding: clamp(44px, 6vw, 80px) 0;
  background:
    radial-gradient(820px 400px at 82% 12%, rgba(var(--accent-rgb), 0.18), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border);
}

.country-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.country-hero__content .subtitle {
  margin-bottom: 24px;
}

.country-hero__media {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.country-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.country-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.country-stats div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.country-stats strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.country-stats span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.country-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.country-benefits article {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.country-benefits article:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.country-benefits .ui-icon {
  margin-bottom: 16px;
}

.country-benefits span:not(.ui-icon) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent-hover);
  font-size: 0.78rem;
  font-weight: 700;
}

.country-benefits p,
.section-heading-row p,
.delivery-panel p,
.country-cta p {
  color: var(--text-muted);
}

.country-benefits h3 {
  margin-bottom: 8px;
}

.country-benefits p {
  margin: 0;
}

.country-process {
  background: var(--bg-card);
  border-block: 1px solid var(--border);
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading-row p {
  max-width: 520px;
  margin: 0;
}

.delivery-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--bg-card), var(--bg-page));
  box-shadow: var(--shadow);
}

.delivery-panel p {
  margin: 0;
}

.delivery-panel__list {
  display: grid;
  gap: 12px;
}

.delivery-panel__list span {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  color: var(--text);
  font-weight: 600;
}

.delivery-panel__list .ui-icon {
  width: 38px;
  height: 38px;
}

.delivery-panel__list .ui-icon svg {
  width: 18px;
  height: 18px;
}

.delivery-panel__meta div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.delivery-panel__meta .ui-icon {
  width: 40px;
  height: 40px;
  margin-top: 2px;
}

.delivery-panel__meta .ui-icon svg {
  width: 20px;
  height: 20px;
}

.delivery-panel__meta__text strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.delivery-panel__meta__text span {
  color: var(--text-muted);
}

.delivery-panel__meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-top: 8px;
}

.delivery-panel__meta > div {
  padding: 18px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), 0.08);
}

.country-cta {
  margin-top: 34px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.17), rgba(255, 255, 255, 0.9));
  text-align: center;
  box-shadow: var(--shadow);
}

.country-cta.documents-cta,
.country-cta.about-cta {
  margin-top: 28px;
}

.country-cta p {
  max-width: 720px;
  margin: 0 auto 22px;
}

@media (max-width: 900px) {
  .country-hero__grid,
  .delivery-panel {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row p {
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .country-stats {
    grid-template-columns: 1fr;
  }

  .delivery-panel__meta {
    grid-template-columns: 1fr;
  }
}

.prose {
  max-width: 720px;
}

.prose > * {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.prose h2,
.prose h3 {
  color: var(--text);
  margin-top: 2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

/* Горизонтальный скролл «популярные марки» */
.brands-scroll-wrap {
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.brands-scroll {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 600;
}

.brands-scroll a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-page);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.brands-scroll-wrap {
  scrollbar-width: thin;
}

.brands-scroll a:hover,
.brands-scroll a.is-active {
  border-color: var(--accent);
  color: var(--accent-hover);
  background: rgba(var(--accent-rgb), 0.1);
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.filters-grid label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-muted);
}

.filters-grid select {
  width: 100%;
  padding: 11px 36px 11px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background-color: var(--bg-card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  appearance: none;
}

/* FAQ аккордеон */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.accordion details {
  border-bottom: 1px solid var(--border);
}

.accordion details:last-child {
  border-bottom: none;
}

.accordion summary {
  cursor: pointer;
  padding: 19px 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.2s, color 0.2s;
}

.accordion summary:hover {
  background: var(--bg-page);
  color: var(--accent-hover);
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: rgba(var(--accent-rgb), 0.14);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--accent-hover);
  font-weight: 700;
}

.accordion details[open] summary::after {
  content: "\2013";
}

.accordion details[open] summary {
  color: var(--accent-hover);
}

.accordion .accordion__body {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.accordion .accordion__body p {
  margin: 0 0 10px;
}

.accordion .accordion__body p:last-child {
  margin-bottom: 0;
}

.accordion .accordion__body ul {
  margin: 0 0 10px;
  padding-left: 1.2rem;
}

.accordion .accordion__body a {
  color: var(--accent-hover);
  font-weight: 700;
}

/* Таблицы */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.table-simple {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table-simple th,
.table-simple td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.table-simple tbody tr:nth-child(even) {
  background: var(--bg-page);
}

.table-simple tbody tr:hover {
  background: rgba(var(--accent-rgb), 0.06);
}

.table-simple th {
  background: var(--bg-soft);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

.table-simple tr:last-child td {
  border-bottom: none;
}

/* Product gallery */
.product-gallery {
  min-width: 0;
}

.product-gallery__main-wrap {
  position: relative;
}

.product-gallery__main-wrap .car-badge {
  z-index: 3;
  pointer-events: none;
}

.product-gallery__main {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.product-gallery__main:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.product-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 8px 24px rgba(var(--ink-rgb), 0.14);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}

.product-gallery__nav:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
  background: #fff;
}

.product-gallery__nav--prev {
  left: 12px;
}

.product-gallery__nav--next {
  right: 12px;
}

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

.product-gallery-slider {
  position: relative;
  margin-top: 10px;
}

.product-gallery-swiper {
  overflow: hidden;
}

.product-gallery-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.product-gallery-swiper:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 calc(33.333% - 6px);
  scroll-snap-align: start;
}

@media (min-width: 480px) {
  .product-gallery-swiper:not(.swiper-initialized) .swiper-slide {
    flex-basis: calc(25% - 6px);
  }
}

@media (min-width: 640px) {
  .product-gallery-swiper:not(.swiper-initialized) .swiper-slide {
    flex-basis: calc(20% - 7px);
  }
}

.product-gallery-swiper .swiper-slide {
  height: auto;
}

.product-gallery-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.product-gallery-slider__btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.product-gallery-slider__btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.product-gallery-slider__btn:disabled,
.product-gallery-slider__btn.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.product-gallery-slider__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 80px;
}

.product-gallery-slider__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.35);
  opacity: 1;
  transition: transform 0.2s, background 0.2s;
}

.product-gallery-slider__pagination .swiper-pagination-bullet-active {
  transform: scale(1.2);
  background: var(--accent);
}

.product-gallery__thumb {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}

.product-gallery__thumb:hover,
.product-gallery__thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
}

.product-gallery__thumb:hover {
  transform: translateY(-1px);
}

.product-gallery__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(10, 15, 21, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox__img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 110px);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  object-fit: contain;
}

.gallery-lightbox__btn {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.gallery-lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.gallery-lightbox__close {
  top: 22px;
  right: 22px;
}

.gallery-lightbox__prev {
  left: 22px;
}

.gallery-lightbox__next {
  right: 22px;
}

.gallery-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .product-gallery__nav {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }

  .product-gallery__nav--prev {
    left: 8px;
  }

  .product-gallery__nav--next {
    right: 8px;
  }

  .gallery-lightbox {
    padding: 18px;
  }

  .gallery-lightbox__btn {
    width: 40px;
    height: 40px;
  }
}

.product-summary {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 220px at 100% 0, rgba(var(--accent-rgb), 0.2), transparent 62%),
    var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.product-summary h2 {
  margin-bottom: 20px;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.product-specs div {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-page);
}

.product-specs span,
.product-price span {
  display: block;
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-specs strong {
  color: var(--text);
}

.product-price {
  margin-top: 20px;
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.06));
  border: 1px solid var(--accent-line);
}

.product-price strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.product-price p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.product-summary__note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.product-summary__actions {
  flex-direction: column;
  margin-top: 22px;
}

.product-summary__actions .btn {
  width: 100%;
}

.product-interest {
  padding: clamp(28px, 4vw, 44px) 0;
}

.product-interest h2 {
  margin-bottom: 10px;
}

.product-interest .prose {
  margin-bottom: 0;
}

.inspection-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 28px;
  margin-top: 26px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #fff 0%, var(--bg-page) 100%);
  box-shadow: var(--shadow);
}

.inspection-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.inspection-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.inspection-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  color: #12683a;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
}

.inspection-item__icon.ui-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid var(--accent-line);
  background: linear-gradient(140deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.06));
  color: var(--accent-hover);
  font-weight: 400;
}

.inspection-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.inspection-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.inspection-item--wide {
  grid-column: 1 / -1;
  border-bottom: none;
}

@media (max-width: 520px) {
  .product-specs {
    grid-template-columns: 1fr;
  }

  .inspection-list {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .inspection-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .inspection-item:last-child {
    border-bottom: none;
  }
}

/* Документы: превью */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.doc-thumb {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-page);
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.doc-thumb:hover {
  box-shadow: var(--shadow);
}

.doc-thumb img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.doc-thumb figcaption {
  padding: 10px;
  font-size: 0.85rem;
  text-align: center;
  color: var(--text-muted);
}

/* Карта-заглушка */
.map-placeholder {
  height: 320px;
  background:
    repeating-linear-gradient(0deg, rgba(var(--ink-rgb), 0.045) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(var(--ink-rgb), 0.045) 0 1px, transparent 1px 40px),
    var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contacts page */
.contacts-hero {
  text-align: center;
}

.contacts-hero .subtitle {
  margin-inline: auto;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.contact-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 11px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent-hover);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-card a,
.contact-card strong {
  display: block;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.contact-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-card__links a {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.95rem;
}

.contact-card p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contacts-map {
  margin-top: 16px;
}

.contacts-map__canvas {
  width: 100%;
  height: 320px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-page);
}

.contacts-form {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.contacts-form .btn {
  width: 100%;
}

@media (max-width: 1024px) {
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .contacts-form {
    position: static;
  }
}

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

/* Квиз */
.quiz {
  max-width: 520px;
  margin-inline: auto;
}

.quiz__progress {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.quiz__bar {
  height: 8px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}

.quiz__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-hover), var(--accent));
  border-radius: 999px;
  transition: width 0.35s ease;
}

.quiz__step {
  display: none;
}

.quiz__step.is-active {
  display: block;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.quiz-option {
  display: block;
  width: 100%;
  padding: 15px 18px;
  text-align: left;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg-card);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.quiz-option:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.quiz-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.stat-pill {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.stat-pill span {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 6px;
}

.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
}

.sitemap-list a {
  font-weight: 700;
  color: var(--accent-hover);
}

.sitemap-list a:hover {
  text-decoration: underline;
}

.sitemap-list code {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-page);
  padding: 2px 8px;
  border-radius: 4px;
}

@media (max-width: 768px) {
    .car-top-block{
      display: flex;
        flex-direction: column;
    }
    
    .car-top-block .product-summary{
        width: 100%;
    }
    
    .car-top-block .product-gallery{
      width: 100%;
    }
}

/* Leasing calculator */
.leasing-calc-section {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.leasing-calc {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}

.leasing-calc__form,
.leasing-calc__result {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.leasing-calc__form {
  padding: 28px;
}

.leasing-car-note {
  margin: 0 0 18px;
  padding: 13px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.leasing-calc__result {
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background:
    linear-gradient(160deg, rgba(var(--accent-rgb), 0.18), rgba(255, 255, 255, 0.96) 42%),
    var(--bg-card);
  border-color: var(--accent-line);
}

.leasing-calc__result h3 {
  margin-bottom: 20px;
}

.leasing-field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.leasing-field-head label {
  margin-bottom: 0;
}

.leasing-field-head strong {
  color: var(--accent-hover);
  font-size: 0.95rem;
  white-space: nowrap;
}

.leasing-calc input[type="range"] {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.35), rgba(var(--accent-rgb), 0.12));
  outline: none;
  margin: 8px 0 6px;
  cursor: pointer;
}

.leasing-calc input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(var(--ink-rgb), 0.2);
}

.leasing-calc input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(var(--ink-rgb), 0.2);
}

.leasing-range-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.leasing-subsidy__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg-card);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.leasing-subsidy__option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.14);
}

.leasing-subsidy__option input {
  accent-color: var(--accent);
}

.leasing-result__hero {
  display: grid;
  gap: 6px;
  padding: 20px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--accent-line);
}

.leasing-result__hero span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.leasing-result__hero strong {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.leasing-result__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.leasing-result__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.2);
}

.leasing-result__list span {
  color: var(--text-muted);
}

.leasing-result__list strong {
  text-align: right;
  white-space: nowrap;
}

.leasing-calc__result .btn {
  width: 100%;
}

.leasing-result__note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .leasing-calc {
    grid-template-columns: 1fr;
  }

  .leasing-calc__result {
    position: static;
  }
}

@media (max-width: 560px) {
  .leasing-subsidy {
    grid-template-columns: 1fr;
  }

  .leasing-calc__form,
  .leasing-calc__result {
    padding: 20px;
  }
}

/* Сетки: содержимое не растягивает колонку и не выезжает за карточку */
.cards-grid > *,
.steps > *,
.cost-cards > *,
.country-benefits > *,
.power-benefits > *,
.guarantee-cards > *,
.guarantee-list > *,
.about-stats > *,
.client-reviews__grid > *,
.contacts-grid > *,
.credit-grid > *,
.doc-grid > *,
.stat-grid > *,
.filters-grid > *,
.page-hero__highlights > *,
.reviews-summary > *,
.split-2 > * {
  min-width: 0;
}

@media (max-width: 420px) {
  .car-specs {
    gap: 6px 8px;
  }

  .car-specs__item {
    max-width: 100%;
  }

  .car-specs__value {
    white-space: normal;
  }

  .phone-link {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

/* В шаблонах сетки каталога заданы инлайном minmax(300px, 1fr) — на очень узких
   экранах это растягивает карточку шире контейнера. Подстраховываемся. */
@media (max-width: 343px) {
  .cards-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   Современный слой: доступность, читаемость, микроанимации
   ============================================================ */

::selection {
  background: rgba(var(--accent-rgb), 0.3);
  color: var(--text);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4, p, li, td, th, figcaption, a {
  overflow-wrap: break-word;
}

.prose a,
.article-content a,
.accordion__body a,
.guarantee-docs li a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(var(--accent-rgb), 0.55);
}

.prose a:hover,
.article-content a:hover,
.accordion__body a:hover {
  text-decoration-color: var(--accent-hover);
}

.banner-160 h3,
.banner-160 p {
  position: relative;
}

.car-card__price,
.product-price strong,
.leasing-result__hero strong,
.about-stats strong,
.reviews-rating strong,
.reviews-count strong,
.stat-pill,
.country-stats strong,
.credit-example li {
  font-variant-numeric: tabular-nums;
}

html {
  scrollbar-color: #c3ccd6 var(--bg-page);
}

::-webkit-scrollbar {
  width: 12px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-page);
}

::-webkit-scrollbar-thumb {
  background: #c3ccd6;
  border: 3px solid var(--bg-page);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

.brands-scroll-wrap::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar,
.product-gallery-swiper::-webkit-scrollbar {
  height: 8px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .car-card:hover,
  .card:hover,
  .segment-card:hover,
  .step-card:hover,
  .cost-card:hover,
  .savings-card:hover,
  .hero-bullet:hover,
  .brand-tile:hover,
  .document-card:hover,
  .team-card:hover,
  .contact-card:hover,
  .client-review-card:hover,
  .related-blog__card:hover {
    transform: none;
  }
}

@media (max-width: 520px) {
  .product-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .product-specs div {
    padding: 11px 12px;
  }

  .product-specs span {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
  }
}

/* --- фиксы узких мест (QA 320-960) --- */
.client-review-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 12px;
}

.client-review-card__avatar {
  flex: 0 0 auto;
}

.client-review-card__meta {
  flex: 1 1 140px;
  min-width: 0;
}

.client-review-card__meta strong {
  overflow-wrap: anywhere;
}

.client-review-card__platform {
  flex: 0 1 auto;
}

.leasing-calc > *,
.delivery-panel > * {
  min-width: 0;
}

@media (max-width: 560px) {
  .leasing-calc__form,
  .leasing-calc__result {
    padding: 20px 18px;
  }

  .leasing-field-head {
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .leasing-field-head strong {
    white-space: normal;
  }
}

@media (max-width: 400px) {
  .delivery-panel {
    padding: 20px 16px;
  }

  .delivery-panel__meta div {
    gap: 10px;
  }
}

/* --- юридические страницы: ширина строки и ритм текста --- */
.page-main .section > .container > p,
.page-main .section > .container > ul,
.page-main .section > .container > ol,
.page-main .section > .container > h2,
.page-main .section > .container > h3 {
  max-width: 76ch;
}

.page-main .section > .container > p {
  margin: 0 0 1.05em;
  line-height: 1.7;
}

.page-main .section > .container > ul,
.page-main .section > .container > ol {
  margin: 0 0 1.2em;
  padding-left: 1.3rem;
}

.page-main .section > .container > ul li,
.page-main .section > .container > ol li {
  margin-bottom: 8px;
}

.page-main .section > .container > ul li::marker {
  color: var(--accent-hover);
}

@media (max-width: 400px) {
  .leasing-result__list li {
    gap: 10px;
  }

  .leasing-result__list span {
    min-width: 0;
  }

  .leasing-result__list strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* --- выдача поиска --- */
.search-results .container > article {
  padding: 0 0 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

.search-results .container > article:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.search-results h1 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.search-results h1 a {
  color: var(--text);
  transition: color 0.2s;
}

.search-results h1 a:hover {
  color: var(--accent-hover);
}

.search-results article > p {
  max-width: 76ch;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.search-results article > p a {
  color: var(--accent-hover);
  font-weight: 600;
}

@media (max-width: 400px) {
  .delivery-panel__meta > div {
    padding: 14px;
    gap: 10px;
  }

  .delivery-panel__meta .ui-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
  }

  .delivery-panel__meta .ui-icon svg {
    width: 18px;
    height: 18px;
  }

  .delivery-panel__meta__text {
    min-width: 0;
  }

  .delivery-panel__meta__text strong,
  .delivery-panel__meta__text span {
    overflow-wrap: anywhere;
  }
}

.delivery-panel__list span.ui-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.06));
  color: var(--accent-hover);
  font-weight: 400;
}
