/* Solis Motor's · sitio informativo (colores de la marca: azul del logo y azul marino) */
:root {
  --acento: #1d5fe0;
  --acento-2: #1548b4;
  --acento-claro: #6ea0ff;
  --negro: #070d1d;
  --negro-2: #0f1a33;
  --texto: #1d222a;
  --texto-2: #5b6573;
  --fondo: #f5f6f8;
  --blanco: #ffffff;
  --borde: #e4e7ec;
  --radio: 14px;
  --sombra: 0 10px 30px rgba(17, 20, 24, 0.08);
  --titulo: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  color: var(--texto);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--fondo); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--titulo); line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-family: var(--titulo);
  font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; transition: background .15s, transform .15s, box-shadow .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-acento { background: var(--acento); color: #fff; box-shadow: 0 8px 20px rgba(29, 95, 224, .32); }
.btn-acento:hover { background: var(--acento-2); }
.btn-contorno { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-contorno:hover { background: #fff; color: var(--negro); }
.btn-chico { padding: 9px 16px; font-size: 12px; }

/* ── Barra superior ── */
.barra {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 28px;
  padding: 12px clamp(16px, 5vw, 64px);
  background: var(--blanco); transition: box-shadow .2s;
}
.barra.con-sombra { box-shadow: 0 4px 18px rgba(17, 20, 24, .08); }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca-logo { width: 38px; height: 44px; object-fit: contain; border-radius: 6px; }
.marca-texto { font-family: var(--titulo); font-weight: 800; font-size: 19px; letter-spacing: .04em; color: var(--negro); }
.marca-texto strong { color: var(--acento); }
.menu { display: flex; gap: 24px; margin-left: auto; }
.menu a { text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--texto); position: relative; }
.menu a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--acento); transition: right .2s; }
.menu a:hover::after { right: 0; }
.portal {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  font-size: 13px; font-weight: 600; color: var(--texto-2);
  padding: 8px 14px; border: 1px solid var(--borde); border-radius: 999px; white-space: nowrap;
}
.portal svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.portal:hover { color: var(--negro); border-color: var(--negro); }
.menu .portal-menu { display: none; }
.boton-menu { display: none; }

/* ── Portada ── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px;
  padding: clamp(48px, 8vw, 96px) clamp(16px, 5vw, 64px) clamp(56px, 8vw, 110px);
  background: var(--negro);
}
.hero-fondo {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 40%, rgba(29, 95, 224, .5), transparent 45%),
    linear-gradient(115deg, var(--negro) 45%, var(--negro-2) 45%);
}
.hero-contenido, .hero-foto { position: relative; z-index: 1; }
.etiqueta { font-family: var(--titulo); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--acento); margin-bottom: 12px; }
.hero .etiqueta { color: var(--acento-claro); }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; max-width: 14ch; }
.hero-sub { margin-top: 18px; font-size: clamp(16px, 1.5vw, 18.5px); color: #c9ced6; max-width: 46ch; }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-datos { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: clamp(18px, 4vw, 44px); }
.hero-datos li { display: flex; flex-direction: column; border-left: 3px solid var(--acento); padding-left: 12px; }
.hero-datos strong { font-family: var(--titulo); font-size: 22px; }
.hero-datos span { color: #aab2bd; font-size: 13.5px; }
.hero-foto img:first-child { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.5); border: 3px solid rgba(255,255,255,.08); }
.hero-sello { position: absolute; left: -18px; bottom: -18px; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--negro); padding: 10px 16px 10px 10px; border-radius: 16px; box-shadow: 0 14px 30px rgba(0,0,0,.35); font: 800 14px/1.15 var(--titulo); text-transform: uppercase; }
.hero-sello img { width: 34px; height: 40px; object-fit: contain; }

/* ── Secciones ── */
.seccion { padding: clamp(56px, 8vw, 96px) clamp(16px, 5vw, 64px); }
.cabecera { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.cabecera h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.cabecera p:not(.etiqueta) { margin-top: 12px; color: var(--texto-2); }
.cabecera.clara h2 { color: #fff; }
.centro { text-align: center; margin-top: 32px; }

/* ── Inventario ── */
.filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.filtro {
  font: 600 14px var(--titulo); padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--borde); background: var(--blanco); color: var(--texto);
}
.filtro:hover { border-color: var(--negro); }
.filtro.activo { background: var(--negro); border-color: var(--negro); color: #fff; }
.autos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 400px)); justify-content: center; gap: 22px; max-width: 1240px; margin: 0 auto; }
.auto { background: var(--blanco); border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.auto:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17,20,24,.12); }
.auto-foto { aspect-ratio: 4 / 3; background: #dfe3e8; overflow: hidden; }
.miniaturas { display: flex; gap: 6px; padding: 8px 12px 0; }
.miniaturas button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; width: 58px; height: 44px; cursor: pointer; background: none; opacity: .7; }
.miniaturas button.activa, .miniaturas button:hover { border-color: var(--acento); opacity: 1; }
.miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.auto-foto img { width: 100%; height: 100%; object-fit: cover; }
.auto-cuerpo { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.auto-cuerpo h3 { font-size: 18px; }
.auto-cuerpo h3 span { color: var(--texto-2); font-weight: 600; }
.auto-cuerpo ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.auto-cuerpo li { font-size: 12.5px; background: var(--fondo); border-radius: 999px; padding: 4px 10px; color: var(--texto-2); }
.auto-pie { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--borde); }
.auto-pie strong { font-family: var(--titulo); font-size: 14px; white-space: nowrap; }
.auto-pie .btn { white-space: nowrap; }
.sin-autos { text-align: center; padding: 30px; display: grid; gap: 14px; justify-items: center; color: var(--texto-2); }
.busca-por-ti {
  max-width: 1240px; margin: 40px auto 0; padding: 26px 30px; border-radius: var(--radio);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--blanco); border: 1px dashed #c9ced6;
}
.busca-por-ti h3 { font-size: 20px; }
.busca-por-ti p { color: var(--texto-2); margin-top: 4px; }

