/* ===== FOOTER  ===== */
.cyber-footer {
  position: relative;
  background: var(--gradient-dark);
  padding: 0;
  overflow: hidden;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.cyber-grid-footer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(250, 218, 37, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 218, 37, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.2;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top, rgba(250, 218, 37, 0.1) 0%, transparent 70%);
}

/* ===== CONTENEDOR PRINCIPAL DEL FOOTER ===== */
.footer {
  position: relative;
  z-index: 2;
  padding: 4rem 0 2rem;
}

.footer-inner {
  position: relative;
}

/* ===== SECCIÓN DE NEWSLETTER ===== */
.footer-newsletter-box {
  margin-bottom: 4rem;
  background: rgba(26, 26, 46, 0.6);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid rgba(250, 218, 37, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

/* ===== EFECTOS DE FONDO DEL NEWSLETTER ===== */
.footer-newsletter-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-glow);
  opacity: 0.1;
  filter: blur(20px);
}

/* ===== LAYOUT DEL NEWSLETTER ===== */
.footer-newsletter-box .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ===== CONTENIDO DEL NEWSLETTER (LADO IZQUIERDO) ===== */
.footer-newsletter-box-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ===== ICONO DEL NEWSLETTER ===== */
.footer-newsletter-box-icon {
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-newsletter-box-icon dotlottie-wc {
  border-radius: 12px;
  filter: drop-shadow(0 0 20px rgba(250, 218, 37, 0.3));
}

/* ===== TEXTO DEL NEWSLETTER ===== */
.footer-newsletter-box-text h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-newsletter-box-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== FORMULARIO DEL NEWSLETTER (LADO DERECHO) ===== */
.footer-newsletter-box-form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.subscribe-form {
  width: 100%;
  max-width: 500px;
}

/* ===== CONTENEDOR DEL INPUT Y BOTÓN ===== */
.footer-newsletter-box-form-box {
  position: relative;
  display: flex;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(250, 218, 37, 0.3);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.footer-newsletter-box-form-box:focus-within {
  border-color: var(--primary);
  box-shadow: var(--shadow-neon);
}

/* ===== INPUT DEL EMAIL ===== */
.footer-newsletter-box-form-box input[type="email"] {
  flex: 1;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--light);
  font-size: 1rem;
  outline: none;
  font-family: var(--font-primary);
}

.footer-newsletter-box-form-box input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== BOTÓN DE SUSCRIPCIÓN ===== */
.footer-newsletter-box-form-box button {
  padding: 1.2rem 2rem;
  background: var(--gradient-primary);
  color: var(--dark);
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.footer-newsletter-box-form-box button:hover {
  transform: scale(1.05);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

/* ===== EFECTO DE BRILLO EN EL BOTÓN ===== */
.footer-newsletter-box-form-box button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.footer-newsletter-box-form-box button:hover::before {
  left: 100%;
}

/* ===== RESPONSIVE PARA NEWSLETTER ===== */
@media (max-width: 768px) {
  .footer-newsletter-box .row {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-newsletter-box {
    padding: 2rem;
  }
  
  .footer-newsletter-box-text h3 {
    font-size: 1.8rem;
  }
  
  .footer-newsletter-box-form-box {
    flex-direction: column;
    border-radius: 8px;
  }
  
  .footer-newsletter-box-form-box input[type="email"] {
    border-bottom: 1px solid rgba(250, 218, 37, 0.3);
  }
  
  .footer-newsletter-box-form-box button {
    width: 100%;
    border-radius: 0 0 8px 8px;
  }
}

/* ===== ENLACES DEL FOOTER ===== */
.footer-links {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.footer-brand {
  position: relative;
}

.brand-logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(250, 218, 37, 0.5));
}

.logo-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-glow);
  filter: blur(15px);
  opacity: 0.3;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--light);
  text-decoration: none;
  transition: var(--transition);
  overflow: hidden;
}

.social-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 218, 37, 0.1);
  border: 1px solid rgba(250, 218, 37, 0.3);
  border-radius: 50%;
  transition: var(--transition);
}

.social-link:hover .social-bg {
  background: var(--gradient-primary);
}

.social-link i {
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.social-link:hover i {
  color: var(--dark);
}

.social-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-glow);
  border-radius: 50%;
  opacity: 0;
  filter: blur(10px);
  transition: var(--transition);
}

.social-link:hover .social-glow {
  opacity: 0.5;
}

.social-link:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.nav-column {
  position: relative;
}

.nav-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  margin-bottom: 0.75rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
  transform: translateX(5px);
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 218, 37, 0.2);
  position: relative;
  z-index: 2;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-badges {
  display: flex;
  gap: 1rem;
}

.security-badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(250, 218, 37, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(250, 218, 37, 0.3);
  overflow: hidden;
}

.security-badge .badge-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-glow);
  opacity: 0.2;
  filter: blur(10px);
}

.security-badge i {
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

.security-badge span {
  position: relative;
  z-index: 2;
}