/* ============================================================
   СПБ Переезд — страница автопарка (page-fleet.php)
   ============================================================ */

/* --- шапка --- */
.sp-fleet-page__hero{background:linear-gradient(135deg,var(--ink),var(--brand-dk));
  color:#fff;padding:110px 0 100px;position:relative;background-size:cover;background-position:center}
.sp-fleet-page__hero-overlay{position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(12,22,38,.85),rgba(31,95,240,.6));pointer-events:none}
.sp-fleet-page__hero-content{position:relative;z-index:1}
.sp-fleet-page__hero h1{font-size:clamp(25px,3.6vw,38px);font-weight:800;margin:0 0 12px;line-height:1.2}
.sp-fleet-page__hero p{font-size:16px;color:rgba(255,255,255,.82);margin:0 0 24px;max-width:620px;line-height:1.5}
.sp-fleet-page__hero .sp-btn svg{width:19px;height:19px;transition:transform var(--dur) var(--ease)}
.sp-fleet-page__hero .sp-btn:hover svg{transform:translateX(3px)}

/* --- табы --- */
.sp-fleet-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:28px 0 22px}
.sp-fleet-tab{background:var(--card);border:1px solid var(--line);border-radius:99px;
  padding:8px 18px;font-size:14px;font-weight:500;color:var(--ink-2);cursor:pointer;
  transition:var(--dur) var(--ease);white-space:nowrap}
.sp-fleet-tab:hover{border-color:var(--brand);color:var(--brand)}
.sp-fleet-tab.is-active{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:600}

/* --- список машин --- */
.sp-fleet-list{display:flex;flex-direction:column;gap:22px;padding-bottom:56px}
.sp-fleet-item{display:grid;grid-template-columns:340px 1fr;gap:0;
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);
  overflow:hidden;box-shadow:var(--sh);
  transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}
.sp-fleet-item:hover{transform:translateY(-2px);box-shadow:var(--sh-lg)}
.sp-fleet-item[hidden]{display:none}

/* фото */
.sp-fleet-item__media{position:relative;min-height:240px}
.sp-fleet-item__img{width:100%;height:100%;background-size:cover;background-position:center;
  background-repeat:no-repeat;min-height:240px}
.sp-fleet-item__img--ph{display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--brand-soft),#dde7ff)}
.sp-fleet-item__img--ph svg{width:96px;height:96px;stroke:var(--brand);opacity:.45}
.sp-fleet-item__tag{position:absolute;top:14px;left:14px;background:var(--brand);
  color:#fff;font-size:12px;font-weight:700;padding:5px 12px;border-radius:99px;
  letter-spacing:.02em}

/* тело */
.sp-fleet-item__body{padding:24px 26px;display:flex;flex-direction:column}
.sp-fleet-item__head{display:flex;align-items:baseline;justify-content:space-between;
  gap:16px;flex-wrap:wrap;margin-bottom:16px}
.sp-fleet-item__name{font-size:21px;font-weight:800;color:var(--ink);margin:0;line-height:1.25}
.sp-fleet-item__price{font-size:14px;color:var(--ink-3);white-space:nowrap}
.sp-fleet-item__price b{font-family:var(--f-display);font-size:24px;font-weight:700;
  color:var(--brand-dk);margin:0 2px}

/* ТТХ — сетка 2 колонки */
.sp-fleet-item__specs{display:grid;grid-template-columns:repeat(2,1fr);gap:0 24px;
  margin-bottom:16px}
.sp-fleet-item__spec{display:flex;justify-content:space-between;align-items:baseline;
  gap:10px;padding:8px 0;border-bottom:1px solid var(--line-2);font-size:13.5px}
.sp-fleet-item__k{color:var(--ink-3)}
.sp-fleet-item__v{font-weight:600;color:var(--ink);text-align:right;white-space:nowrap}

.sp-fleet-item__desc{font-size:14px;color:var(--ink-2);line-height:1.6;margin:0 0 18px}

.sp-fleet-item__btn{align-self:flex-start;margin-top:auto}
.sp-fleet-item__btn svg{width:18px;height:18px;transition:transform var(--dur) var(--ease)}
.sp-fleet-item__btn:hover svg{transform:translateX(3px)}

/* --- SEO-текст --- */
.sp-fleet-page__seo{padding:48px 0;background:var(--bg-2);border-top:1px solid var(--line)}

/* --- адаптив --- */
@media(max-width:860px){
  .sp-fleet-item{grid-template-columns:1fr}
  .sp-fleet-item__media{min-height:0}
  .sp-fleet-item__img{aspect-ratio:16/9;min-height:0}
}
@media(max-width:560px){
  .sp-fleet-page__hero{padding:54px 0 48px}
  .sp-fleet-item__body{padding:18px}
  .sp-fleet-item__specs{grid-template-columns:1fr;gap:0}
  .sp-fleet-item__name{font-size:18px}
  .sp-fleet-item__btn{width:100%;justify-content:center}
}
