/* ==========================================================================
   LARA MOTOR — Header Ultra-Premium Motorsport & Portal de Archivos 24/7
   Barra doble de alta gama con indicador 24/7, selector Madrid/Barcelona,
   Cartera (€), Menú de Perfil Desplegable, Cerrar Sesión y Menú Móvil.
   ========================================================================== */

html, body {
  overflow-x: clip;
  max-inline-size: 100vw;
}

header.lm-pro-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(7, 9, 14, 0.94) !important;
  backdrop-filter: blur(22px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(160%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55) !important;
  inline-size: 100%;
  max-inline-size: 100vw;
}

/* Barra superior micro (Topbar) */
.lm-topbar {
  background: linear-gradient(90deg, rgba(14, 19, 30, 0.97), rgba(9, 12, 20, 0.99));
  border-bottom: 1px solid rgba(245, 158, 11, 0.16);
  font-size: 0.75rem;
  color: #94a3b8;
}

.lm-topbar-inner {
  max-inline-size: 1280px;
  margin-inline: auto;
  padding: 0.34rem 1.25rem;
  display: flex;
  align-items: safe center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lm-topbar-left {
  display: flex;
  align-items: safe center;
  gap: 0.75rem;
  flex-wrap: wrap;
  min-inline-size: 0;
}

.lm-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.62rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.32);
  color: #4ade80;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.lm-live-short {
  display: none;
}

.lm-live-dot {
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: lmPulse 2s infinite;
  flex-shrink: 0;
}

@keyframes lmPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.88); }
}

.lm-city-Quick {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
  flex-shrink: 0;
}

.lm-city-chip {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.71rem;
  font-weight: 700;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.lm-city-chip.active {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #07090e;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

.lm-topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lm-topbar-right a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
}

.lm-topbar-right a:hover {
  color: #f59e0b;
}

/* Barra principal */
.lm-mainbar {
  max-inline-size: 1280px;
  margin-inline: auto;
  padding: 0 1.25rem;
  block-size: 70px;
  display: flex;
  align-items: safe center;
  justify-content: space-between;
  gap: 0.75rem;
  min-inline-size: 0;
  position: relative;
}

.lm-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
  min-inline-size: 0;
}

.lm-brand-icon {
  inline-size: 40px;
  block-size: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.lm-brand-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.26rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.05;
  white-space: nowrap;
}

.lm-brand-title span {
  color: #f59e0b;
}

.lm-brand-sub {
  display: block;
  font-size: 0.61rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #94a3b8;
  font-weight: 700;
  margin-top: 2px;
  white-space: nowrap;
}

/* Navegación central en cápsula limpia */
.lm-nav-capsule {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  background: rgba(15, 20, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.26rem;
  border-radius: 13px;
  list-style: none;
  margin: 0;
}

.lm-nav-capsule li a {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.42rem 0.72rem;
  border-radius: 9px;
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lm-nav-capsule li a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.lm-nav-capsule li a.lm-nav-vault {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(239, 68, 68, 0.14));
  border: 1px solid rgba(245, 158, 11, 0.42);
  color: #fbbf24;
  font-weight: 800;
}

.lm-nav-capsule li a.lm-nav-vault:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(239, 68, 68, 0.22));
  color: #ffffff;
  transform: translateY(-1px);
}

.lm-nav-capsule li a.lm-nav-dgt {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.16), rgba(59, 130, 246, 0.14));
  border: 1px solid rgba(6, 182, 212, 0.42);
  color: #67e8f9;
  font-weight: 800;
}

.lm-nav-capsule li a.lm-nav-dgt:hover {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.26), rgba(59, 130, 246, 0.22));
  color: #ffffff;
  transform: translateY(-1px);
}

/* Zona derecha: Auth + Cartera (€) + Perfil + Logout */
.lm-auth-zone {
  display: flex;
  align-items: safe center;
  gap: 0.45rem;
  flex-shrink: 0;
  min-inline-size: 0;
  position: relative;
}

.lm-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.38);
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lm-wallet-pill:hover {
  background: rgba(34, 197, 94, 0.22);
  transform: translateY(-1px);
}

