/* =========================
   Base
========================= */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #eee;

  /* Тёмный фон + лёгкая текстура */
  background-color: #0c0e0c;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.02) 1px, transparent 0);
  background-size: 4px 4px;
}

/* =========================
   Header (Top: logos + title) + Nav
========================= */
.header {
  background: #111;
  border-bottom: 1px solid #222;
}

/* Верхняя полоса шапки */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 40px;
}

/* Контейнеры логотипов (делаем одинаковую "рамку") */
.header-logo {
  width: 200px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Центральный текст */
.header-title {
  text-align: center;
  color: #eee;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  max-width: 700px;
}

/* Навигация */
.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 12px 12px;
  background: #0c0c0c;
  border-top: 1px solid #181818;
}

.nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 10px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover {
  color: #6b8e23;
}

.nav a.active {
  font-weight: bold;
  color: #6b8e23;
  border-bottom: 2px solid #6b8e23;
}

/* =========================
   Hero (главная)
========================= */
.hero {
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  margin: 0 0 20px;
}

.subtitle {
  font-size: 18px;
  color: #aaa;
  margin: 0 0 20px;
}

.description {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 30px;
  color: #ddd;
}

/* Buttons */
.buttons {
  text-align: center;
}

.buttons .btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #6b8e23;
  color: #000;
  text-decoration: none;
  margin: 6px 10px;
  border-radius: 10px;
  border: 1px solid #6b8e23;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.55);
  background: #7aa12a;
}

.btn-secondary {
  background-color: #111;
  color: #ddd;
  border: 1px solid #333;
}

.btn-secondary:hover {
  background: #0f0f0f;
}

/* =========================
   Footer
========================= */
.footer {
  padding: 20px 40px;
  background-color: #1a1a1a;
  font-size: 14px;
  color: #777;
  text-align: center;
}

/* =========================
   Content pages
========================= */
.content {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.content h1 {
  font-size: 36px;
  margin: 0 0 30px;
}

.content h2 {
  font-size: 26px;
  margin: 50px 0 20px;
  color: #6b8e23;
}

.content p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 20px;
  color: #ddd;
}

/* =========================
   Country / Vehicles list
========================= */
.country-block {
  width: 100%;
  margin: 0 auto 60px;
}

.country-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  text-align: center;
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: bold;

  border-bottom: 1px solid rgba(107,142,35,0.3);
  padding-bottom: 10px;
}

.country-title img {
  width: 40px;
  height: auto;
  border-radius: 3px;
}

/* Адаптивная сетка карточек */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(4, 260px); /* ВСЕГДА 4 карточки */
  gap: 30px;

  justify-content: center;   /* центрируем сетку */
  justify-items: center;

  width: 100%;
  margin: 30px auto 0;
}


