/* FOOTER STYLES */
.site-footer {
  background: linear-gradient(135deg, #0e1a2b 0%, #12263c 40%, #1c334d 100%);
  color: #e2e8f0;
  padding: 5rem 0 0;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
  border-top: 1px solid rgba(102, 187, 106, 0.22);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><path d="M30,30 Q50,10 70,30 T90,50 Q70,70 50,90 T10,50 Q30,30 50,10 T90,30" fill="none" stroke="%23ffffff" stroke-width="1"/></svg>');
  background-size: 120px;
  background-repeat: repeat;
  z-index: 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.footer-logo-link:hover {
  transform: translateY(-3px);
}

.footer-logo-link:focus-visible,
.footer-nav-link:focus-visible,
.social-link:focus-visible,
.contact-item a:focus-visible,
.newsletter-btn:focus-visible,
.newsletter-input:focus-visible,
.legal-link:focus-visible,
.back-to-top:focus-visible {
  outline: 3px solid rgba(102, 187, 106, 0.36);
  outline-offset: 2px;
}

.footer-logo {
  height: 70px;
  width: auto;
}

.footer-tagline {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-about {
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link.youtube:hover {
  background-color: #ff0000;
  color: white;
}

.social-link.facebook:hover {
  background-color: #1877f2;
  color: white;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  color: white;
}

.social-link.twitter:hover {
  background-color: #000000;
  color: white;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
}

.footer-nav-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-nav-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #2a7f62, #66bb6a);
  border-radius: 3px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-nav-link {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 1.25rem;
}

.footer-nav-link::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #2a7f62;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-nav-link:hover {
  color: #ffffff;
  padding-left: 1.5rem;
}

.footer-nav-link:hover::before {
  opacity: 1;
  left: -3px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-contact-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-contact-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #2a7f62, #66bb6a);
  border-radius: 3px;
}

.footer-contact-info {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: #94a3b8;
}

.contact-icon {
  color: #2a7f62;
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.contact-item a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
}

.newsletter-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.newsletter-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #2a7f62, #66bb6a);
  border-radius: 3px;
}

.newsletter-desc {
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  position: relative;
  display: flex;
}

.newsletter-input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: #2a7f62;
  box-shadow: 0 0 0 3px rgba(42, 127, 98, 0.2);
}

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

.newsletter-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #2a7f62, #66bb6a);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: linear-gradient(90deg, #66bb6a, #2a7f62);
  transform: translateY(-50%) scale(1.05);
}

.newsletter-btn i {
  font-size: 0.9rem;
}

.form-agreement {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.form-agreement input {
  accent-color: #2a7f62;
}

.form-agreement label {
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.copyright {
  color: #94a3b8;
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.legal-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  position: relative;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.legal-link:not(:last-child)::after {
  content: '•';
  position: absolute;
  right: -0.9rem;
  color: rgba(255, 255, 255, 0.3);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2a7f62, #66bb6a);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: linear-gradient(135deg, #66bb6a, #2a7f62);
  transform: translateY(-5px);
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 1024px) {
  .footer-top {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-nav-title::after,
  .footer-contact-title::after,
  .newsletter-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-nav {
    grid-template-columns: 1fr;
  }
  
  .footer-nav-link {
    padding-left: 0;
  }
  
  .footer-nav-link:hover {
    padding-left: 1rem;
  }
  
  .footer-nav-link::before {
    display: none;
  }

  .form-group {
    flex-direction: column;
    gap: 0.7rem;
  }

  .newsletter-btn {
    position: static;
    transform: none;
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