.lm-wallet-amount {
  color: #4ade80;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.86rem;
  white-space: nowrap;
}

.lm-wallet-topup-badge {
  background: #22c55e;
  color: #052e16;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.lm-btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.44rem 0.78rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  font-size: 0.79rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lm-btn-login:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(245, 158, 11, 0.45);
}

.lm-btn-admin {
  border-color: rgba(245, 158, 11, 0.55) !important;
  background: rgba(245, 158, 11, 0.14) !important;
  color: #fbbf24 !important;
}

.lm-btn-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  padding: 0.46rem 0.88rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #07090e;
  font-size: 0.79rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.28);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lm-btn-signup:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.42);
}

/* ==========================================================================
   ICONO DE PERFIL + MENÚ DESPLEGABLE DE CUENTA + BOTÓN CERRAR SESIÓN
   ========================================================================== */
.lm-profile-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lm-profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.62rem 0.28rem 0.32rem;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lm-profile-trigger:hover,
.lm-profile-trigger.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.5);
  color: #ffffff;
}

.lm-avatar-circle {
  inline-size: 28px;
  block-size: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #07090e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.78rem;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.lm-avatar-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: #22c55e;
  border: 1.5px solid #07090e;
}

.lm-profile-chevron {
  color: #94a3b8;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.lm-profile-trigger.active .lm-profile-chevron {
  transform: rotate(180deg);
  color: #fbbf24;
}

/* Botón directo de Cerrar Sesión en barra */
.lm-btn-logout-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  inline-size: 36px;
  block-size: 36px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.lm-btn-logout-bar:hover {
  background: rgba(239, 68, 68, 0.24);
  border-color: rgba(239, 68, 68, 0.65);
  color: #fecaca;
  transform: translateY(-1px);
}

/* Menú Desplegable de Perfil */
.lm-profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  inline-size: 290px;
  background: rgba(10, 14, 24, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 0.85rem;
  z-index: 1100;
}

.lm-profile-dropdown.open {
  display: block;
  animation: lmDropFade 0.16s ease-out;
}

@keyframes lmDropFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.lm-drop-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.65rem;
}

.lm-drop-avatar {
  inline-size: 40px;
  block-size: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #07090e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.lm-drop-user-meta {
  min-inline-size: 0;
  flex: 1;
}

.lm-drop-name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lm-drop-name {
  font-weight: 800;
  font-size: 0.9rem;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lm-drop-badge {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  flex-shrink: 0;
}

.lm-drop-email {
  font-size: 0.73rem;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}

.lm-drop-wallet-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  margin-bottom: 0.6rem;
}

.lm-drop-wallet-label {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
}

.lm-drop-wallet-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #4ade80;
}

.lm-drop-wallet-btn {
  background: #22c55e;
  color: #052e16;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.32rem 0.6rem;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
}

.lm-drop-links {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.lm-drop-links a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.52rem 0.65rem;
  border-radius: 9px;
  color: #e2e8f0;
  font-size: 0.81rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.lm-drop-links a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fbbf24;
}

.lm-drop-links a.lm-drop-admin-link {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.22);
}

.lm-drop-divider {
  block-size: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.5rem 0;
}

.lm-drop-logout-btn {
  inline-size: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: 9px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-size: 0.81rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lm-drop-logout-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ffffff;
}

/* Botón Menú Móvil */
.lm-mobile-toggle {
  display: none;
  inline-size: 38px;
  block-size: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: all 0.2s ease;
}

