/* 1. BOTÓN FLOTANTE DE WHATSAPP */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: var(--color-whatsapp-flotante);
  color: var(--color-white);
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  -ms-border-radius: 50% !important;
  -o-border-radius: 50% !important;
  -webkit-transition: transform 0.3s ease, background-color 0.3s ease;
  -moz-transition: transform 0.3s ease, background-color 0.3s ease;
  -ms-transition: transform 0.3s ease, background-color 0.3s ease;
  -o-transition: transform 0.3s ease, background-color 0.3s ease;
}

/* El SVG inyectado dentro del botón flotante */
.whatsapp-float-btn svg {
  width: 32px !important;
  height: 32px !important;
  fill: var(--color-white) !important;
  display: block;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
}

/* 2. ÍCONOS DEL FOOTER (GENERAL) */
.footer-global svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px;
  max-height: 20px;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

.telefonos p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

/* Redes Sociales (Instagram / Facebook) */
.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.social-links a svg {
  width: 22px !important;
  height: 22px !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-links a:hover svg {
  transform: translateY(-2px);
  opacity: 0.8;
}

/* 3. RESPONSIVO MÓVIL */
@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float-btn svg {
    width: 28px !important;
    height: 28px !important;
  }
}

/* ESTILOS GENERALES DEL FOOTER */
.footer-global {
  background-color: var(--color-blue);
  color: var(--color-white);
  padding: 50px 20px 20px 20px;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 15px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-brand .site-logo {
  width: 4rem;
  height: 4rem;
  margin-bottom: 15px;
}

.footer-brand .brand-desc {
  line-height: 1.5;
  margin-bottom: 10px;
}

.footer-brand .legal-info {
  color: var(--color-white);
  font-size: 13px;
  margin-bottom: 15px;
}

/* HOVER GLOBAL UNIFICADO (AMARILLO + SUBRAYADO) */
.footer-global a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

/* Regla única de hover para TODOS los enlaces del footer */
.footer-global a:hover {
  color: var(--color-yellow);
  text-decoration: underline !important;
}

/* LISTAS (COLUMNA 2 Y COLUMNA 3) */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Íconos SVG dentro del Footer */
svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor;
  flex-shrink: 0;
}

/* Redes Sociales */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a svg {
  width: 22px !important;
  height: 22px !important;
  transition: transform 0.2s ease;
}

.social-links a:hover svg {
  transform: translateY(-2px);
  fill: var(--color-yellow);
}

/* Barra de Copyright */
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--color-blue);
  text-align: center;
  font-size: 13px;
  color: var(--color-bg-light);
}

.footer-brand .logo-link {
  display: inline-block;
  margin-bottom: 40px;
}
.footer-brand .site-logo {
  display: block;
  object-fit: contain;
  margin-bottom: 0;
}

/* RESPONSIVO MÓVIL */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}