/* Унифицированная карточка (как ссылка <a class="vehicle-card">...) */
.vehicle-card {
  display: block;
  text-decoration: none;
  color: #fff;

  border: 1px solid #2a2e2a;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;

  background: linear-gradient(180deg, #131613 0%, #0f110f 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.vehicle-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: #6b8e23;
  box-shadow:
    0 12px 30px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(107,142,35,0.15);
}

.vehicle-card img {
  width: 100%;
  display: block;
  transition: transform 0.35s ease;
}

.vehicle-card:hover img {
  transform: scale(1.06);
}

.vehicle-card h3 {
  margin: 12px 14px 6px;
}

.vehicle-card p {
  margin: 0 14px 12px;
  font-size: 14px;
  opacity: 0.85;
}

/* Статусы */
.status {
  display: inline-block;
  margin: 0 14px 14px;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 6px;
  border: 1px solid #333;
}

.status.active {
  background: rgba(107,142,35,0.15);
  border: 1px solid rgba(107,142,35,0.4);
  color: #b8d36b;
}

.status.restoration {
  background: rgba(196,138,44,0.15);
  border: 1px solid rgba(196,138,44,0.45);
  color: #e6c27a;
}

.status.inactive {
  background: rgba(85,85,85,0.15);
  border: 1px solid rgba(85,85,85,0.45);
  color: #bbb;
}

/* =========================
   Vehicle page (галерея + таблица)
========================= */
.vehicle-gallery {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.vehicle-gallery img {
  width: 30%;
  min-width: 220px;
  border-radius: 8px;
}

.vehicle-specs {
  width: 100%;
  border-collapse: collapse;
  margin: 25px auto;
}

.vehicle-specs th,
.vehicle-specs td {
  border: 1px solid #444;
  padding: 8px 12px;
}

.vehicle-specs th {
  background-color: #2a2a2a;
}

/* Back button */
.back-to-vehicles {
  margin: 30px 0;
  text-align: left;
}

.back-to-vehicles a {
  display: inline-block;
  padding: 8px 14px;
  background: #111;
  border: 1px solid #333;
  border-radius: 10px;
  color: #6b8e23;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.back-to-vehicles a:hover {
  background: #6b8e23;
  color: #000;
  transform: translateY(-2px);
}

/* =========================
   Contacts
========================= */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.contact-card h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.contact-card a {
  color: #6b8e23;
  text-decoration: none;
  font-weight: bold;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* =========================
   Team
========================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.team-card img {
  width: 100%;
  max-width: 180px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.team-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #fff;
}

.team-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #ccc;
}

/* =========================
   Calendar (Events page)
========================= */
.calendar-wrap {
  margin-top: 35px;
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

.calendar-embed {
  filter: invert(1) hue-rotate(180deg);
}

/* =========================
   Services page
========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.service-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  border-color: #6b8e23;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
}

.service-card h2 {
  font-size: 18px;
  margin: 0 0 10px;
  text-align: center;
}

.service-card p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* CTA */
.cta-row {
  margin: 35px 0 10px;
  text-align: center;
}

.cta-button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  background: #6b8e23;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #6b8e23;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.55);
  background: #7aa12a;
}

.cta-note {
  margin-top: 12px;
  color: #aaa;
  font-size: 14px;
}

/* Price tables */
.price-table-wrap {
  margin: 18px auto 30px;
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #222;
  text-align: left;
}

.price-table th {
  background: #0f0f0f;
  color: #fff;
  font-weight: bold;
}

.price-table td {
  color: #ccc;
}

.price-table tr:hover td {
  background: #0f0f0f;
}

.muted {
  color: #aaa;
  font-size: 14px;
  margin-top: -6px;
}

/* =========================
   Gallery / Events list
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.event-card {
  display: block;
  text-decoration: none;
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.6);
  border-color: #6b8e23;
}

.event-cover{
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.event-cover img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  backface-visibility: hidden;
  transform: translateZ(0);
}


.event-meta {
  padding: 14px 16px;
}

.event-meta h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #fff;
}

.event-date {
  margin: 0;
  color: #aaa;
  font-size: 14px;
}

/* Media inside event */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 18px;
}

/* === Gallery media thumbs (no crop, no grain) === */
.media-item{
  background:#111;
  border:1px solid #333;
  border-radius:12px;
  overflow:hidden;
  margin:0;
}

.media-item img{
  width:100%;
  height: 240px;          /* можешь 220/260/280 */
  object-fit: contain;    /* ВАЖНО: не режем ни портрет, ни пейзаж */
  background: #0b0b0b;    /* поля вокруг картинки */
  display:block;
  cursor: zoom-in;

  /* улучшает качество ресайза в большинстве браузеров */
  image-rendering: auto;
  -ms-interpolation-mode: bicubic; /* старый IE, можно оставить */
  transform: translateZ(0); /* иногда убирает “шум” из-за GPU */
}

/* для портретных будем добавлять класс через JS */
.media-item img.is-portrait{
  object-fit: contain;     /* показываем фото целиком */
  background: #0b0b0b;     /* чтобы были “поля” красиво, а не прозрачность */
}


.media-item figcaption {
  padding: 10px 12px;
  color: #ccc;
  font-size: 14px;
}

/* Video */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.video-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  padding: 12px;
}

.video-card video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.video-caption {
  margin: 10px 2px 0;
  color: #ccc;
  font-size: 14px;
}

.video-embed {
  position: relative;
  padding-top: 56.25%;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* === Lightbox (fixed portrait overflow) === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  width: min(1100px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* КЛЮЧЕВОЕ ИЗМЕНЕНИЕ */
.lightbox-inner img {
  max-width: 100%;
  max-height: 78vh;      /* портретные фото теперь ВСЕГДА влезают */
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  cursor: zoom-out;
}

#lightboxCaption {
  margin: 12px 6px 0;
  color: #ddd;
  font-size: 14px;
  max-height: 12vh;      /* подпись не выдавливает фото */
  overflow-y: auto;
  text-align: center;
}

/* Кнопка закрытия */
.lightbox-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  cursor: pointer;
}

/* Стрелки навигации */
.lightbox-nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #333;
  background: rgba(17,17,17,.85);
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 26px;
  line-height: 1;
}

.lightbox-nav.prev{ left: -10px; }
.lightbox-nav.next{ right: -10px; }

.lightbox-nav:hover{
  border-color: #6b8e23;
}

/* Счетчик */
.lightbox-counter{
  margin: 6px 6px 0;
  color: #aaa;
  font-size: 12px;
  text-align: center;
}

