/* ===== RSTI Autos · estilos ===== */

:root {
  --fondo: #000000;
  --fondo-2: #0C0C0F;
  --tarjeta: #141418;
  --tarjeta-2: #1B1B20;
  --borde: #26262D;
  --borde-fuerte: #3A3A43;
  --texto: #F4F4F5;
  --texto-2: #A1A1AA;
  --texto-3: #D4D4D8;
  --magenta: #D60074;        /* tono del logo, apenas más oscuro para que el texto blanco se lea bien */
  --magenta-hover: #E6007E;
  --magenta-claro: #FF4FA3;  /* para textos chicos en magenta sobre negro */
  --titulos: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --cuerpo: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radio: 14px;
  --ancho: 1200px;
  --sombra: 0 18px 40px rgba(0, 0, 0, .55);
  --curva: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--cuerpo);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--magenta-claro); }
h1, h2, h3 { font-family: var(--titulos); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 14px; }
h3 { font-size: 22px; }
p { margin: 0 0 14px; }
:focus-visible { outline: 3px solid var(--magenta-claro); outline-offset: 3px; border-radius: 6px; }
main { overflow-x: clip; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .contenedor { padding: 0 28px; } }
.contenedor--angosto { max-width: 860px; }

.saltar { position: absolute; left: -999px; top: 8px; background: var(--magenta); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 8px; }
.saltar:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.etiqueta {
  font-size: 13px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--magenta-claro); margin-bottom: 12px;
}

