/* ==========================================================================
   Bank Autos — Estilos de secciones y páginas
   --------------------------------------------------------------------------
   1.  Portada: hero y buscador rápido
   2.  Indicadores
   3.  Bloque de destacados
   4.  Por qué elegirnos
   5.  Servicios
   6.  Calculadora de financiamiento
   7.  Vende o cambia tu vehículo
   8.  Testimonios
   9.  Preguntas frecuentes
   10. Visítanos y mapa
   11. Cabecera de páginas internas
   12. Catálogo y filtros
   13. Detalle del vehículo
   14. Contacto
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Portada: hero y buscador rápido
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  padding-block: clamp(56px, 7vw, 96px) clamp(90px, 10vw, 130px);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      100deg,
      var(--navy-900) 8%,
      rgba(2, 27, 53, 0.9) 45%,
      rgba(2, 27, 53, 0.55) 100%
    ),
    radial-gradient(circle at 82% 18%, rgba(5, 172, 197, 0.32), transparent 55%);
}

.hero__inner {
  position: relative;
  display: grid;
  /* minmax(0, …) evita que el ancho del carrusel estire la columna */
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
}

.hero__inner > * {
  min-width: 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-300);
  background: rgba(5, 172, 197, 0.16);
  border: 1px solid rgba(5, 172, 197, 0.34);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  margin-bottom: 22px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--cyan-400);
}

.hero__text {
  color: #b9cee1;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.16rem);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  color: #cfe0ee;
}

.hero__points i {
  color: var(--cyan-400);
  font-size: 1.25rem;
}

/* Escaparate del hero (fotos reales del inventario) */
.hero__showcase {
  position: relative;
}

.hero__showcase::before {
  content: '';
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  right: -8%;
  top: -12%;
  background: radial-gradient(circle, rgba(5, 172, 197, 0.5), transparent 65%);
  filter: blur(48px);
  z-index: -1;
}

.hero-swiper {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-slide {
  position: relative;
  aspect-ratio: 4 / 4.6;
  background: var(--navy-700);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide__info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 60px 24px 24px;
  background: linear-gradient(to top, rgba(1, 15, 31, 0.94), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-slide__info h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.hero-slide__info p {
  color: #a8bfd4;
  font-size: 0.85rem;
}

.hero-slide__price {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cyan-300);
  white-space: nowrap;
}

.hero-swiper .swiper-pagination {
  bottom: 14px !important;
}

.hero-swiper .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.45;
  width: 8px;
  height: 8px;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--cyan-400);
  opacity: 1;
  width: 22px;
  border-radius: var(--r-pill);
}

/* Insignia flotante sobre el escaparate */
.hero__badge {
  position: absolute;
  left: -26px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--r);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

.hero__badge i {
  font-size: 1.9rem;
  color: var(--cyan-500);
}

.hero__badge strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--navy-800);
  line-height: 1.2;
}

.hero__badge span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Buscador rápido */
.search-strip {
  position: relative;
  z-index: 6;
  margin-top: clamp(-70px, -6vw, -46px);
}

.quick-search {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 16px;
  align-items: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field > label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: 0.02em;
}

.field > label i {
  color: var(--cyan-500);
  font-size: 1.05rem;
}

.field select,
.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
  appearance: none;
}

.field textarea {
  resize: vertical;
  min-height: 128px;
  line-height: 1.55;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2361748a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 17px;
  padding-right: 40px;
  cursor: pointer;
}

.field select:focus,
.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(5, 172, 197, 0.14);
}

.field--error input,
.field--error select,
.field--error textarea {
  border-color: #e5484d;
  background: #fff5f5;
}

.field__error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #e5484d;
}

.field--error .field__error {
  display: flex;
}

/* --------------------------------------------------------------------------
   2. Indicadores
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.stat:hover {
  border-color: var(--cyan-300);
  transform: translateY(-4px);
}

.stat__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--r-sm);
  background: var(--cyan-050);
  color: var(--cyan-600);
  font-size: 1.7rem;
  flex-shrink: 0;
}

.stat__num {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.1;
}

.stat__label {
  font-size: 0.88rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   3. Bloque de destacados
   -------------------------------------------------------------------------- */
.featured__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.featured__head .section-head {
  margin-bottom: 0;
}

.featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.featured__foot {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* --------------------------------------------------------------------------
   4. Por qué elegirnos
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
}

.split__media {
  position: relative;
}

