.footer {
  background: var(--primary);
  color: var(--white);
}

.footer-top {
  padding: 80px 0;
  border-bottom: 1px solid rgba(74, 144, 217, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.125rem;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(74, 144, 217, 0.3);
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  padding: 6px 0;
  transition: all var(--transition-fast);
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 16px;
}

.footer-links a:hover::before {
  width: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

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

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding: 24px 0;
  background: var(--primary-dark);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: all var(--transition-base);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  animation: none;
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
  margin-top: 2px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-top {
    padding: 60px 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .whatsapp-float {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
    bottom: 24px;
    right: 24px;
  }
}

@media (max-width: 480px) {
  .footer-bottom-links {
    flex-direction: column;
    gap: 12px;
  }
}