/* ----- Botones ----- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 12px; border: 0;
  font-family: var(--cuerpo); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.boton svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.boton:active { transform: scale(.98); }
.boton--magenta { background: var(--magenta); color: #fff; }
.boton--magenta:hover { background: var(--magenta-hover); }
.boton--borde { background: transparent; border: 1px solid var(--borde-fuerte); color: var(--texto); }
.boton--borde:hover { border-color: var(--texto-2); }

/* ----- Campos de formulario ----- */
.campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.campo label { font-size: 13px; font-weight: 600; color: var(--texto-2); }
.campo input, .campo select {
  width: 100%; min-height: 48px; border-radius: 10px; border: 1px solid var(--borde);
  background: #0A0A0D; color: var(--texto); font: inherit; font-size: 16px; padding: 0 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.campo select {
  appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A1A1AA' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.campo select optgroup { color: var(--texto-2); font-style: normal; }
.campo select option { color: var(--texto); background: #0A0A0D; }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--magenta-claro); box-shadow: 0 0 0 3px rgba(255, 79, 163, .22); }
.campo__icono { position: relative; }
.campo__icono svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px;
  fill: none; stroke: var(--texto-2); stroke-width: 2; stroke-linecap: round; pointer-events: none;
}
.campo__icono input { padding-left: 44px; }

/* ----- Cabecera ----- */
.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
.cabecera--scroll { border-bottom-color: var(--borde); }
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.cabecera__logo img { height: 46px; width: auto; }

.menu-boton {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 12px; background: none; border: 0; cursor: pointer;
}
.menu-boton span { display: block; height: 2px; background: var(--texto); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.menu-boton[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-boton[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-boton[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu {
  position: absolute; top: 68px; left: 0; right: 0;
  display: flex; flex-direction: column; padding: 8px 16px 20px;
  background: #000; border-bottom: 1px solid var(--borde);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.menu--abierto { transform: none; opacity: 1; visibility: visible; }
.menu a { color: var(--texto); text-decoration: none; font-weight: 500; padding: 14px 4px; border-bottom: 1px solid var(--fondo-2); }
.menu a.menu__wsp { display: flex; align-items: center; gap: 8px; color: var(--magenta-claro); font-weight: 600; border: 0; }
.menu__wsp svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

@media (min-width: 1140px) {
  .menu-boton { display: none; }
  .menu {
    position: static; flex-direction: row; align-items: center; gap: 4px; padding: 0;
    background: none; border: 0; transform: none; opacity: 1; visibility: visible;
  }
  .menu a { border: 0; padding: 10px 12px; font-size: 15px; color: var(--texto-3); white-space: nowrap; transition: color .2s; }
  .menu a:hover { color: #fff; }
  .menu a.menu__wsp { background: var(--magenta); color: #fff; border-radius: 10px; padding: 10px 16px; margin-left: 10px; }
  .menu a.menu__wsp:hover { background: var(--magenta-hover); }
}

/* ----- Portada con buscador ----- */
.portada {
  position: relative; padding: 44px 0 48px; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(214, 0, 116, .18), transparent 70%),
    linear-gradient(180deg, #000, #07070A);
}
.portada__grilla { display: grid; gap: 32px; align-items: center; position: relative; }
.portada h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1; margin-bottom: 18px; }
.portada__bajada { font-size: 18px; color: var(--texto-2); max-width: 540px; margin-bottom: 26px; }
.portada__botones { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .portada__botones { flex-direction: row; } }
@media (min-width: 960px) {
  .portada { padding: 88px 0 96px; }
  .portada__grilla { grid-template-columns: 1.15fr .85fr; gap: 56px; }
}

.buscador {
  background: rgba(20, 20, 24, .92); border: 1px solid var(--borde); border-radius: 18px; padding: 22px;
  display: grid; gap: 14px; box-shadow: var(--sombra);
}
.buscador__titulo { font-size: 26px; margin-bottom: 4px; }
.buscador .boton { width: 100%; margin-top: 4px; }
.buscador__nota { margin: 0; font-size: 14px; color: var(--texto-2); text-align: center; }

/* ----- Franja de confianza ----- */
.confianza { border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); background: var(--fondo-2); }
.confianza__lista { list-style: none; margin: 0 auto; display: grid; gap: 0; padding-top: 8px; padding-bottom: 8px; }
.confianza li { display: flex; align-items: center; gap: 14px; padding: 14px 0; }
.confianza li + li { border-top: 1px solid var(--borde); }
.confianza svg {
  width: 40px; height: 40px; flex-shrink: 0; padding: 9px; border-radius: 10px;
  background: rgba(214, 0, 116, .12); fill: none; stroke: var(--magenta-claro); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.confianza strong { display: block; font-size: 15px; color: var(--texto); }
.confianza span { font-size: 14px; color: var(--texto-2); line-height: 1.4; }
@media (min-width: 700px) {
  .confianza__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .confianza li + li { border-top: 0; }
}
@media (min-width: 1060px) { .confianza__lista { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 18px; padding-bottom: 18px; } }

/* ----- Secciones ----- */
.seccion { padding: 64px 0; }
.seccion--gris { background: var(--fondo-2); }
.seccion__bajada { color: var(--texto-2); max-width: 620px; }
.seccion__cabeza { display: grid; gap: 4px; margin-bottom: 24px; }
@media (min-width: 900px) {
  .seccion { padding: 96px 0; }
  .seccion__cabeza { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
  .seccion__cabeza .seccion__bajada { margin-bottom: 18px; }
}

/* ----- Tipos de vehículo (accesos rápidos) ----- */
.tipos { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: thin; }
.tipo {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-width: 104px; min-height: 84px; padding: 10px 14px; border-radius: 12px;
  background: var(--tarjeta); border: 1px solid var(--borde); color: var(--texto-3);
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.tipo svg { width: 44px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tipo:hover { border-color: var(--borde-fuerte); color: #fff; }
.tipo[aria-pressed="true"] { border-color: var(--magenta); background: rgba(214, 0, 116, .12); color: #fff; }
.tipo small { font-size: 12px; color: var(--texto-2); }

/* ----- Filtros ----- */
.filtros-boton {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 10px;
  background: var(--tarjeta); border: 1px solid var(--borde); color: var(--texto); font: inherit; font-weight: 600; cursor: pointer;
}
.filtros-boton svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.filtros-boton span:not(:empty) { background: var(--magenta); color: #fff; border-radius: 999px; font-size: 12px; padding: 1px 8px; }
.filtros {
  display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px;
  background: var(--tarjeta); border: 1px solid var(--borde); border-radius: var(--radio); padding: 16px;
}
.filtros--abierto { display: grid; animation: desplegar .25s var(--curva); }
@keyframes desplegar { from { opacity: 0; transform: translateY(-6px); } }
.filtros__buscar { grid-column: 1 / -1; }
.filtros__resumen { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 18px; min-height: 44px; }
.filtros__resumen p { margin: 0; color: var(--texto-2); font-size: 15px; }
.filtros__limpiar {
  background: none; border: 0; color: var(--magenta-claro); font: inherit; font-weight: 600; cursor: pointer;
  min-height: 44px; padding: 0 4px; text-decoration: underline; text-underline-offset: 4px;
}
@media (min-width: 960px) {
  .filtros-boton { display: none; }
  .filtros { display: grid; margin-top: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filtros__buscar { grid-column: span 2; }
}
@media (min-width: 1140px) { .filtros { grid-template-columns: repeat(5, minmax(0, 1fr)); } .filtros__buscar { grid-column: span 1; } }

/* ----- Tarjetas de autos ----- */
.autos { display: grid; gap: 20px; }
@media (min-width: 700px) { .autos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .autos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.autos__vacio {
  grid-column: 1 / -1; padding: 36px 24px; border: 1px dashed var(--borde-fuerte); border-radius: var(--radio);
  text-align: center; color: var(--texto-2);
}
.autos__vacio strong { display: block; color: var(--texto); font-size: 18px; margin-bottom: 6px; }
.autos__vacio .boton { margin-top: 14px; }

.ficha-auto {
  background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--curva), box-shadow .3s ease, border-color .3s ease;
}
.ficha-auto:hover { transform: translateY(-4px); box-shadow: var(--sombra); border-color: var(--borde-fuerte); }
.ficha-auto__foto {
  position: relative; aspect-ratio: 4 / 3; background: #1E1E24; border: 0; padding: 0; width: 100%;
  cursor: pointer; overflow: hidden; display: block; color: var(--texto-2); font: inherit;
}
.ficha-auto__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--curva); }
.ficha-auto:hover .ficha-auto__foto img { transform: scale(1.04); }
.ficha-auto__sinfoto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; font-size: 14px; }
.ficha-auto__sinfoto img { width: 52%; height: auto; opacity: .35; }
.ficha-auto:hover .ficha-auto__sinfoto img { transform: none; }
.ficha-auto__insignias { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.ficha-auto__insignias span {
  display: flex; align-items: center; gap: 5px; background: rgba(0, 0, 0, .75); color: #fff;
  font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px;
}
.ficha-auto__insignias svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.ficha-auto__estado {
  position: absolute; left: 12px; top: 12px; background: #fff; color: #000;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; padding: 5px 10px; border-radius: 6px;
}
.ficha-auto__num {
  position: absolute; right: 12px; top: 12px; background: rgba(0, 0, 0, .7); color: var(--texto-3);
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px;
}
.ficha-auto__cuerpo { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.ficha-auto__titulo { font-size: 24px; }
.ficha-auto__version { color: var(--texto-2); font-size: 14px; margin: -8px 0 0; }
.ficha-auto__datos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ficha-auto__datos li {
  display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--texto-3);
  background: var(--tarjeta-2); border: 1px solid var(--borde); padding: 5px 10px; border-radius: 8px;
}
.ficha-auto__datos svg { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: var(--texto-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ficha-auto__pie { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--borde); }
.ficha-auto__precio { margin: 0; font-family: var(--titulos); font-weight: 700; font-size: 32px; line-height: 1; }
.ficha-auto__precio small { display: block; font-family: var(--cuerpo); font-size: 12px; font-weight: 500; color: var(--texto-2); margin-bottom: 4px; }
.ficha-auto__wsp {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px; background: var(--magenta); color: #fff; transition: background-color .2s ease;
}
.ficha-auto__wsp:hover { background: var(--magenta-hover); }
.ficha-auto__wsp svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* Tarjetas de espera mientras cargan los autos (evita que la página salte) */
.ficha-auto--esqueleto .ficha-auto__cuerpo span { display: block; height: 16px; border-radius: 6px; background: #22222A; }
.ficha-auto--esqueleto .ficha-auto__cuerpo span:nth-child(1) { width: 70%; height: 22px; }
.ficha-auto--esqueleto .ficha-auto__cuerpo span:nth-child(2) { width: 50%; }
.ficha-auto--esqueleto .ficha-auto__cuerpo span:nth-child(3) { width: 40%; height: 30px; margin-top: 16px; }
.ficha-auto--esqueleto .ficha-auto__foto, .ficha-auto--esqueleto span {
  background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, .05), transparent);
  background-size: 200% 100%; animation: brillo 1.4s ease-in-out infinite;
}
@keyframes brillo { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ----- Vende tu auto ----- */
.vende { background: linear-gradient(135deg, #1A0010 0%, #000 55%); border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }
.vende__grilla { display: grid; gap: 32px; align-items: center; }
.vende__texto { font-size: 18px; color: var(--texto-3); max-width: 560px; }
.vende__pasos { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.vende__pasos li { display: flex; align-items: center; gap: 14px; color: var(--texto-3); }
.vende__pasos span {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--magenta);
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--magenta-claro); font-size: 14px;
}
.vende__caja { background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 18px; padding: 26px; }
.vende__caja h3 { margin-bottom: 14px; }
.vende__caja ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.vende__caja li { display: flex; align-items: center; gap: 10px; }
.vende__caja li svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(255, 79, 163, .15); fill: none; stroke: var(--magenta-claro); stroke-width: 2.5; stroke-linecap: round; }
.vende__caja p { margin: 0; color: var(--texto-2); font-size: 14px; }
@media (min-width: 900px) { .vende__grilla { grid-template-columns: 1.4fr 1fr; gap: 64px; } }

/* ----- Cómo funciona ----- */
.pestanas { display: inline-flex; gap: 4px; padding: 4px; margin: 10px 0 28px; background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 12px; }
.pestanas button {
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 9px; background: none; color: var(--texto-2);
  font: inherit; font-weight: 600; cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
.pestanas button[aria-selected="true"] { background: var(--magenta); color: #fff; }
.pasos { list-style: none; padding: 0; margin: 0 0 48px; display: grid; gap: 16px; }
.pasos[hidden] { display: none; }
.paso { background: var(--tarjeta); border: 1px solid var(--borde); border-radius: var(--radio); padding: 24px; animation: desplegar .35s var(--curva); }
.paso__num { display: block; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--magenta-claro); margin-bottom: 6px; }
.paso h3 { margin-bottom: 8px; }
.paso p { color: var(--texto-2); margin: 0; }
.icono {
  display: block; width: 46px; height: 46px; padding: 11px; border-radius: 12px; margin-bottom: 16px;
  background: rgba(214, 0, 116, .12); fill: none; stroke: var(--magenta-claro); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.servicios { display: grid; gap: 14px; }
.servicio { border-top: 1px solid var(--borde-fuerte); padding: 22px 0 0; }
.servicio .icono { background: var(--tarjeta-2); stroke: var(--texto); }
.servicio h3 { margin-bottom: 8px; }
.servicio p { color: var(--texto-2); margin: 0; }
@media (min-width: 700px) {
  .pasos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .servicios { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (min-width: 1060px) { .servicios { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ----- Guía de compra ----- */
.guia { display: grid; gap: 28px; }
.guia__lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.guia__lista li { display: flex; gap: 16px; padding: 20px; background: var(--tarjeta); border: 1px solid var(--borde); border-radius: var(--radio); }
.guia__lista svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: var(--magenta-claro); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.guia__lista strong { display: block; margin-bottom: 4px; }
.guia__lista p { margin: 0; color: var(--texto-2); font-size: 15px; }
@media (min-width: 900px) { .guia { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }

/* ----- Nosotros ----- */
.nosotros { display: grid; gap: 32px; }
.nosotros__texto p { color: var(--texto-3); font-size: 17px; }
.nosotros__texto strong { color: #fff; }
.compromisos { background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 18px; padding: 26px; align-self: start; }
.compromisos h3 { margin-bottom: 16px; }
.compromisos ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.compromisos li { display: flex; gap: 10px; color: var(--texto-3); }
.compromisos li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; fill: none; stroke: var(--magenta-claro); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.compromisos__redes { border-top: 1px solid var(--borde); padding-top: 18px; }
.compromisos__redes p { color: var(--texto-2); font-size: 14px; margin-bottom: 10px; }
.compromisos__redes div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.compromisos__redes a {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 10px;
  border: 1px solid var(--borde-fuerte); color: var(--texto); text-decoration: none; font-weight: 600; transition: border-color .2s ease;
}
.compromisos__redes a:hover { border-color: var(--texto-2); }
.compromisos__redes svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .nosotros { grid-template-columns: 1.3fr 1fr; gap: 64px; } }

/* ----- Preguntas ----- */
.preguntas { margin-top: 24px; display: grid; gap: 10px; }
.preguntas details { background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 12px; overflow: hidden; }
.preguntas summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; min-height: 44px;
}
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--texto-2); transition: transform .25s ease;
}
.preguntas details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.preguntas details p { padding: 0 20px 18px; color: var(--texto-2); margin: 0; }

/* ----- Contacto ----- */
.canales { display: grid; gap: 14px; margin-top: 24px; }
.canal {
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center;
  padding: 20px; border-radius: 16px; background: var(--tarjeta); border: 1px solid var(--borde);
  color: var(--texto); text-decoration: none; transition: transform .3s var(--curva), border-color .3s ease;
}
.canal:hover { transform: translateY(-3px); border-color: var(--borde-fuerte); }
.canal svg {
  grid-row: span 3; width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--tarjeta-2);
  fill: none; stroke: var(--texto); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.canal__nombre { font-weight: 700; font-size: 17px; }
.canal__dato { color: var(--texto-2); font-size: 15px; overflow-wrap: anywhere; }
.canal__accion { color: var(--magenta-claro); font-weight: 600; font-size: 14px; margin-top: 2px; }
.canal--wsp { background: var(--magenta); border-color: var(--magenta); }
.canal--wsp:hover { border-color: var(--magenta-hover); }
.canal--wsp svg { background: rgba(255, 255, 255, .16); stroke: #fff; }
.canal--wsp .canal__dato, .canal--wsp .canal__accion { color: #fff; }
@media (min-width: 700px) { .canales { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) {
  .canales { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .canal { grid-template-columns: 1fr; row-gap: 2px; }
  .canal svg { grid-row: auto; margin-bottom: 14px; }
}

/* ----- Pie de página ----- */
.pie { border-top: 1px solid var(--borde); padding: 48px 0 100px; background: #000; }
.pie__grilla { display: grid; gap: 32px; }
.pie__marca img { width: 150px; height: auto; margin-bottom: 14px; }
.pie__marca p { color: var(--texto-2); font-size: 14px; max-width: 280px; }
.pie__columna { display: flex; flex-direction: column; align-items: flex-start; }
.pie__columna h2 { font-family: var(--cuerpo); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--texto-2); margin-bottom: 8px; }
.pie__columna a { color: var(--texto-3); text-decoration: none; padding: 8px 0; font-size: 15px; overflow-wrap: anywhere; }
.pie__columna a:hover { color: #fff; }
.pie__redes { display: flex; gap: 8px; margin-top: 8px; }
.pie__redes a {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 10px;
  border: 1px solid var(--borde); transition: border-color .2s ease;
}
.pie__redes a:hover { border-color: var(--texto-2); }
.pie__redes svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pie__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--borde); }
.pie__legal p { margin: 0; color: var(--texto-2); font-size: 13px; }
@media (min-width: 700px) { .pie__grilla { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .pie { padding-bottom: 40px; } }

/* ----- WhatsApp flotante ----- */
.wsp-flotante {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--magenta); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
  transform: scale(0); transition: transform .3s var(--curva), background-color .2s ease;
}
.wsp-flotante:hover { background: var(--magenta-hover); }
.wsp-flotante--visible { transform: scale(1); }
.wsp-flotante svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }

/* ----- Ficha del auto ----- */
.ficha {
  width: 100%; max-width: 1080px; height: 100dvh; max-height: 100dvh; margin: 0 auto; padding: 0; border: 0;
  background: var(--fondo-2); color: var(--texto); overflow-y: auto; overscroll-behavior: contain;
}
.ficha::backdrop { background: rgba(0, 0, 0, .85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ficha[open] { animation: entrar-ficha .3s var(--curva); }
@keyframes entrar-ficha { from { opacity: 0; transform: translateY(16px); } }
.ficha__barra {
  position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center;
  padding: 8px 8px 8px 18px; background: rgba(12, 12, 15, .95); border-bottom: 1px solid var(--borde);
}
.ficha__num { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--texto-2); }
.ficha__cerrar {
  width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--tarjeta-2); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background-color .2s ease;
}
.ficha__cerrar:hover { background: var(--borde-fuerte); }
.ficha__cerrar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.ficha__grilla { display: grid; }
.ficha__medios { background: #000; }
.ficha__visor { position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ficha__visor--entra > img, .ficha__visor--entra > video, .ficha__visor--entra > a, .ficha__visor--entra > div { animation: cambiar-foto .3s ease; }
@keyframes cambiar-foto { from { opacity: 0; } }
.ficha__visor img, .ficha__visor video { width: 100%; height: 100%; object-fit: contain; }
.ficha__sinfoto { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--texto-2); }
.ficha__sinfoto img { width: 50%; height: auto; opacity: .35; }
.ficha__video-enlace { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; text-decoration: none; text-align: center; padding: 24px; }
.ficha__video-enlace svg { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--magenta); fill: none; stroke: #fff; stroke-width: 2; }
.ficha__video-enlace span { color: var(--texto-2); font-size: 14px; }
.ficha__flecha {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .6); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background-color .2s ease;
}
.ficha__flecha:hover { background: rgba(0, 0, 0, .85); }
.ficha__flecha--ant { left: 10px; }
.ficha__flecha--sig { right: 10px; }
.ficha__contador { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, .7); font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.ficha__miniaturas { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.ficha__miniaturas:empty { display: none; }
.ficha__miniaturas button {
  flex: 0 0 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden;
  background: var(--tarjeta-2); color: var(--texto); cursor: pointer; opacity: .6; transition: opacity .2s ease, border-color .2s ease;
}
.ficha__miniaturas button[aria-current="true"] { border-color: var(--magenta-claro); opacity: 1; }
.ficha__miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.ficha__miniaturas svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.ficha__info { padding: 22px 18px 28px; display: flex; flex-direction: column; gap: 16px; }
.ficha__titulo { font-size: clamp(30px, 4vw, 40px); margin: 0; }
.ficha__precio { font-family: var(--titulos); font-weight: 700; font-size: 40px; line-height: 1; margin: 0; }
.ficha__datos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--borde); border: 1px solid var(--borde); border-radius: 12px; overflow: hidden; }
.ficha__datos div { background: var(--tarjeta); padding: 12px 14px; }
.ficha__datos dt { font-size: 12px; color: var(--texto-2); text-transform: uppercase; letter-spacing: 1px; }
.ficha__datos dd { margin: 2px 0 0; font-weight: 600; }
.ficha__destacados { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ficha__destacados li { display: flex; align-items: center; gap: 6px; font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--borde); background: var(--tarjeta); }
.ficha__destacados svg { width: 16px; height: 16px; fill: none; stroke: var(--magenta-claro); stroke-width: 2.4; }
.ficha__descripcion { color: var(--texto-3); margin: 0; white-space: pre-line; }
.ficha__acciones { display: grid; gap: 10px; margin-top: 4px; }
.ficha__acciones .boton { width: 100%; }
@media (min-width: 900px) {
  .ficha { height: auto; max-height: calc(100dvh - 48px); margin: auto; border-radius: 18px; }
  .ficha__grilla { grid-template-columns: 1.35fr 1fr; }
  .ficha__info { padding: 28px; }
}

/* ----- Barra de avance de lectura ----- */
.avance {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70;
  background: var(--magenta); transform-origin: 0 50%; transform: scaleX(0);
}

/* ----- Transiciones al hacer scroll (sobrias) ----- */
.js .aparece { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--curva), transform .6s var(--curva); }
.js .aparece.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .aparece { opacity: 1; transform: none; }
}

/* ===== Varias páginas ===== */
.menu a[aria-current="page"] { color: #fff; font-weight: 600; }
@media (min-width: 1140px) {
  .menu a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--magenta); border-radius: 0; }
}

/* Espacios para fotos: si la foto aún no existe, se ve solo el fondo oscuro (app.js marca .sin-foto) */
.con-fondo { position: relative; isolation: isolate; }
.con-fondo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .78) 55%, rgba(0, 0, 0, .5) 100%), var(--foto) center / cover no-repeat;
}
.con-fondo.sin-foto::before { display: none; }

/* Cabecera de cada página interior */
.cabeza-pagina {
  padding: 40px 0 44px; border-bottom: 1px solid var(--borde);
  background: radial-gradient(ellipse 60% 80% at 90% 0%, rgba(214, 0, 116, .16), transparent 70%), #050507;
}
.cabeza-pagina h1 { font-size: clamp(36px, 5.4vw, 62px); max-width: 820px; margin-bottom: 14px; }
.cabeza-pagina__bajada { color: var(--texto-3); font-size: 18px; max-width: 640px; margin: 0; }
@media (min-width: 900px) { .cabeza-pagina { padding: 64px 0 72px; } }
.miga { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--texto-2); margin-bottom: 22px; }
.miga a { color: var(--texto-3); text-decoration: none; }
.miga a:hover { color: #fff; text-decoration: underline; }

.centrado { display: flex; justify-content: center; margin-top: 32px; }

/* Llamado a vender (Inicio) */
.banner { padding: 64px 0; border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); background: linear-gradient(135deg, #1A0010 0%, #000 60%); }
.banner__fila { display: grid; gap: 24px; align-items: center; }
.banner p:not(.etiqueta) { color: var(--texto-3); font-size: 18px; max-width: 580px; margin: 0; }
@media (min-width: 900px) { .banner { padding: 88px 0; } .banner__fila { grid-template-columns: 1fr auto; gap: 48px; } }

/* Cierre (Inicio) */
.cierre { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cierre p { color: var(--texto-2); font-size: 18px; }
.cierre__botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* Foto del equipo (Nosotros) */
.foto-espacio {
  margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--borde);
  background: var(--foto) center / cover no-repeat, var(--tarjeta);
}
.foto-espacio.sin-foto { display: none; }
@media (min-width: 900px) { .nosotros__texto { grid-row: span 2; } }

a.ficha-auto__foto { text-decoration: none; }

/* ===== Movimiento y cercanía (Inicio) ===== */
/* Frase que va cambiando en la portada */
.rotador { display: block; position: relative; height: 1.05em; overflow: hidden; color: var(--magenta-claro); }
.rotador span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(100%); }
.rotador span:first-child { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .rotador span { animation: rotar 12s var(--curva) infinite; }
  .rotador span:first-child { opacity: 0; transform: translateY(100%); }
  .rotador span:nth-child(2) { animation-delay: 3s; }
  .rotador span:nth-child(3) { animation-delay: 6s; }
  .rotador span:nth-child(4) { animation-delay: 9s; }
}
@keyframes rotar {
  0% { opacity: 0; transform: translateY(100%); }
  4%, 22% { opacity: 1; transform: none; }
  26%, 100% { opacity: 0; transform: translateY(-100%); }
}
@media (max-width: 420px) { .rotador { font-size: .82em; } }

/* Luz que se mueve lento detrás de la portada */
@media (prefers-reduced-motion: no-preference) {
  .portada { background-size: 140% 140%, 100% 100%; animation: luz 14s ease-in-out infinite alternate; }
}
@keyframes luz { from { background-position: 0% 0%, 0 0; } to { background-position: 100% 60%, 0 0; } }

/* Borde suave que recorre el buscador */
.buscador { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .buscador::before {
    content: ""; position: absolute; inset: -1px; z-index: 1; pointer-events: none; border-radius: 19px; padding: 1px;
    background: conic-gradient(from var(--giro, 0deg), transparent 0 70%, rgba(255, 79, 163, .9) 85%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    animation: girar-borde 6s linear infinite;
  }
}
@property --giro { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes girar-borde { to { --giro: 360deg; } }
.portada__grilla { isolation: isolate; }

/* ¿Qué necesitas? */
.necesidades { padding-bottom: 32px; }
.necesidades__grilla { display: grid; gap: 14px; margin-top: 24px; }
.necesidad {
  display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 16px;
  background: var(--tarjeta); border: 1px solid var(--borde); color: var(--texto); text-decoration: none;
  transition: transform .3s var(--curva), border-color .3s ease, background-color .3s ease;
}
.necesidad svg {
  width: 48px; height: 48px; padding: 12px; border-radius: 12px; margin-bottom: 10px;
  background: rgba(214, 0, 116, .12); fill: none; stroke: var(--magenta-claro); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: background-color .3s ease, stroke .3s ease;
}
.necesidad strong { font-family: var(--titulos); font-size: 24px; font-weight: 700; }
.necesidad span { color: var(--texto-2); font-size: 15px; }
.necesidad em { font-style: normal; font-weight: 600; font-size: 15px; color: var(--magenta-claro); margin-top: auto; padding-top: 10px; }
.necesidad b { display: inline-block; transition: transform .3s var(--curva); }
.necesidad:hover { transform: translateY(-4px); border-color: var(--magenta); background: #18121A; }
.necesidad:hover svg { background: var(--magenta); stroke: #fff; }
.necesidad:hover b { transform: translateX(5px); }
@media (min-width: 700px) { .necesidades__grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .necesidades__grilla { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Cinta de marcas */
.marcas { padding: 28px 0 40px; overflow: hidden; }
.marcas__titulo { color: var(--texto-2); font-size: 15px; margin-bottom: 16px; }
.marcas__cinta {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marcas__pista { display: flex; width: max-content; gap: 48px; animation: cinta-marcas 40s linear infinite; }
.marcas__cinta:hover .marcas__pista { animation-play-state: paused; }
.marcas span {
  font-family: var(--titulos); font-weight: 700; font-size: 28px; color: #4A4A55; white-space: nowrap;
  transition: color .2s ease;
}
.marcas span:hover { color: var(--texto); }
@keyframes cinta-marcas { to { transform: translateX(calc(-50% - 24px)); } }

/* ===== Autos vendidos ===== */
.ficha-auto__estado--vendido { background: var(--magenta); color: #fff; }
.ficha-auto--vendido .ficha-auto__precio { font-size: 22px; }
.ficha-auto__parecido {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--borde-fuerte); color: var(--texto); font-weight: 600; font-size: 14px; text-decoration: none;
  transition: border-color .2s ease;
}
.ficha-auto__parecido:hover { border-color: var(--magenta-claro); }
.vendidos { border-top: 1px solid var(--borde); }
.vendidos[hidden] { display: none; }

/* Las fotos de celular son verticales: en el teléfono la galería usa un formato más alto */
@media (max-width: 899px) { .ficha__visor { aspect-ratio: 4 / 5; } }
.ficha__precio--vendido { font-size: 28px; color: var(--magenta-claro); }
/* Que la fila de miniaturas no ensanche la ficha: se desliza dentro de su espacio */
.ficha__grilla { grid-template-columns: minmax(0, 1fr); }
.ficha__medios, .ficha__info { min-width: 0; }
@media (min-width: 900px) { .ficha__grilla { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }

/* ===== Auditoría 23-10-2026: compatibilidad en todos los aparatos ===== */
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* En pantallas táctiles (celular, iPad) los efectos de "pasar el mouse" quedaban pegados al tocar */
@media (hover: none) {
  .ficha-auto:hover, .canal:hover, .necesidad:hover, .servicio:hover, .boton:hover { transform: none; box-shadow: none; }
  .ficha-auto:hover .ficha-auto__foto img { transform: none; }
  .necesidad:hover b { transform: none; }
  .ficha-auto:active, .necesidad:active, .canal:active { transform: scale(.985); }
}

/* La portada se ve siempre, aunque el internet esté lento: su animación es solo de CSS */
.js .portada .aparece { opacity: 1; transform: none; transition: none; animation: entrar .7s var(--curva) both; }
.js .portada .buscador.aparece { animation-delay: .15s; }
@keyframes entrar { from { opacity: 0; transform: translateY(14px); } }

/* iPhone antiguos: 100vh primero, 100dvh si el navegador lo entiende */
.ficha { height: 100vh; max-height: 100vh; }
@supports (height: 100dvh) { .ficha { height: 100dvh; max-height: 100dvh; } }
@media (min-width: 900px) {
  .ficha { height: auto; max-height: calc(100vh - 48px); }
  @supports (height: 100dvh) { .ficha { height: auto; max-height: calc(100dvh - 48px); } }
}
/* Navegadores sin ventana emergente nativa (iOS anterior a 15.4) */
.ficha--simple[open] { position: fixed; inset: 0; z-index: 200; display: block; }
.sin-scroll { overflow: hidden; }

/* Textos chicos un poco más grandes (se leían justos en Android chicos) */
.ficha-auto__num, .ficha-auto__estado, .ficha-auto__insignias span, .ficha-auto__precio small { font-size: 13px; }

/* Zonas para tocar con el dedo de al menos 44 px */
.miga a { display: inline-block; padding: 12px 4px; margin: -12px -4px; }
.buscador__nota a { display: inline-block; padding: 10px 2px; margin: -10px 0; }

/* Botón flotante respetando la barra inferior del iPhone */
.wsp-flotante { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); right: calc(18px + env(safe-area-inset-right, 0px)); }

/* ===== Ficha más completa ===== */
.ficha-auto__estado--etiqueta { background: #fff; color: #000; letter-spacing: .5px; }
.ficha__texto h3 { font-size: 22px; margin-bottom: 8px; }
.ficha__equipo h3 { font-size: 18px; margin-bottom: 10px; }
.ficha__equipo ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ficha__equipo li { display: flex; align-items: center; gap: 8px; color: var(--texto-3); font-size: 15px; }
.ficha__equipo svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--magenta-claro); stroke-width: 2.4; }
@media (min-width: 560px) { .ficha__equipo ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ficha__aviso { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--borde); color: var(--texto-2); font-size: 13px; line-height: 1.5; }
.ficha__acciones .boton[hidden] { display: none; }

/* ===== Descripción estándar de cada auto ===== */
.ficha-auto__titular { margin: -2px 0 0; color: var(--texto-3); font-size: 15px; line-height: 1.45; }
.ficha__nota {
  padding: 16px 18px; border-radius: 12px; background: rgba(214, 0, 116, .08); border: 1px solid rgba(255, 79, 163, .35);
}
.ficha__nota h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 6px; }
.ficha__nota h3 svg { width: 20px; height: 20px; fill: none; stroke: var(--magenta-claro); stroke-width: 2; stroke-linecap: round; }
.ficha__nota p { margin: 0; color: var(--texto-3); }
#ficha-descripcion { display: grid; gap: 20px; }

/* ===== Horario ===== */
.pie__horario { color: var(--texto-2); font-size: 14px; line-height: 1.5; margin: 8px 0 0; }
.horario {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; padding: 20px; border-radius: 16px;
  background: var(--tarjeta); border: 1px solid var(--borde);
}
.horario svg { width: 44px; height: 44px; flex-shrink: 0; padding: 10px; border-radius: 12px; background: rgba(214, 0, 116, .12); fill: none; stroke: var(--magenta-claro); stroke-width: 2; stroke-linecap: round; }
.horario strong { display: block; font-size: 17px; margin-bottom: 4px; }
.horario p { margin: 0; color: var(--texto-2); }
.horario p + p { margin-top: 4px; }

/* ===== Tarjetas alineadas: misma altura de bloques en todos los autos ===== */
.ficha-auto__version { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ficha-auto__titular {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.45em * 2);
}
.ficha-auto__datos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 32px; gap: 6px; min-height: 70px; }
.ficha-auto__datos li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Automotora online: compromisos ===== */
.online { background: linear-gradient(180deg, var(--fondo-2), #000); border-bottom: 1px solid var(--borde); }
.online__lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.online__lista li {
  display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 16px;
  background: var(--tarjeta); border: 1px solid var(--borde);
}
.online__lista li:first-child { border-color: var(--magenta); background: linear-gradient(160deg, rgba(214, 0, 116, .16), var(--tarjeta) 60%); }
.online__lista svg {
  width: 48px; height: 48px; padding: 12px; border-radius: 12px; margin-bottom: 8px;
  background: rgba(214, 0, 116, .12); fill: none; stroke: var(--magenta-claro); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.online__lista strong { font-family: var(--titulos); font-size: 22px; font-weight: 700; line-height: 1.15; }
.online__lista span { color: var(--texto-2); font-size: 15px; }
@media (min-width: 700px) { .online__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .online__lista { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ficha__seguro {
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 10px;
  background: var(--tarjeta-2); color: var(--texto-3); font-size: 14px; font-weight: 600;
}
.ficha__seguro svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--magenta-claro); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ficha__seguro[hidden] { display: none; }