.split__media img.split__photo {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.split__media::before {
  content: '';
  position: absolute;
  left: -18px;
  top: -18px;
  width: 55%;
  height: 55%;
  border: 3px solid var(--cyan-500);
  border-radius: var(--r-lg);
  opacity: 0.35;
  z-index: -1;
}

.split__stat {
  position: absolute;
  right: -20px;
  bottom: -24px;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--r);
  padding: 20px 26px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.split__stat strong {
  display: block;
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan-400);
}

.split__stat span {
  font-size: 0.82rem;
  color: #a8bfd4;
}

.benefits {
  display: grid;
  gap: 22px;
  margin-block: 28px 32px;
}

.benefit {
  display: flex;
  gap: 16px;
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--r-sm);
  background: var(--cyan-050);
  color: var(--cyan-600);
  font-size: 1.55rem;
  flex-shrink: 0;
}

.benefit h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.benefit p {
  font-size: 0.93rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. Servicios
   -------------------------------------------------------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.service::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--cyan-050);
  transition: transform 0.45s var(--ease);
  z-index: 0;
}

.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service:hover::after {
  transform: scale(1.5);
}

.service > * {
  position: relative;
  z-index: 1;
}

.service__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: var(--r);
  background: var(--navy-800);
  color: var(--cyan-400);
  font-size: 1.9rem;
  margin-bottom: 20px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.service:hover .service__icon {
  background: var(--cyan-500);
  color: #fff;
}

.service h3 {
  margin-bottom: 9px;
}

.service p {
  font-size: 0.94rem;
}

/* --------------------------------------------------------------------------
   6. Calculadora de financiamiento
   -------------------------------------------------------------------------- */
.finance {
  position: relative;
}

.finance__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.finance__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
}

.finance::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(5, 172, 197, 0.25), transparent 55%);
  z-index: 0;
}

.finance > .container {
  position: relative;
  z-index: 1;
}

.finance__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}

.calc {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  backdrop-filter: blur(6px);
}

.calc__row {
  margin-bottom: 26px;
}

.calc__row:last-of-type {
  margin-bottom: 0;
}

.calc__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.calc__label span {
  font-family: var(--font-title);
  font-size: 0.94rem;
  font-weight: 500;
  color: #cfe0ee;
}

.calc__value {
  font-family: var(--font-title);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--cyan-300);
  background: rgba(5, 172, 197, 0.14);
  border-radius: var(--r-pill);
  padding: 4px 14px;
  white-space: nowrap;
}

/* Deslizadores */
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan-400);
  border: 4px solid #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  cursor: grab;
  transition: transform 0.2s var(--ease);
}

input[type='range']::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type='range']::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan-400);
  border: 4px solid #fff;
  cursor: grab;
}

input[type='range']::-moz-range-track {
  height: 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
}

.calc__hint {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #8ea6bd;
  margin-top: 8px;
}

/* Selector de moneda */
.switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.09);
  border-radius: var(--r-pill);
  padding: 4px;
  gap: 4px;
}

.switch button {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: #a8bfd4;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.switch button.is-active {
  background: var(--cyan-500);
  color: #fff;
}

/* Resultado */
.calc-result {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.calc-result::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan-500), var(--cyan-300));
}

.calc-result h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.calc-result > p {
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.calc-result__amount {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-800);
  line-height: 1.05;
}

.calc-result__per {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.calc-result__breakdown {
  display: grid;
  gap: 12px;
  padding-block: 22px;
  margin-bottom: 24px;
  border-block: 1px dashed var(--line);
}

.calc-result__breakdown li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--muted);
}

.calc-result__breakdown strong {
  font-family: var(--font-title);
  color: var(--navy-800);
  font-weight: 600;
  white-space: nowrap;
}

.calc-result__note {
  display: flex;
  gap: 9px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 16px;
}

.calc-result__note i {
  color: var(--cyan-500);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.finance__list {
  display: grid;
  gap: 14px;
  margin-block: 26px 30px;
}

.finance__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #cfe0ee;
  font-size: 0.96rem;
}

.finance__list i {
  color: var(--cyan-400);
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. Vende o cambia tu vehículo
   -------------------------------------------------------------------------- */
.trade {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy-800);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}

.trade__media {
  position: relative;
  height: 100%;
  min-height: 380px;
}

.trade__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trade__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, var(--navy-800) 98%);
}

.trade__content {
  padding: clamp(30px, 4vw, 56px);
}

.trade__content h2 {
  color: #fff;
  margin-bottom: 14px;
}

.trade__content p {
  color: #a8bfd4;
  margin-bottom: 26px;
}

.trade-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.trade-form .field > label {
  color: #cfe0ee;
}

