/* ==========================================================================
   LD Autos — footer del sitio (siempre cargado, en toda página, vía
   wp_footer). Autocontenido: no depende de ld-autos.css, que solo se
   enqueuea en páginas de vehículos/búsqueda/home.
   ========================================================================== */

.ld-site-footer{
  position:relative;
  background:#0a0a0a;
  border-top:1px solid rgba(243,237,230,0.1);
  overflow:hidden;
  padding:80px 0 0;
  font-family:'Archivo', Arial, sans-serif;
  -webkit-font-smoothing:antialiased;
}
.ld-footer-glow{
  position:absolute; top:-200px; left:50%; transform:translateX(-50%);
  width:900px; height:400px;
  background:radial-gradient(ellipse at center, rgba(179,18,27,0.28), transparent 70%);
  pointer-events:none;
}
.ld-footer-wrap{
  position:relative; z-index:1;
  max-width:1240px; margin:0 auto; padding:0 32px;
}

.ld-footer-top{
  display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap;
  gap:36px; padding-bottom:56px; border-bottom:1px solid rgba(243,237,230,0.1);
}
.ld-footer-brand{ max-width:420px; }
.ld-footer-logo{ height:44px; width:auto; margin-bottom:18px; }
.ld-footer-brand p{ margin:0; font-size:14.5px; line-height:1.65; color:#9a9a9a; }

.ld-footer-ctas{ display:flex; flex-wrap:wrap; gap:14px; }
.ld-footer-btn{
  display:inline-flex; align-items:center; gap:9px;
  font-family:'Oswald', Arial, sans-serif; font-size:13px; letter-spacing:.08em; text-transform:uppercase;
  font-weight:600; padding:14px 24px; border-radius:999px;
  text-decoration:none; white-space:nowrap;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.ld-footer-btn svg{ width:18px; height:18px; flex-shrink:0; }
.ld-footer-btn-primary{
  background:#b3121b; color:#fff;
  box-shadow:0 10px 26px -10px rgba(224,26,36,0.7);
}
.ld-footer-btn-primary:hover{ background:#e01a24; transform:translateY(-2px); }
.ld-footer-btn-outline{
  background:transparent; color:#f3ede6;
  border:1.5px solid rgba(243,237,230,0.28);
}
.ld-footer-btn-outline:hover{ border-color:#f3ede6; background:rgba(243,237,230,0.06); transform:translateY(-2px); }

.ld-footer-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:48px;
  padding:56px 0;
}
.ld-footer-nav a{
  display:block; color:#f3ede6; text-decoration:none; font-size:14.5px;
  margin-bottom:14px; transition:color .2s ease;
}
.ld-footer-nav a:last-child{ margin-bottom:0; }
.ld-footer-nav a:hover{ color:#e01a24; }
.ld-footer-col h4{
  margin:0 0 20px; font-family:'Oswald', Arial, sans-serif; font-size:13px;
  letter-spacing:.12em; text-transform:uppercase; font-weight:600; color:#e01a24;
}
.ld-footer-link{
  display:inline-flex; align-items:center; gap:10px;
  color:#f3ede6; text-decoration:none; font-size:15px;
  transition:color .2s ease;
}
.ld-footer-link:hover{ color:#e01a24; }
.ld-footer-link svg{ width:19px; height:19px; flex-shrink:0; color:#e01a24; }

.ld-footer-address{
  display:flex; align-items:flex-start; gap:10px;
  margin-top:16px; font-size:14.5px; line-height:1.5; color:#c9c9c9;
}
.ld-footer-address svg{ width:19px; height:19px; flex-shrink:0; color:#e01a24; margin-top:1px; }
.ld-footer-btn-mapa{
  margin-top:18px; padding:10px 20px; font-size:12px;
}

.ld-footer-horario{ display:flex; gap:12px; align-items:flex-start; }
.ld-footer-horario svg{ width:19px; height:19px; flex-shrink:0; color:#e01a24; margin-top:2px; }
.ld-footer-horario p{ margin:0 0 6px; font-size:14.5px; line-height:1.6; color:#c9c9c9; }
.ld-footer-horario p:last-child{ margin-bottom:0; }

.ld-footer-social{ display:flex; gap:12px; }
.ld-footer-social a{
  display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%;
  border:1.5px solid rgba(243,237,230,0.28); color:#f3ede6;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.ld-footer-social a:hover{ background:#e01a24; border-color:#e01a24; transform:translateY(-2px); }
.ld-footer-social svg{ width:20px; height:20px; }

.ld-footer-bottom{
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:16px;
  padding:26px 0; border-top:1px solid rgba(243,237,230,0.1);
  text-align:center;
}
.ld-footer-bottom span{ font-size:13px; color:#7a7a7a; letter-spacing:.02em; }
.ld-footer-rok{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13.5px; color:#a8a8a8; text-decoration:none;
  transition:color .2s ease;
}
.ld-footer-rok:hover{ color:#f3ede6; }
.ld-footer-rok img{ height:20px; width:auto; display:block; }

@media (min-width: 620px){
  .ld-footer-bottom{ justify-content:space-between; }
}

@media (max-width: 1000px){
  .ld-footer-grid{ grid-template-columns:repeat(2,1fr); gap:36px 32px; }
}

@media (max-width: 760px){
  .ld-site-footer{ padding-top:56px; }
  .ld-footer-top{ flex-direction:column; align-items:flex-start; padding-bottom:40px; }
  .ld-footer-ctas{ width:100%; }
  .ld-footer-btn{ flex:1 1 auto; justify-content:center; }
  .ld-footer-grid{ grid-template-columns:1fr; gap:36px; padding:40px 0; }

  /* Menú dropdown de Salient (mobile): más separación entre ítems.
     El !important es porque el propio Salient trae su reset de margin
     en .menu li con esa misma especificidad. */
  .menu.menuopen li{
    margin:0 0 20px 0 !important;
  }
}