/* ── Razones ── */
.franja-oscura { background: var(--negro); color: #fff; }
.razones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1140px; margin: 0 auto; }
.razones article { background: var(--negro-2); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radio); padding: 26px; }
.razones .icono { display: grid; place-items: center; min-width: 48px; width: fit-content; height: 48px; padding: 0 10px; border-radius: 12px; background: var(--acento); font: 800 17px var(--titulo); margin-bottom: 16px; }
.razones h3 { font-size: 18px; margin-bottom: 8px; }
.razones p { color: #aab2bd; font-size: 14.5px; }

/* ── Financiamiento ── */
.financiamiento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; max-width: 1240px; margin: 0 auto; }
.financiamiento h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.financiamiento-texto p:not(.etiqueta) { color: var(--texto-2); margin: 16px 0 26px; }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pasos li { display: flex; gap: 16px; align-items: flex-start; background: var(--blanco); border-radius: var(--radio); padding: 18px 20px; box-shadow: var(--sombra); }
.pasos li > span { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--acento); color: #fff; font: 800 16px var(--titulo); }
.pasos p { color: var(--texto-2); font-size: 14.5px; }

/* ── Vende tu auto ── */
.vende { background: var(--blanco); }
.pasos-vende { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1140px; counter-reset: paso; }
.pasos-vende li { text-align: center; padding: 26px 22px; border-radius: var(--radio); background: var(--fondo); }
.pasos-vende li > span { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--acento); color: var(--acento); font: 800 20px var(--titulo); margin-bottom: 14px; }
.pasos-vende h3 { font-size: 18px; margin-bottom: 8px; }
.pasos-vende p { color: var(--texto-2); font-size: 14.5px; }

/* ── Nosotros ── */
.nosotros { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 1240px; margin: 0 auto; }
.nosotros-foto img { width: 100%; max-height: 520px; object-fit: cover; object-position: top; border-radius: var(--radio); box-shadow: var(--sombra); }
.nosotros h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.nosotros-texto p:not(.etiqueta) { color: var(--texto-2); margin-top: 16px; }
.nosotros-texto .nosotros-ubicacion { color: var(--acento-2); font-weight: 600; }

/* ── Contacto ── */
.contacto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 1240px; margin: 0 auto; }
.contacto h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 20px; }
.datos { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.datos li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--borde); }
.datos span { color: var(--texto-2); }
.datos a { font-weight: 600; color: var(--acento); text-decoration: none; }
.redes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.redes a { text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 999px; background: var(--negro); color: #fff; }
.mapa { border-radius: var(--radio); background: var(--negro); overflow: hidden; display: grid; place-items: center; }
.mapa > img { width: 100%; max-width: 520px; }
.mapa .pin { width: 54px; height: 54px; border-radius: 50%; background: var(--acento); display: grid; place-items: center; }
.mapa .pin svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; }
.mapa strong { font: 800 20px var(--titulo); }
.mapa p { color: #aab2bd; }
.mapa iframe { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: var(--radio); }

/* ── Pie ── */
.pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 28px clamp(16px, 5vw, 64px); background: var(--negro); color: #8d96a3; font-size: 13.5px; }
.pie-marca { display: flex; align-items: center; gap: 10px; color: #fff; font: 800 16px var(--titulo); letter-spacing: .04em; }
.pie-marca strong { color: var(--acento); }
.pie-portal { color: #8d96a3; text-decoration: none; border-bottom: 1px dotted #59616c; }
.pie-portal:hover { color: #fff; }
.barra-movil { display: none; }

/* ── Tableta y celular ── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-foto { order: -1; max-width: 560px; width: 100%; margin: 0 auto 10px; }
  .hero-sello { left: 10px; bottom: -14px; }
  .razones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .financiamiento, .contacto, .nosotros { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { padding-bottom: 62px; }
  .barra { gap: 12px; }
  .barra > .portal { display: none; }
  .boton-menu {
    display: flex; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto;
    width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--borde); border-radius: 10px; background: var(--blanco); cursor: pointer;
  }
  .boton-menu span { height: 2px; background: var(--negro); border-radius: 2px; }
  .menu {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--blanco); padding: 8px 16px 18px; box-shadow: 0 16px 30px rgba(17,20,24,.12);
    transform: translateY(-120%); transition: transform .2s; z-index: 25;
  }
  .menu-abierto .menu { transform: none; }
  .menu a { padding: 14px 4px; border-bottom: 1px solid var(--borde); }
  .menu a::after { display: none; }
  .menu .portal-menu { display: inline-flex; margin-top: 14px; align-self: flex-start; border: 1px solid var(--borde); }
  .hero-datos { flex-wrap: wrap; }
  .razones, .pasos-vende { grid-template-columns: 1fr; }
  .busca-por-ti { flex-direction: column; align-items: flex-start; }
  .barra-movil {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--negro); box-shadow: 0 -6px 20px rgba(0,0,0,.25);
  }
  .barra-movil a { text-align: center; padding: 18px 6px; color: #fff; text-decoration: none; font: 700 13px var(--titulo); text-transform: uppercase; letter-spacing: .04em; }
  .barra-movil a:nth-child(2) { background: var(--acento); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
[hidden] { display: none !important; }