.trade-form .field input,
.trade-form .field select {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.trade-form .field input::placeholder {
  color: #7f97ae;
}

.trade-form .field select option {
  color: var(--ink);
}

.trade-form .field input:focus,
.trade-form .field select:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cyan-400);
}

.trade-form .btn {
  grid-column: 1 / -1;
}

/* --------------------------------------------------------------------------
   8. Testimonios
   -------------------------------------------------------------------------- */
.reviews-swiper {
  padding-bottom: 54px !important;
}

.review {
  position: relative;
  overflow: hidden;
  height: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.review:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--cyan-300);
}

.review__stars {
  display: flex;
  gap: 3px;
  color: var(--amber);
  font-size: 1.1rem;
}

.review__text {
  flex: 1;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.65;
}

.review__quote {
  position: absolute;
  right: 24px;
  top: 22px;
  font-size: 3rem;
  color: var(--cyan-050);
  line-height: 1;
  pointer-events: none;
}

.review__person {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.review__person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review__person strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.98rem;
  color: var(--navy-800);
}

.review__person span {
  font-size: 0.82rem;
  color: var(--muted);
}

.swiper-pagination-bullet {
  background: var(--navy-600);
}

.swiper-pagination-bullet-active {
  background: var(--cyan-500);
}

/* --------------------------------------------------------------------------
   9. Preguntas frecuentes
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin-inline: auto;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq__item.is-open {
  border-color: var(--cyan-300);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  text-align: left;
  font-family: var(--font-title);
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--navy-800);
  padding: 20px 24px;
  transition: color 0.25s var(--ease);
}

.faq__q:hover {
  color: var(--cyan-600);
}

.faq__q i {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cyan-050);
  color: var(--cyan-600);
  font-size: 1.1rem;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease);
}

.faq__item.is-open .faq__q i {
  transform: rotate(45deg);
  background: var(--cyan-500);
  color: #fff;
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq__a p {
  padding: 0 24px 22px;
  font-size: 0.96rem;
}

/* --------------------------------------------------------------------------
   10. Visítanos y mapa
   -------------------------------------------------------------------------- */
.visit {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(26px, 3.5vw, 46px);
  align-items: stretch;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 36px);
  display: grid;
  align-content: start;
  gap: 22px;
}

.info-card__list {
  display: grid;
  gap: 20px;
}

.info-card__list li {
  display: flex;
  gap: 15px;
}

.info-card__list .ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--cyan-050);
  color: var(--cyan-600);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.info-card__list strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.93rem;
  color: var(--navy-800);
  margin-bottom: 2px;
}

.info-card__list span,
.info-card__list a {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.5;
}

.info-card__list a:hover {
  color: var(--cyan-600);
}

.hours {
  display: grid;
  gap: 10px;
  background: var(--bg);
  border-radius: var(--r);
  padding: 20px 22px;
}

.hours h4 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
}

.hours h4 i {
  color: var(--cyan-500);
  font-size: 1.2rem;
}

.hours li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: var(--r-xs);
}

.hours li strong {
  color: var(--navy-800);
  font-weight: 600;
  white-space: nowrap;
}

.hours li.is-today {
  background: var(--cyan-050);
  color: var(--cyan-600);
}

.hours li.is-today strong {
  color: var(--cyan-600);
}

.hours li.is-closed strong {
  color: #e5484d;
}

.map-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: 420px;
  background: var(--bg-alt);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.18) contrast(1.04);
}

.map-frame__cta {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   11. Cabecera de páginas internas
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--navy-800);
  color: #fff;
  padding-block: clamp(48px, 6vw, 84px);
  overflow: hidden;
  isolation: isolate;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--navy-900) 15%, rgba(2, 27, 53, 0.72) 100%),
    radial-gradient(circle at 88% 30%, rgba(5, 172, 197, 0.28), transparent 55%);
}

.page-hero--slim {
  padding-block: 22px;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: #b9cee1;
  max-width: 56ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 0.87rem;
  color: #8ea6bd;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: #cfe0ee;
}

.breadcrumb a:hover {
  color: var(--cyan-400);
}

.breadcrumb i {
  font-size: 0.75rem;
}

.breadcrumb [aria-current] {
  color: var(--cyan-400);
}

/* --------------------------------------------------------------------------
   12. Catálogo y filtros
   -------------------------------------------------------------------------- */
.catalog {
  display: grid;
  grid-template-columns: 292px 1fr;
  gap: 32px;
  align-items: start;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: grid;
  gap: 22px;
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
}

.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.filters__head h2 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 9px;
}

.filters__head h2 i {
  color: var(--cyan-500);
}

.filters__close {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  place-items: center;
  background: var(--bg);
  font-size: 1.3rem;
  color: var(--navy-800);
}

