/* ─── Variables ──────────────────────────────────────────────── */
:root {
  --cyan: #00b4c8;
  --cyan-dark: #0099aa;
}

/* ─── Header active link ─────────────────────────────────────── */
.nav-active {
  position: relative;
}
.nav-active::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  content: "";
}

/* ─── Page Hero (interior pages) ────────────────────────────── */
.page-hero {
  position: relative;
  height: clamp(320px, 42vh, 520px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  margin-top: 72px;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 26, 84, 0.68) 0%,
    rgba(7, 27, 49, 0.54) 50%,
    rgba(4, 26, 84, 0.82) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.page-hero-eyebrow {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.page-hero-title {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.page-hero-sub {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.5;
}

/* ─── Catalog Layout ─────────────────────────────────────────── */
.catalog-wrap {
  background: #f2f4f7;
}

.catalog-section {
  padding: clamp(48px, 6vw, 80px) 0;
}

.catalog-section--alt {
  background: var(--white);
}

.catalog-heading {
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.catalog-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  color: var(--ink);
}

.catalog-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.catalog-badge-eletrico {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--cyan);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* ─── Catalog Grids ──────────────────────────────────────────── */
.catalog-grid {
  display: grid;
  gap: 16px;
}

.catalog-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.catalog-grid.cols-1-centered {
  grid-template-columns: minmax(0, 520px);
}

/* ─── Subline (Aumark / Auman) ───────────────────────────────── */
.catalog-subline {
  margin-bottom: 48px;
}

.catalog-subline:last-child {
  margin-bottom: 0;
}

.catalog-subline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
}

.subline-label {
  display: block;
  margin-bottom: 4px;
  font-size: 19px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.catalog-subline-header p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.subline-logos {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.logo-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* ─── Vehicle Card (Tesla-style) ─────────────────────────────── */
.vc-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 10px;
  background: #1a2535;
  color: var(--white);
  cursor: pointer;
}

.cols-2 .vc-card {
  min-height: 480px;
}

.cols-1-centered .vc-card {
  min-height: 440px;
}

.vc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.vc-card:hover .vc-bg {
  transform: scale(1.04);
}

.vc-bg-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(12, 39, 69, 0.9), rgba(7, 27, 49, 0.75)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03) 0 20px,
      rgba(255, 255, 255, 0.005) 20px 40px
    );
}

.vc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 17, 29, 0.08) 0%,
    rgba(7, 17, 29, 0.10) 38%,
    rgba(7, 17, 29, 0.84) 100%
  );
}

.vc-kicker {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 2;
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.vc-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 24px 22px;
}

.vc-name {
  margin: 0 0 4px;
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 900;
  line-height: 1.06;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.vc-spec {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.4;
}

.vc-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Primary button */
.vc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease;
  border: 0;
  text-decoration: none;
}

.vc-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.vc-btn--primary {
  background: var(--navy);
  color: var(--white);
}

.vc-btn--ghost {
  background: var(--white);
  color: var(--ink);
}

/* Coming soon card */
.vc-card--soon .vc-overlay {
  background: linear-gradient(
    180deg,
    rgba(7, 17, 29, 0.28) 0%,
    rgba(7, 17, 29, 0.72) 100%
  );
}

.vc-soon-tag {
  display: inline-block;
  margin-top: 0;
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

/* ─── Catalog CTA Strip ──────────────────────────────────────── */
.catalog-cta {
  display: flex;
  justify-content: center;
  padding: clamp(40px, 5vw, 64px) 24px;
  background: var(--navy-2);
}

.button-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 32px;
  border-radius: 5px;
  background: #25d366;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button-whatsapp:hover {
  background: #20b858;
  transform: translateY(-2px);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .catalog-grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .catalog-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-subline-header {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .catalog-grid.cols-2,
  .catalog-grid.cols-3,
  .catalog-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .catalog-grid.cols-1-centered {
    grid-template-columns: 1fr;
  }

  .vc-card,
  .cols-2 .vc-card,
  .cols-1-centered .vc-card {
    min-height: 360px;
  }

  .page-hero {
    height: clamp(280px, 50vw, 360px);
  }

  .page-hero-title {
    font-size: 28px;
  }

  .vc-btns {
    flex-direction: column;
  }

  .vc-btn {
    width: 100%;
  }
}
