/* Modern Footer 2025 - Clean & Elegant */
.modern-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 170, 255, 0.5), transparent);
}

.footer-main {
  padding: 60px 20px 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
}

/* Footer Brand Section */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  width: 180px;
  height: auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.footer-brand h3 {
  font-size: 24px;
  font-weight: 700;
  color: #00aaff;
  margin: 0;
  letter-spacing: -0.5px;
}

.footer-brand > p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Footer Contact Info */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: #00aaff;
  margin-top: 2px;
}

/* Footer Links Group */
.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-links-column h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 12px;
}

.footer-links-column h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #00aaff, transparent);
  border-radius: 2px;
}

.footer-links-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 0;
}

.footer-links-column ul li a::before {
  content: "→";
  opacity: 0;
  margin-right: 0;
  transition: all 0.2s ease;
}

.footer-links-column ul li a:hover {
  color: #00aaff;
  padding-left: 20px;
}

.footer-links-column ul li a:hover::before {
  opacity: 1;
  margin-right: 8px;
}

/* Social Icons */
.footer-social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.social-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background: #00aaff;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 170, 255, 0.3);
  border-color: #00aaff;
}

/* Newsletter */
.footer-newsletter h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.newsletter-form:focus-within {
  border-color: #00aaff;
  box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.1);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.newsletter-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 170, 255, 0.4);
}

.newsletter-form button svg {
  color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-template-columns: 1fr;
  gap: 0;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #00aaff;
}

.footer-bottom-links .separator {
  color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .footer-links-column:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 40px 20px 30px;
  }
  
  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .footer-links-column:last-child {
    grid-column: auto;
  }
  
  .footer-brand {
    text-align: center;
    align-items: center;
  }
  
  .footer-contact-info {
    align-items: center;
  }
  
  .footer-contact-item {
    justify-content: center;
  }
  
  /* Centrar links en mobile */
  .footer-links-column {
    text-align: center;
  }
  
  .footer-links-column h4 {
    text-align: center;
  }
  
  .footer-links-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links-column ul {
    align-items: center;
  }
  
  .footer-links-column ul li a {
    justify-content: center;
  }
  
  .footer-social-icons {
    justify-content: center;
  }
  
  .footer-bottom .footer-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    width: 140px;
  }
  
  .footer-brand h3 {
    font-size: 20px;
  }
  
  .footer-brand > p {
    font-size: 14px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}