/* ============================================================
   VEHICLES ARCHIVE  (cars.css)
   Header & footer styles intentionally excluded.
   No filter bar (archive has no category filter).
   ============================================================ */
:root {
  --bg: #0E0E0E;
  --ink: #0E0E0E;
  --accent: #6FBEF0;
  --accent-soft: rgba(111, 190, 240, .12);
  --line: rgba(14, 14, 14, .08);
  --muted: #5b5b62;
  --shadow: 0 30px 80px -30px rgba(14, 14, 14, .25);
}


.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 14.5px;
  transition: all .35s cubic-bezier(.2, .8, .2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #0E0E0E;
  box-shadow: 0 14px 40px -10px rgba(111, 190, 240, .55);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-3px);
}
/* --- end deletable base block --- */


/* --- Section shell --- */
section {
  padding: 120px 0;
  position: relative;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

h2 .accent {
  color: var(--accent);
  font-style: italic;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}


/* --- Page hero (centered, dark) --- */
.page-hero {
  position: relative;
  padding: 170px 0 100px;
  background: #0E0E0E;
  color: #fff;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 190, 240, .22), transparent 70%);
  filter: blur(50px);
  animation: float 14s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(40px); }
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 14px 0 18px;
  position: relative;
  z-index: 2;
}

.page-hero h1 .accent {
  color: var(--accent);
  font-style: italic;
}

.page-hero p {
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
  border-radius: 40px;
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  position: relative;
  z-index: 2;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  50% { opacity: .4; }
}


/* --- Cars grid --- */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.car {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: all .5s cubic-bezier(.2, .8, .2, 1);
  display: flex;
  flex-direction: column;
}

.car:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.car-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.car-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s;
}

.car:hover .car-img img {
  transform: scale(1.12);
}

.car-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14, 14, 14, .6));
  opacity: 0;
  transition: opacity .4s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
}

.car:hover .car-overlay {
  opacity: 1;
}

.view-btn {
  padding: 10px 18px;
  background: var(--accent);
  color: #0E0E0E;
  border-radius: 30px;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateY(10px);
  transition: transform .4s;
}

.car:hover .view-btn {
  transform: translateY(0);
}

.view-btn svg {
  width: 14px;
  height: 14px;
}

.car-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #0E0E0E;
}

.car-fav {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: #0E0E0E;
  cursor: pointer;
  transition: all .3s;
}

.car-fav:hover {
  background: var(--accent);
  transform: scale(1.1);
}

.car-fav svg {
  width: 16px;
  height: 16px;
}

.car-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.car-cat {
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}

.car-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 10px;
}

.car-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.car-spec span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.car-spec svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.car-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.price {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--accent);
  font-weight: 700;
}

.price small {
  font-size: 11.5px;
  color: var(--muted);
  display: block;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.car-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0E0E0E;
  color: #fff;
  display: grid;
  place-items: center;
  transition: all .3s;
}

.car:hover .car-arrow {
  background: var(--accent);
  color: #0E0E0E;
  transform: rotate(-45deg);
}


/* --- Pagination --- */
.archive-pagination {
  margin-top: 60px;
  text-align: center;
}

.archive-pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.archive-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 50px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: all .3s;
}

.archive-pagination .page-numbers:hover {
  background: rgba(111, 190, 240, .1);
  color: var(--accent);
  border-color: var(--accent);
}

.archive-pagination .page-numbers.current {
  background: #0E0E0E;
  color: #fff;
  border-color: #0E0E0E;
}

.archive-pagination .page-numbers.dots {
  border: none;
  background: transparent;
}


/* --- CTA band --- */
.cta-band {
  background: linear-gradient(135deg, #0E0E0E, #1a1a1a);
  color: #fff;
  border-radius: 32px;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 190, 240, .3), transparent 70%);
  filter: blur(40px);
}

.cta-band .l {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.cta-band h2 {
  color: #fff;
  text-align: left;
}

.cta-band p {
  color: rgba(255, 255, 255, .72);
  margin-top: 14px;
  max-width: 520px;
}

.cta-band .r {
  position: relative;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(.2, .8, .2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }


/* --- Responsive --- */
@media (max-width: 1000px) {
  .cars-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  section {
    padding: 80px 0;
  }

  .cta-band {
    padding: 36px;
  }
}

@media (max-width: 600px) {
  .cars-grid {
    grid-template-columns: 1fr;
  }
}