.lm-mobile-toggle:hover,
.lm-mobile-toggle.active {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

/* Drawer Móvil */
.lm-mobile-drawer {
  display: none;
  background: rgba(8, 11, 19, 0.98);
  border-bottom: 1px solid rgba(245, 158, 11, 0.28);
  padding: 0.9rem 1rem 1.15rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

.lm-mobile-drawer.open {
  display: block;
}

/* Tarjeta de sesión dentro del Drawer Móvil */
.lm-mobile-user-card {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.7rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.lm-mobile-user-card.visible {
  display: flex;
}

.lm-mobile-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lm-mobile-user-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #f8fafc;
}

.lm-mobile-user-wallet {
  font-size: 0.76rem;
  font-weight: 700;
  color: #4ade80;
}

.lm-mobile-user-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.lm-mobile-user-actions a,
.lm-mobile-user-actions button {
  padding: 0.38rem 0.65rem;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-family: inherit;
}

.lm-mobile-user-actions .lm-mob-btn-primary {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #07090e;
  border-color: transparent;
  font-weight: 800;
}

.lm-mobile-user-actions .lm-mob-btn-logout {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-weight: 800;
}

.lm-mobile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.48rem;
}

.lm-mobile-grid a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.lm-mobile-grid a.highlight {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(239, 68, 68, 0.12));
  border-color: rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  font-weight: 800;
  justify-content: center;
}

/* Breakpoints */
@media (max-width: 1320px) {
  .lm-wallet-topup-badge {
    display: none;
  }
}

@media (max-width: 1150px) {
  .lm-nav-capsule {
    display: none;
  }
  .lm-topbar-right {
    display: none;
  }
  .lm-mobile-toggle {
    display: inline-flex;
  }
}

/* Breakpoint Móvil (<= 720px): Todo visible en 1 sola línea sin desbordar */
@media (max-width: 720px) {
  .lm-topbar-inner {
    padding: 0.26rem 0.65rem;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.35rem;
  }
  .lm-topbar-left {
    inline-size: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.35rem;
  }
  .lm-live-full {
    display: none;
  }
  .lm-live-short {
    display: inline;
  }
  .lm-live-pill {
    padding: 0.15rem 0.48rem;
    font-size: 0.64rem;
    gap: 0.28rem;
  }
  .lm-city-phone {
    display: none;
  }
  .lm-city-chip {
    font-size: 0.66rem;
    padding: 0.15rem 0.48rem;
  }

  .lm-mainbar {
    padding: 0 0.65rem;
    block-size: 58px;
    gap: 0.35rem;
  }
  .lm-brand {
    gap: 0.42rem;
  }
  .lm-brand-icon {
    inline-size: 32px;
    block-size: 32px;
    border-radius: 8px;
  }
  .lm-brand-icon svg {
    inline-size: 17px;
    block-size: 17px;
  }
  .lm-brand-title {
    font-size: 1.02rem;
  }
  .lm-brand-sub {
    display: none;
  }

  .lm-auth-zone {
    gap: 0.28rem;
  }
  .lm-btn-login {
    padding: 0.35rem 0.48rem;
    font-size: 0.72rem;
    border-radius: 8px;
    block-size: 34px;
  }
  .lm-btn-login span.hide-xs {
    display: none;
  }
  .lm-admin-label {
    display: none;
  }
  .lm-wallet-pill {
    padding: 0.32rem 0.5rem;
    font-size: 0.73rem;
    border-radius: 8px;
    gap: 0.24rem;
    block-size: 34px;
  }
  .lm-wallet-amount {
    font-size: 0.76rem;
  }
  .lm-btn-signup {
    padding: 0.35rem 0.58rem;
    font-size: 0.72rem;
    border-radius: 8px;
    block-size: 34px;
  }
  .lm-profile-trigger {
    padding: 0.2rem 0.38rem 0.2rem 0.22rem;
    border-radius: 8px;
    block-size: 34px;
    gap: 0.22rem;
  }
  .lm-profile-name-text {
    display: none;
  }
  .lm-avatar-circle {
    inline-size: 25px;
    block-size: 25px;
    border-radius: 6px;
    font-size: 0.72rem;
  }
  .lm-btn-logout-bar {
    inline-size: 34px;
    block-size: 34px;
    border-radius: 8px;
  }
  .lm-mobile-toggle {
    inline-size: 34px;
    block-size: 34px;
    border-radius: 8px;
  }
  .lm-profile-dropdown {
    position: fixed;
    top: 94px;
    right: 0.65rem;
    left: 0.65rem;
    inline-size: auto;
    max-inline-size: 360px;
    margin-inline-start: auto;
  }
}

@media (max-width: 360px) {
  .lm-brand-title {
    font-size: 0.94rem;
  }
  .lm-wallet-icon {
    display: none;
  }
}

