footer {
  position: absolute;
  width: 100%;
  z-index: 1;
}

.foot-dev * {
  background: #212121 !important;
  color: aliceblue;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* ============================================
   FOOTER.CSS - ESTILOS PREMIUM
   Footer moderno con waves, animaciones y diseño brutal
   ============================================ */

/* ============================================
   VARIABLES
   ============================================ */
:root {
  --footer-bg: #044535;
  --footer-bg-dark: #033327;
  --footer-accent: #ffc400;
  --footer-text: #ffffff;
  --footer-text-muted: rgba(255, 255, 255, 0.8);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   FOOTER PRINCIPAL
   ============================================ */
.footer-premium {
  position: relative;
  background: linear-gradient(
    180deg,
    var(--footer-bg) 0%,
    var(--footer-bg-dark) 100%
  );
  color: var(--footer-text);
  margin-top: 100px;
  overflow: hidden;
}

/* ============================================
   WAVE DIVISOR
   ============================================ */
.footer-wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

.wave-shape-fill {
  fill: var(--footer-bg);
}

/* ============================================
   CONTENIDO DEL FOOTER
   ============================================ */
.footer-content {
  padding: 80px 0 40px 0;
  position: relative;
  z-index: 2;
}

.footer-section {
  margin-bottom: 30px;
}

/* ============================================
   BOX DE INFORMACIÓN
   ============================================ */
.footer-info-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 20px;
  border: 2px solid rgba(255, 196, 0, 0.2);
  transition: all var(--transition-smooth);
  height: 100%;
}

.footer-info-box:hover {
  transform: translateY(-10px);
  border-color: var(--footer-accent);
  box-shadow: 0 15px 40px rgba(255, 196, 0, 0.3);
}

/* ============================================
   HEADER DE SECCIÓN
   ============================================ */
.footer-icon-header,
.map-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--footer-accent);
}

.footer-icon-header i,
.map-header i {
  font-size: 2.5rem !important;
  color: var(--footer-accent);
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(255, 196, 0, 0.5));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(255, 196, 0, 0.8));
  }
}

.footer-icon-header h4,
.map-header h4 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: var(--footer-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   ITEMS DE CONTACTO
   ============================================ */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 196, 0, 0.1);
  transform: translateX(10px);
}

.contact-item i {
  font-size: 1.8rem !important;
  color: var(--footer-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-text {
  flex: 1;
}

.contact-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--footer-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.contact-text a,
.contact-text p {
  color: var(--footer-text-muted);
  font-size: 1.1rem;
  margin: 0;
  transition: color 0.3s ease;
  text-decoration: none;
}

.contact-text a:hover {
  color: var(--footer-accent);
}

/* ============================================
   REDES SOCIALES
   ============================================ */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--footer-accent);
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.social-icon i {
  font-size: 1.8rem !important;
  color: var(--footer-accent);
  transition: all var(--transition-smooth);
}

.social-icon:hover {
  background: var(--footer-accent);
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 10px 25px rgba(255, 196, 0, 0.5);
}

.social-icon:hover i {
  color: var(--footer-bg-dark);
}

/* ============================================
   MAPA
   ============================================ */
.footer-map-wrapper {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  border: 2px solid rgba(255, 196, 0, 0.2);
  transition: all var(--transition-smooth);
  height: 100%;
}

.footer-map-wrapper:hover {
  border-color: var(--footer-accent);
  box-shadow: 0 15px 40px rgba(255, 196, 0, 0.3);
}

.map-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 3px solid var(--footer-accent);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============================================
   FOOTER BOTTOM (COPYRIGHT)
   ============================================ */
.footer-bottom {
  background: var(--footer-bg-dark);
  border-top: 3px solid var(--footer-accent);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.footer-copyright,
.footer-credits {
  margin-bottom: 10px;
  width: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000b4;
  margin: 0;
  padding: 20px;
}

.footer-credits {
  background-color: #181717;
  margin: 0;
  padding: 10px;
}

.footer-copyright p,
.footer-credits p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--footer-text-muted);
}

.footer-copyright strong {
  color: var(--footer-accent);
  font-weight: 700;
}

.powered-label {
  color: var(--footer-text-muted);
  font-weight: 600;
}

.developer-link {
  color: var(--footer-accent);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  padding: 5px 15px;
  border-radius: 8px;
  background: rgba(255, 196, 0, 0.1);
  margin-left: 10px;
}

.developer-link:hover {
  background: var(--footer-accent);
  color: var(--footer-bg-dark);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(255, 196, 0, 0.5);
}

.developer-link i {
  font-size: 1rem !important;
}

/* ============================================
   BOTÓN VOLVER ARRIBA
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--footer-accent), #ffb700);
  color: var(--footer-bg-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 196, 0, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
  transition: all var(--transition-smooth);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 32px rgba(255, 196, 0, 0.6);
}

.back-to-top i {
  font-size: 2rem !important;
  animation: bounce-arrow 1.5s ease-in-out infinite;
}

@keyframes bounce-arrow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 992px) {
  .footer-content {
    padding: 60px 0 30px 0;
  }

  .footer-icon-header h4,
  .map-header h4 {
    font-size: 1.5rem;
  }

  .map-container {
    height: 350px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .developer-link {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 600px) {
  .footer-premium {
    margin-top: 60px;
  }

  .footer-wave {
    top: -60px;
  }

  .footer-wave svg {
    height: 80px;
  }

  .footer-content {
    padding: 40px 0 20px 0;
  }

  .footer-info-box,
  .footer-map-wrapper {
    padding: 25px 20px;
  }

  .footer-icon-header,
  .map-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-icon-header h4,
  .map-header h4 {
    font-size: 1.3rem;
  }

  .footer-icon-header i,
  .map-header i {
    font-size: 2rem !important;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 15px 10px;
  }

  .contact-item:hover {
    transform: none;
  }

  .contact-text {
    width: 100%;
  }

  .map-container {
    height: 300px;
  }

  .social-links {
    margin-top: 20px;
  }

  .social-icon {
    width: 45px;
    height: 45px;
  }

  .social-icon i {
    font-size: 1.5rem !important;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  .footer-copyright p,
  .footer-credits p {
    font-size: 0.9rem;
  }

  .developer-link {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
  }

  .back-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .back-to-top i {
    font-size: 1.5rem !important;
  }
}

/* ============================================
   ACCESIBILIDAD
   ============================================ */
.back-to-top:focus,
.social-icon:focus,
.developer-link:focus {
  outline: 3px solid var(--footer-accent);
  outline-offset: 4px;
}

/* ============================================
   OPTIMIZACIONES
   ============================================ */
.footer-info-box,
.footer-map-wrapper,
.social-icon,
.back-to-top {
  will-change: transform;
  backface-visibility: hidden;
}
