* {
  box-sizing: border-box;
}

body.seo-page {
  margin: 0;
  background: #f6f7f9;
  color: #172033;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.seo-header,
.seo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
}

.seo-logo {
  color: #172033;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.seo-nav,
.seo-footer {
  flex-wrap: wrap;
}

.seo-nav,
.seo-footer {
  display: flex;
  gap: 14px;
}

.seo-nav a,
.seo-footer a,
.breadcrumbs a {
  color: #315a8a;
  text-decoration: none;
}

.seo-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
  color: #6b7280;
  font-size: 14px;
}

.hero {
  padding: 48px 0 28px;
}

.hero.compact {
  padding-top: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #617287;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
}

.hero p {
  max-width: 760px;
  margin: 0;
  color: #4b5563;
  font-size: 18px;
}

.grid,
.list-grid,
.car-grid {
  display: grid;
  gap: 16px;
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.list-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.car-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tile,
.row-card,
.car-card {
  display: flex;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.tile {
  flex-direction: column;
  gap: 8px;
  padding: 22px;
}

.tile span,
.muted {
  color: #64748b;
  font-size: 14px;
}

.row-card {
  align-items: center;
  gap: 14px;
  padding: 14px;
}

.row-card img {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
}

.row-title,
.car-title {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.car-card {
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.car-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #e9eef4;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #e9eef4;
}

.car-description {
  margin: 24px 0 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  color: #334155;
  line-height: 1.7;
}

.empty {
  color: #64748b;
}

@media (max-width: 720px) {
  .seo-header {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 34px;
  }
}