.filter-group h3 {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 13px;
}

.search-box {
  position: relative;
}

.search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.15rem;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px 13px 42px;
  font-size: 0.93rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.search-box input:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(5, 172, 197, 0.14);
}

/* Opciones tipo casilla */
.check-list {
  display: grid;
  gap: 9px;
}

.check {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.93rem;
  color: var(--ink);
  cursor: pointer;
  padding: 5px 4px;
  border-radius: var(--r-xs);
  transition: color 0.2s var(--ease);
}

.check:hover {
  color: var(--cyan-600);
}

.check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.check__box {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-radius: 6px;
  flex-shrink: 0;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.check__box::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.2s var(--ease);
}

.check input:checked + .check__box {
  background: var(--cyan-500);
  border-color: var(--cyan-500);
}

.check input:checked + .check__box::after {
  transform: rotate(-45deg) scale(1);
}

.check input:focus-visible + .check__box {
  outline: 3px solid var(--cyan-500);
  outline-offset: 2px;
}

.check__count {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--bg);
  border-radius: var(--r-pill);
  padding: 1px 9px;
}

/* Rango de precio */
.range-group {
  display: grid;
  gap: 12px;
}

.range-group input[type='range'] {
  background: var(--line);
}

.range-group input[type='range']::-webkit-slider-thumb {
  border-color: var(--surface);
  background: var(--cyan-500);
  box-shadow: var(--shadow-sm);
}

.range-out {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

.range-out strong {
  font-family: var(--font-title);
  color: var(--navy-800);
}

.filters__note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  display: flex;
  gap: 8px;
}

.filters__note i {
  color: var(--cyan-500);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Barra superior del catálogo */
.catalog__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 18px;
  margin-bottom: 18px;
}

.catalog__count {
  font-size: 0.94rem;
  color: var(--muted);
}

.catalog__count strong {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--navy-800);
}

.catalog__tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.catalog__tools select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 38px 10px 14px;
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2361748a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.catalog__tools select:focus {
  outline: none;
  border-color: var(--cyan-500);
}

.filters-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-800);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 16px;
}

.filters-toggle i {
  color: var(--cyan-500);
  font-size: 1.15rem;
}

.filters-toggle__badge {
  background: var(--cyan-500);
  color: #fff;
  font-size: 0.72rem;
  border-radius: var(--r-pill);
  padding: 1px 7px;
}

/* Filtros activos */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
}

.chips:empty {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  background: var(--cyan-050);
  color: var(--cyan-600);
  border-radius: var(--r-pill);
  padding: 7px 9px 7px 15px;
}

.chip button {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(4, 136, 156, 0.16);
  color: var(--cyan-600);
  font-size: 0.85rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.chip button:hover {
  background: var(--cyan-500);
  color: #fff;
}

.chip--clear {
  background: var(--bg);
  color: var(--muted);
  padding: 7px 15px;
  cursor: pointer;
  border: 1px dashed var(--line);
}

.chip--clear:hover {
  color: #e5484d;
  border-color: #e5484d;
}

/* Rejilla de resultados */
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 24px;
}

.catalog__grid .v-card {
  animation: card-in 0.45s var(--ease) both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.empty-state {
  display: none;
  text-align: center;
  padding: clamp(46px, 6vw, 80px) 24px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
}

.empty-state.is-visible {
  display: block;
}

.empty-state i {
  font-size: 3.4rem;
  color: var(--cyan-300);
  margin-bottom: 14px;
}

.empty-state h3 {
  margin-bottom: 8px;
}

.empty-state p {
  max-width: 44ch;
  margin: 0 auto 22px;
}

/* --------------------------------------------------------------------------
   13. Detalle del vehículo
   -------------------------------------------------------------------------- */
.detail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}

.gallery-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
}

.gallery-main .swiper-slide {
  aspect-ratio: 4 / 4.2;
  position: relative;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main .swiper-button-next,
.gallery-main .swiper-button-prev {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.gallery-main .swiper-button-next:hover,
.gallery-main .swiper-button-prev:hover {
  background: var(--cyan-500);
  color: #fff;
}

.gallery-main .swiper-button-next::after,
.gallery-main .swiper-button-prev::after {
  font-size: 1.05rem;
  font-weight: 700;
}

.gallery-zoom {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  background: rgba(1, 15, 31, 0.6);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 7px 14px;
  backdrop-filter: blur(4px);
}

.gallery-thumbs .swiper-slide {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}

.gallery-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--cyan-500);
}

/* Panel lateral */
.detail__panel {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
}

.detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.detail__panel h1 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  margin-bottom: 4px;
}

.detail__version {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 22px;
}

.detail__price {
  background: var(--bg);
  border-radius: var(--r);
  padding: 20px 22px;
  margin-bottom: 24px;
}

.detail__price strong {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.2rem);
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.detail__price span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 3px;
}

.detail__quota {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

.detail__quota i {
  color: var(--cyan-500);
  font-size: 1.2rem;
}

.detail__quota b {
  color: var(--cyan-600);
  font-family: var(--font-title);
}

.detail__actions {
  display: grid;
  gap: 11px;
  margin-bottom: 22px;
}

.detail__mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.detail__mini li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.detail__mini i {
  color: var(--cyan-500);
  font-size: 1.25rem;
}

.detail__mini strong {
  display: block;
  color: var(--navy-800);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.92rem;
}

/* Ficha técnica y equipamiento */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.spec {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 20px;
}

.spec i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--cyan-050);
  color: var(--cyan-600);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.spec span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.spec strong {
  font-family: var(--font-title);
  font-size: 0.98rem;
  color: var(--navy-800);
}

.equip-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 26px;
}

.equip-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
}

.equip-list i {
  color: var(--cyan-500);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.detail__desc p {
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 72ch;
}

.detail-missing {
  text-align: center;
  padding: clamp(56px, 8vw, 110px) 24px;
}

.detail-missing i {
  font-size: 4rem;
  color: var(--cyan-300);
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   14. Contacto
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-block: 24px;
}

.contact-form__grid .field--full {
  grid-column: 1 / -1;
}

.form-note {
  display: flex;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 16px;
}

.form-note i {
  color: var(--cyan-500);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-side {
  display: grid;
  gap: 22px;
}

.contact-cta {
  background: var(--navy-800);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px);
  color: #fff;
  text-align: center;
}

.contact-cta i {
  font-size: 2.6rem;
  color: var(--cyan-400);
  margin-bottom: 12px;
}

.contact-cta h3 {
  color: #fff;
  margin-bottom: 8px;
}

.contact-cta p {
  color: #a8bfd4;
  font-size: 0.93rem;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   Salvaguarda de rejillas
   Sin esto, un carrusel o una palabra larga puede estirar su columna por
   encima del ancho de la pantalla y provocar desplazamiento horizontal.
   -------------------------------------------------------------------------- */
.hero__inner > *,
.finance__grid > *,
.detail > *,
.contact-grid > *,
.catalog > *,
.split > *,
.trade > *,
.visit > *,
.featured__grid > *,
.catalog__grid > *,
.services > *,
.stats > *,
.spec-grid > *,
.grid > * {
  min-width: 0;
}

.swiper {
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .catalog {
    grid-template-columns: 262px 1fr;
    gap: 24px;
  }

  .spec-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__showcase {
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
  }

  .hero__badge {
    left: -12px;
  }

  .featured__grid,
  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .finance__grid,
  .detail,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .detail__panel {
    position: static;
  }

  .equip-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .quick-search {
    grid-template-columns: 1fr 1fr;
  }

  .quick-search .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split__media {
    order: -1;
  }

  .split__stat {
    right: 12px;
    bottom: -18px;
  }

  .visit {
    grid-template-columns: 1fr;
  }

  .trade {
    grid-template-columns: 1fr;
  }

  .trade__media {
    min-height: 240px;
  }

  .trade__media::after {
    background: linear-gradient(180deg, transparent 30%, var(--navy-800) 97%);
  }

  /* Filtros como panel deslizante */
  .catalog {
    grid-template-columns: 1fr;
  }

  .filters {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(330px, 88vw);
    max-height: none;
    border-radius: 0;
    border: 0;
    z-index: 400;
    transform: translateX(-102%);
    transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow-lg);
    align-content: start;
  }

  .filters.is-open {
    transform: translateX(0);
  }

  .filters__close {
    display: grid;
  }

  .filters-toggle {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .hero__badge {
    display: none;
  }

  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog__toolbar {
    justify-content: center;
  }

  .catalog__tools {
    width: 100%;
    justify-content: space-between;
  }

  .catalog__tools select {
    flex: 1;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  .quick-search {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .search-strip {
    margin-top: -34px;
  }

  .featured__grid,
  .services,
  .stats,
  .contact-form__grid,
  .trade-form,
  .equip-list,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .catalog__grid {
    grid-template-columns: 1fr;
  }

  .detail__mini {
    grid-template-columns: 1fr;
  }

  .split__stat {
    position: static;
    margin-top: 16px;
  }

  .review {
    padding: 24px 22px;
  }
}