/* =========================
   Vehicles filter bar
========================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 18px 0 10px;
}

.filter-btn {
  background: #111;
  color: #fff;
  border: 1px solid #333;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.55);
  border-color: #6b8e23;
}

.filter-btn.active {
  border-color: #6b8e23;
  box-shadow: 0 10px 22px rgba(0,0,0,.55);
  font-weight: bold;
}

.filter-note {
  text-align: center;
  color: #aaa;
  font-size: 14px;
  margin-bottom: 25px;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    padding: 18px 16px;
  }

  .header-logo {
    width: 140px;
    height: 120px;
  }

  .header-title {
    font-size: 18px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .vehicle-gallery img {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .vehicles-grid {
    grid-template-columns: repeat(3, 260px);
  }
}

@media (max-width: 900px) {
  .vehicles-grid {
    grid-template-columns: repeat(2, 260px);
  }
}

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

/* === Header title image (logonew.png) === */
.header-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;                 /* чтобы элементы не липли */
}

.header-logo{
  width: 200px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;       /* одинаковая “вписанность” логотипов */
}

/* центр */
.header-title{
  flex: 1;                   /* центр занимает всё между логотипами */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* сама картинка названия */
.header-title-img{
  display: block;
  max-width: 740px;          /* примерно твой исходный размер, но адаптивно */
  width: 100%;
  height: auto;
}

/* адаптация под мобилку */
@media (max-width: 768px){
  .header-top{
    padding: 18px 16px;
    gap: 12px;
  }

  .header-logo{
    width: 120px;
    height: 100px;
  }

  .header-title-img{
    max-width: 420px;
  }
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(80%);
    position: relative;
}

.btn-disabled::after {
    content: "скоро";
    position: absolute;
    top: -8px;
    right: -12px;
    font-size: 10px;
    background: #666;
    color: #fff;
    padding: 2px 6px;
    border-radius: 6px;
}

/* News section */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.news {
  padding: 48px 0 64px;
}

.news-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.news-head h2 {
  font-size: 28px;
  margin: 0;
}

.news-all {
  text-decoration: none;
  font-weight: 600;
  opacity: .9;
}
.news-all:hover { opacity: 1; }

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

.news-card {
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(6px);
  transition: transform .15s ease, border-color .15s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.22);
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  opacity: .85;
  margin-bottom: 10px;
}

.news-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  opacity: .95;
}

.news-title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.news-text {
  margin: 0 0 12px;
  opacity: .9;
  line-height: 1.45;
}

.news-link {
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 960px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-head { align-items: center; }
}

/* Page layout */
.page { padding: 40px 0 64px; }

.page-head h1 {
  margin: 0 0 10px;
  font-size: 34px;
}
.page-subtitle {
  margin: 0 0 18px;
  opacity: .9;
  line-height: 1.5;
}

/* Filters */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.chip {
  cursor: pointer;
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: inherit;
  transition: transform .12s ease, border-color .12s ease, opacity .12s ease;
  opacity: .9;
}
.chip:hover { opacity: 1; }
.chip.active {
  border-color: rgba(255,255,255,0.30);
  opacity: 1;
  transform: translateY(-1px);
}

/* Archive list */
.news-archive {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.news-item {
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}

.news-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  opacity: .85;
  margin-bottom: 10px;
}

.news-item-title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
}
.news-item-title a {
  color: inherit;
  text-decoration: none;
}
.news-item-title a:hover { text-decoration: underline; }

.news-item-excerpt {
  margin: 0 0 10px;
  opacity: .9;
  line-height: 1.5;
}

.news-back {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none;
  font-weight: 600;
  opacity: .9;
}
.news-back:hover { opacity: 1; }

.post-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  opacity: .85;
  margin-bottom: 10px;
}

.post-title {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
}

.post-lead {
  font-size: 18px;
  opacity: .95;
  line-height: 1.6;
  margin: 0 0 18px;
}

.post h2 { margin-top: 18px; }
.post-note {
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

/* ===== Полоска "Техніка наших партнерів" ===== */

.vehicle-card.partner {
    position: relative;
    overflow: hidden;
}

/* чтобы контент внутри карточки не раздувал ее (важно для flex/grid) */
.vehicle-card { 
  min-width: 0; 
  overflow: hidden;
}

/* Полоса под фото */
.partner-strip{
  position: relative;
  width: 100%;
  height: 28px;
  background: #ffcc00;
  overflow: hidden;
  flex: 0 0 auto; /* если карточка flex-column */
}

/* ВАЖНО: absolute => не влияет на ширину карточки */
.partner-marquee{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  white-space: nowrap;
  gap: 28px;
  will-change: transform;
  animation: partner-move 12s linear infinite;
}

.partner-marquee span{
  font-weight: 700;
  font-size: 13px;
  color: #000;
}

/* движение влево */
@keyframes partner-move{
  0%   { transform: translate(0, -50%); }
  100% { transform: translate(-50%, -50%); }
}



/* FIX для CSS Grid: чтобы карточки не раздувались из-за nowrap */
.vehicles-grid .vehicle-card {
  flex: 1 1 280px; /* или твой размер */
  min-width: 0;
  max-width: 100%;
}

.social-inline{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.social-icon{
  width:18px;
  height:18px;
  fill:#1877F2;
}

.instagram-icon{
  fill: url(#instaGradient);
}
