hr{border-top:1px solid rgba(102,102,102,.4);}
.nav-link{display:block;padding:.5em 1em;border:1px solid #ffffff3d;border-radius:7px;}
.pointer{cursor:pointer;}
.logo-sm{
  max-height: 72px;     /* o 80px */
  max-width: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 20px !important;
}
.icon-semi{max-width:28px}
.portada{width:100%;height:320px;background-size:cover;background-position:center;border-radius:6px}
.vehicle-card{transition:opacity .25s ease, transform .25s ease;}
.vehicle-card.hidden{opacity:0;transform:translateY(12px);pointer-events:none;}
.filter-select, .filter-clear{
  width:100%;background:#fff;border:1px solid #000;padding:12px 20px;
  font-size:14px;font-weight:500;line-height:1.2;cursor:pointer;
}
.filter-select:hover,.filter-select:focus{background:#000;color:#fff;outline:none;}
.filter-clear:hover{background:#000;color:#fff;}

/* 1) Flechas de los filtros: mas margen a la derecha */
.filter-select{
  /* mas espacio para la flecha y el texto */
  padding-right: 3.75rem;            /* antes ~3em */
  background-position: calc(100% - 1.75rem) 50%;
  background-origin: padding-box;     /* evita que se "pegue" al borde */
}

/* 2) Alinear el bloque de Color con los demas (desktop) */
.bottom-features .row.align-items-center .col-lg-4.d-flex{
  align-items: center;
  gap: 12px;                          /* separa icono y texto */
}
.bottom-features .row.align-items-center .col-lg-4.d-flex .icon-semi{
  max-width: 28px;
  width: 28px;                        /* tamano consistente del icono */
  height: auto;
  flex: 0 0 28px;
}
.bottom-features .row.align-items-center .col-lg-4.d-flex .title-settings{
  margin: 0;
  line-height: 1.1;
}
.bottom-features .row.align-items-center .col-lg-4.d-flex .title-settings span{
  display: block;
  margin-top: 2px;
}

/* 3) Evitar que "Kilometraje" (y demas valores) se partan en 2 lineas */
.title-settings span{
  white-space: nowrap;
}

/* (opcional) normalizar todos los iconos de specs */
.icon-semi{
  width: 28px;
  height: auto;
  object-fit: contain;
}

/* Close en esquina superior derecha (HubSpot y Galeria) */
#hubspotModal .modal-content,
#imagenesModal .modal-content {
  position: relative; /* referencia para el boton */
}

#hubspotModal .close,
#imagenesModal .close {
  position: absolute;
  top: 10px;
  right: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 28px;      /* o 1.75rem */
  line-height: 1;
  opacity: .75;
  z-index: 2;
}

#hubspotModal .close:hover,
#imagenesModal .close:hover {
  opacity: 1;
}

/* ============================================================
   HERO — Seminuevos
   ============================================================ */

/* --- Entrance animations --- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroLineGrow {
  from { width: 0; }
  to   { width: 64px; }
}

/* --- Hero container --- */
.seminuevos-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0a0c10;
}

/* Background image layer */
.seminuevos-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/wallpaperflare.com_wallpaper.jpg');
  background-size: cover;
  background-position: 70% 50%;
  opacity: 0.35;
}

/* Grain texture overlay for depth */
.seminuevos-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
  pointer-events: none;
  z-index: 1;
}

/* Subtle vignette */
.seminuevos-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(5,5,12,0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

/* --- Content layer --- */
.seminuevos-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 80px 24px 80px;
  color: #fff;
}

/* Kicker / eyebrow */
.seminuevos-hero__kicker {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.15s forwards;
}

/* Main heading */
.seminuevos-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 28px;
  color: #fff;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
}

/* Accent line */
.seminuevos-hero__line {
  display: block;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b8976a 20%, #b8976a 80%, transparent);
  margin: 0 auto 32px;
  opacity: 0;
  animation: heroFadeUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.5s forwards,
             heroLineGrow 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.5s forwards;
}

/* Body paragraph */
.seminuevos-hero__body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  line-height: 1.85;
  color: rgba(255,255,255,0.78);
  margin: 0 auto 32px;
  max-width: 680px;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards;
}

/* Tagline */
.seminuevos-hero__tagline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: #b8976a;
  letter-spacing: 0.04em;
  margin: 0;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.8s forwards;
}

/* --- Responsive --- */
@media (max-width: 767px) {
  .seminuevos-hero {
    min-height: auto;
  }
  .seminuevos-hero__content {
    padding: 60px 20px 60px;
  }
  .seminuevos-hero__body {
    font-size: 0.93rem;
    line-height: 1.75;
  }
}
