/* ============================================================
   [AI-AGENT] Такси Стар — стили сайта
   ============================================================ */
:root {
  --yellow: #ffc20e;
  --yellow-dark: #e6a800;
  --black: #16181d;
  --dark: #22252c;
  --gray-900: #2b2f38;
  --gray-600: #69707d;
  --gray-200: #e7e9ee;
  --gray-100: #f4f5f8;
  --bg: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(22, 24, 29, .08);
  --container: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-900);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
h1, h2, h3 { line-height: 1.25; color: var(--black); }
h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 32px); margin: 0 0 16px; }
h3 { font-size: 19px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: .15s ease; font-size: 15px; text-align: center;
}
.btn-primary { background: var(--yellow); color: var(--black); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-outline { border-color: var(--gray-900); color: var(--gray-900); background: transparent; }
.btn-outline:hover { background: var(--gray-900); color: #fff; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--dark); }
/* [AI-AGENT] Патч 3 (п.2): мягкая вторичная кнопка вместо тяжёлого контура */
.btn-soft { background: var(--gray-100); border-color: var(--gray-200); color: var(--gray-900); }
.btn-soft:hover { background: var(--gray-200); border-color: var(--gray-200); color: var(--black); }
.btn:focus-visible { outline: 3px solid rgba(255, 194, 14, .55); outline-offset: 2px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-xl { padding: 18px 44px; font-size: 19px; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--black); color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner { display: flex; align-items: center; gap: 22px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; flex-wrap: wrap; }
.logo-icon { font-size: 26px; }
.logo-text { font-weight: 800; font-size: 20px; color: var(--yellow); }
.logo-sub { font-size: 11px; color: #9aa0ab; width: 100%; margin-left: 36px; margin-top: -6px; }
.main-nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.main-nav a { color: #dfe2e8; text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--yellow); border-bottom-color: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 3px; background: #fff; margin: 4px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 60%, #3a3f4b 100%); color: #fff; padding: 70px 0 60px; }
.hero h1 { color: #fff; max-width: 720px; margin: 10px 0 18px; }
.hero-kicker { color: var(--yellow); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin: 0; }
.hero-lead { color: #c7ccd6; font-size: 18px; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 18px; }
.hero .btn-outline { border-color: #fff; color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--black); }
.hero-features { list-style: none; display: flex; gap: 10px; padding: 0; margin: 8px 0 0; flex-wrap: wrap; }
.hero-features li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 5px 12px; border-radius: 999px; font-size: 13px; color: #e8eaf0; }
.hero-price { font-size: 20px; color: var(--yellow); font-weight: 800; }

.page-hero { background: linear-gradient(135deg, var(--black), var(--gray-900)); color: #fff; padding: 46px 0; }
.page-hero h1 { color: #fff; margin: 0 0 10px; }
.page-hero p { color: #c7ccd6; max-width: 760px; margin: 0 0 14px; }

/* ---------- Секции ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--gray-100); }
.section-lead { color: var(--gray-600); margin: -8px 0 26px; }
.section-more { text-align: center; margin-top: 28px; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Плитки ---------- */
.tile {
  display: block; background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 22px; text-decoration: none;
  transition: .15s ease; box-shadow: var(--shadow);
}
.tile:hover { transform: translateY(-3px); border-color: var(--yellow); }
.tile h3 { margin: 6px 0 8px; }
.tile p { color: var(--gray-600); font-size: 14.5px; margin: 0 0 10px; }
.tile-price { color: var(--yellow-dark); font-weight: 800; font-size: 17px; margin-bottom: 8px; }
.tile-icon { font-size: 30px; }
.tile-link { color: var(--black); font-weight: 700; font-size: 14px; }
.tile-404 { text-align: center; }

/* ---------- Карточка машины ---------- */
.car-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: .15s; }
.car-card:hover { transform: translateY(-3px); border-color: var(--yellow); }
.car-card-media { display: block; aspect-ratio: 4/3; background: var(--gray-100); overflow: hidden; }
.car-card-media img { width: 100%; height: 100%; object-fit: cover; }
.car-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 54px; }
.car-placeholder-lg { font-size: 110px; aspect-ratio: 4/3; background: var(--gray-100); border-radius: var(--radius); }
.car-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.car-card-classes { display: flex; gap: 6px; flex-wrap: wrap; }
.car-card-title { margin: 0; font-size: 17px; }
.car-card-title a { text-decoration: none; }
.car-card-title a:hover { color: var(--yellow-dark); }
.car-card-price { font-weight: 800; font-size: 18px; color: var(--black); }
.car-card-badges { display: flex; gap: 6px; flex-wrap: wrap; }
/* [AI-AGENT] Патч 3 (п.2): кнопки карточки — столбиком, во всю ширину, одной высоты,
   без переносов текста; отделены от бейжей линией. Крупная зона клифа = удобно с телефона. */
.car-card-actions { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--gray-200); display: grid; gap: 8px; }
.car-card-actions .btn { width: 100%; }
.btn-card { padding: 11px 12px; font-size: 14px; line-height: 1.2; white-space: nowrap; border-radius: 12px; }
.btn-card:active { transform: translateY(1px); }
.car-card-actions .btn-primary { box-shadow: 0 4px 14px rgba(255, 194, 14, .35); }
.car-card-actions .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(230, 168, 0, .45); }
.car-card-actions .btn-soft:hover { transform: translateY(-1px); }
.tag { display: inline-block; background: var(--gray-100); border: 1px solid var(--gray-200); color: var(--gray-600); font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; text-decoration: none; }
.badge { display: inline-block; background: #fff8e1; border: 1px solid #ffe08a; color: #8a6d00; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }

/* ---------- Фильтры ---------- */
.filters { margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.filter-group { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filter-label { font-weight: 700; color: var(--gray-600); font-size: 14px; }
.chip { background: #fff; border: 1px solid var(--gray-200); color: var(--gray-900); padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; transition: .12s; }
.chip:hover { border-color: var(--yellow); }
.chip.active { background: var(--black); color: var(--yellow); border-color: var(--black); }
.filters-empty { color: var(--gray-600); padding: 24px; text-align: center; background: var(--gray-100); border-radius: var(--radius); }

/* ---------- Страница машины ---------- */
.car-page-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.car-gallery-main img, .car-gallery-main .car-placeholder-lg { border-radius: var(--radius); width: 100%; }
.car-gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.car-gallery-thumbs img { width: 92px; height: 69px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.car-gallery-thumbs img:hover, .car-gallery-thumbs img.active { border-color: var(--yellow); }
.car-price-lg { font-size: 28px; font-weight: 800; color: var(--black); margin: 8px 0 14px; }
.spec-list { list-style: none; padding: 0; margin: 0 0 14px; }
.spec-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--gray-200); }
.spec-list span { color: var(--gray-600); }
.car-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.car-cta .btn { flex: 1; }
.car-description { margin-top: 44px; }

/* ---------- Калькуляторы ---------- */
.calc { background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 18px; margin: 14px 0; }
.calc label { display: block; font-weight: 600; margin-bottom: 12px; font-size: 14px; }
.calc output { color: var(--yellow-dark); font-weight: 800; }
.calc input[type=range] { width: 100%; margin-top: 6px; accent-color: var(--yellow-dark); }
.calc-result { font-size: 16px; }
.rent-calc { margin-top: 4px; }
.disclaimer { color: var(--gray-600); font-size: 12.5px; }

/* ---------- Промо-карточки ---------- */
.promo-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.promo-card h2, .promo-card h3 { margin-top: 0; }
.promo-card-accent { border-left: 5px solid var(--yellow); }
.check-list { list-style: none; padding: 0; margin: 12px 0; }
.check-list li { padding: 5px 0 5px 30px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 4px; color: var(--yellow-dark); font-weight: 800; }

/* ---------- Шаги, FAQ ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; }
.steps li { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; font-weight: 600; box-shadow: var(--shadow); }
.steps li span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--yellow); color: var(--black); font-weight: 800; border-radius: 50%; margin-bottom: 12px; font-size: 18px; }
.faq details { background: #fff; border: 1px solid var(--gray-200); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { color: var(--gray-600); margin: 10px 0 0; }

/* ---------- Гео ---------- */
.geo-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 26px; }
.geo-links a { background: #fff; border: 1px solid var(--gray-200); padding: 7px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; transition: .12s; }
.geo-links a:hover { border-color: var(--yellow); background: #fffbea; }
.geo-image { border-radius: var(--radius); margin-bottom: 22px; }

/* ---------- Блог ---------- */
.blog-tile img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 12px; }
.blog-tile-meta { color: var(--gray-600); font-size: 13px; margin-bottom: 6px; }
.post-header { margin-bottom: 24px; }
.post-cats { margin-bottom: 10px; display: flex; gap: 6px; }
.post-meta { color: var(--gray-600); font-size: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.post-image { border-radius: var(--radius); margin-bottom: 26px; }
.post-cta { background: var(--gray-100); border-left: 5px solid var(--yellow); border-radius: var(--radius); padding: 24px; margin-top: 34px; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- Текстовый контент (prose) ---------- */
.prose h2 { margin-top: 34px; }
.prose h3 { margin-top: 26px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* ---------- CTA финальный ---------- */
.cta-final { background: linear-gradient(135deg, var(--black), var(--gray-900)); color: #fff; padding: 56px 0; text-align: center; }
.cta-final h2 { color: #fff; }
.cta-final p { color: #c7ccd6; max-width: 560px; margin: 0 auto 22px; }
.cta-final .cta-buttons { justify-content: center; }
.cta-final .btn-outline { border-color: #fff; color: #fff; }
.cta-final .btn-outline:hover { background: #fff; color: var(--black); }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs { background: var(--gray-100); border-bottom: 1px solid var(--gray-200); font-size: 13.5px; padding: 10px 0; }
.breadcrumbs a { color: var(--gray-600); text-decoration: none; }
.breadcrumbs a:hover { color: var(--black); }
.breadcrumbs .sep { margin: 0 8px; color: var(--gray-200); }
.breadcrumbs .current { color: var(--gray-900); font-weight: 600; }

/* ---------- Related ---------- */
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.related-card { display: block; background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 16px 18px; text-decoration: none; transition: .12s; box-shadow: var(--shadow); }
.related-card:hover { border-color: var(--yellow); transform: translateY(-2px); }
.related-card strong { display: block; margin-bottom: 4px; }
.related-card span { color: var(--gray-600); font-size: 13.5px; }

/* ---------- 404 ---------- */
.error-hero { text-align: center; padding: 70px 0 50px; }
.error-code { font-size: 110px; font-weight: 900; color: var(--yellow); line-height: 1; }
.error-hero h1 { color: #fff; }

/* ---------- Футер ---------- */
.site-footer { background: var(--black); color: #aeb4bf; padding: 48px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 30px; padding-bottom: 34px; }
.footer-logo { color: var(--yellow); font-weight: 800; font-size: 19px; margin-bottom: 10px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: #aeb4bf; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-geo { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 20px 90px; }
.footer-disclaimer { font-size: 12px; color: #7d838f; max-width: 860px; }

/* ---------- Sticky CTA (мобильный) ---------- */
.sticky-cta { display: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .car-page-top { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--black); flex-direction: column; padding: 14px 20px; gap: 4px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; }
  .burger { display: block; }
  .header-phone { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sticky-cta {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(22,24,29,.96); padding: 10px 14px; backdrop-filter: blur(6px);
  }
  .sticky-cta .btn { flex: 1; }
  .footer-bottom { padding-bottom: 84px; }
}

/* ============================================================
   [AI-AGENT] Патч 2: аккордеон SEO-текста, калькулятор дохода,
   trust-полоса, FAQ-секции
   ============================================================ */

/* ---------- Trust-полоса (реальные цифры из БД) ---------- */
.trustbar { background: var(--yellow); color: var(--black); padding: 14px 0; }
.trustbar-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.trust-item { text-align: center; flex: 1; min-width: 130px; }
.trust-item b { display: block; font-size: 24px; font-weight: 900; line-height: 1.1; }
.trust-item span { font-size: 12.5px; font-weight: 600; color: #4a3c00; }

/* ---------- SEO-аккордеон ---------- */
.seo-accordion { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.seo-accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; cursor: pointer; font-weight: 700; color: var(--gray-900);
  list-style: none; user-select: none;
}
.seo-accordion summary::-webkit-details-marker { display: none; }
.seo-accordion summary:hover { background: #fffbea; }
.seo-accordion-icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.seo-accordion-icon::before, .seo-accordion-icon::after {
  content: ""; position: absolute; background: var(--yellow-dark); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%, -50%); transition: .2s;
}
.seo-accordion-icon::before { width: 16px; height: 3px; }
.seo-accordion-icon::after  { width: 3px; height: 16px; }
.seo-accordion[open] .seo-accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.seo-accordion-body { padding: 6px 20px 20px; border-top: 1px dashed var(--gray-200); color: var(--gray-900); }
.seo-accordion-title { font-size: 16.5px; }

/* ---------- Калькулятор дохода водителя ---------- */
.salary-section { background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 70%); color: #fff; }
.salary-section h2 { color: #fff; }
.salary-section .section-lead { color: #c7ccd6; }
.salary-calc { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; margin-top: 26px; }
.sc-controls { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.sc-group { display: flex; flex-direction: column; gap: 8px; }
.sc-label { font-weight: 700; font-size: 14px; color: #e8eaf0; }
.sc-label output { color: var(--yellow); font-weight: 800; }
.sc-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.sc-buttons button {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff;
  padding: 9px 18px; border-radius: 9px; font-weight: 700; font-size: 15px; cursor: pointer; transition: .12s;
}
.sc-buttons button:hover { border-color: var(--yellow); }
.sc-buttons button.active { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.salary-calc input[type=range] { width: 100%; accent-color: var(--yellow); }
.sc-result { background: #fff; color: var(--gray-900); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.sc-net { background: linear-gradient(135deg, var(--yellow), #ffd75e); border-radius: 12px; padding: 18px 20px; color: var(--black); text-align: center; }
.sc-net span { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.sc-net b { display: block; font-size: clamp(30px, 4vw, 42px); font-weight: 900; line-height: 1.15; }
.sc-net small { color: #4a3c00; font-weight: 700; }
.sc-breakdown { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.sc-breakdown li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--gray-200); }
.sc-breakdown b { font-weight: 800; white-space: nowrap; }
.sc-breakdown b.minus { color: var(--gray-600); }
.sc-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.sc-cta .btn { flex: 1; }
.sc-result .disclaimer { margin: 0; }

@media (max-width: 900px) {
  .salary-calc { grid-template-columns: 1fr; }
  .trust-item b { font-size: 19px; }
}

/* ============================================================
   [AI-AGENT] Патч 3: соцдоказательство (отзывы-марки) между
   контентом страницы и финальным CTA + кнопки карточек
   ============================================================ */

/* ---------- Отзывы водителей: бегущая лента ---------- */
.social-proof { background: var(--bg); padding: 62px 0 54px; overflow: hidden; }
.social-proof-head { text-align: center; margin-bottom: 8px; }
.social-proof-head h2 { display: inline-block; margin: 0 0 14px; }
.social-proof-head h2::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 2px;
  background: var(--yellow); margin: 12px auto 0;
}
.social-proof-head .section-lead { margin: 0 auto 22px; max-width: 640px; }
.reviews-marquee {
  overflow: hidden; padding: 6px 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.reviews-track { display: flex; width: max-content; animation: reviews-scroll 56s linear infinite; }
.reviews-marquee:hover .reviews-track,
.reviews-marquee:focus-within .reviews-track { animation-play-state: paused; }
.reviews-group { display: flex; gap: 16px; padding-right: 16px; }
@keyframes reviews-scroll { to { transform: translateX(-50%); } }
.review-card {
  flex: 0 0 340px; background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 10px; text-align: left;
}
.review-head { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: var(--black); font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.review-name { font-weight: 700; color: var(--black); font-size: 15px; line-height: 1.3; }
.review-meta { color: var(--gray-600); font-size: 12.5px; }
.review-stars { color: var(--yellow-dark); letter-spacing: 2px; font-size: 14px; line-height: 1; }
.review-text { margin: 0; color: var(--gray-900); font-size: 14.5px; line-height: 1.55; }

/* ---------- Мини-цифры под отзывами ---------- */
.social-proof-stats { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sp-stat {
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 14px 16px; text-align: center;
}
.sp-stat b { display: block; font-size: 22px; font-weight: 900; color: var(--black); line-height: 1.15; }
.sp-stat b em { font-style: normal; color: var(--yellow-dark); }
.sp-stat span { color: var(--gray-600); font-size: 13px; }

@media (max-width: 900px) {
  .review-card { flex-basis: 290px; }
  .social-proof-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
  .reviews-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