/* ==========================================================================
   FOOTER ULTRA-PREMIUM UNIFICADO (MÓVIL & DESKTOP)
   ========================================================================== */
footer.lm-pro-footer {
  background: linear-gradient(180deg, rgba(8, 11, 18, 0.98) 0%, #04060a 100%) !important;
  border-top: 1px solid rgba(245, 158, 11, 0.2) !important;
  padding: 2.8rem 0 2rem !important;
  margin-top: 3.5rem !important;
  color: #94a3b8 !important;
  font-size: 0.85rem !important;
  text-align: left !important;
}

footer.lm-pro-footer a[href^="tel"],
footer.lm-pro-footer a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
}

.lm-footer-inner {
  max-inline-size: 1240px;
  margin-inline: auto;
  padding: 0 1.25rem;
}

/* Banner de accesos destacados dentro del Footer */
.lm-footer-cta-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}

.lm-footer-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem 1.15rem;
  border-radius: 14px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.lm-footer-cta-card.dgt {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.14), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(6, 182, 212, 0.38);
}

.lm-footer-cta-card.dgt:hover {
  border-color: rgba(6, 182, 212, 0.7);
  transform: translateY(-2px);
}

.lm-footer-cta-card.ecu {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(245, 158, 11, 0.38);
}

.lm-footer-cta-card.ecu:hover {
  border-color: rgba(245, 158, 11, 0.7);
  transform: translateY(-2px);
}

.lm-footer-cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
}

.lm-footer-cta-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  display: block;
  margin-top: 2px;
}

.lm-footer-cta-arrow {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.38rem 0.7rem;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.lm-footer-cta-card.dgt .lm-footer-cta-arrow {
  background: rgba(6, 182, 212, 0.2);
  color: #67e8f9;
}

.lm-footer-cta-card.ecu .lm-footer-cta-arrow {
  background: rgba(245, 158, 11, 0.22);
  color: #fbbf24;
}

/* Grid principal 4 columnas en Desktop / limpio en Móvil */
.lm-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.lm-footer-brand-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0.85rem 0 1rem;
}

.lm-footer-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.lm-footer-badge {
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lm-footer-col-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.lm-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.lm-footer-list li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.lm-footer-list li a:hover {
  color: #fbbf24;
  transform: translateX(2px);
}

.lm-footer-list li a.lm-foot-highlight-cyan {
  color: #38bdf8;
  font-weight: 700;
}

.lm-footer-list li a.lm-foot-highlight-amber {
  color: #fbbf24;
  font-weight: 700;
}

.lm-footer-wa-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.65rem;
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lm-footer-wa-card:hover {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.06);
}

.lm-footer-wa-city {
  font-size: 0.8rem;
  font-weight: 800;
  color: #f8fafc;
}

.lm-footer-wa-phone {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #4ade80 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lm-footer-wa-sub {
  font-size: 0.7rem;
  color: #64748b;
}

.lm-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.76rem;
  color: #64748b;
}

.lm-footer-bottom a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
}

.lm-footer-bottom a:hover {
  color: #fbbf24;
}

@media (max-width: 1024px) {
  .lm-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 720px) {
  footer.lm-pro-footer {
    padding: 2rem 0 5.5rem !important;
    margin-top: 2.2rem !important;
  }
  .lm-footer-inner {
    padding: 0 1rem;
  }
  .lm-footer-cta-strip {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 1.6rem;
  }
  .lm-footer-cta-card {
    padding: 0.85rem 0.95rem;
  }
  .lm-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 0.9rem;
  }
  .lm-footer-col-brand,
  .lm-footer-col-contact {
    grid-column: 1 / -1;
  }
  .lm-footer-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .lm-footer-wa-card {
    margin-bottom: 0;
    padding: 0.68rem 0.75rem;
  }
  .lm-footer-wa-phone {
    font-size: 0.82rem;
  }
  .lm-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
  }
}

@media (max-width: 380px) {
  .lm-footer-grid,
  .lm-footer-contact-grid,
  .lm-footer-badges {
    grid-template-columns: 1fr;
  }
}
