/* ============================================
   FOOTER.CSS — DogNavi Clean Premium Build
   ============================================ */


/* ----------------------------
   FOOTER BASE
   ---------------------------- */

footer {
  background: #667e6d;
  color: #ffffff;
  padding: 4rem 2rem 3rem 2rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Contenido central */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 2.8rem;
  align-items: flex-start;
}

/* ----------------------------
   COLUMNAS
   ---------------------------- */

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.footer-section p {
  color: #e7efe9;
  line-height: 1.55;
  margin-bottom: 1.3rem;
  font-size: 0.95rem;
}

.footer-section ul {
  padding-left: 1rem;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.6rem;
}

.footer-section ul li a {
  color: #ffffff;
  opacity: 0.9;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.footer-section ul li a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ----------------------------
   LOGO + REDES
   ---------------------------- */

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.social-links a {
  background: rgba(255,255,255,0.18);
  padding: 0.55rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  font-size: 1.15rem;
  transition: 0.25s ease;
}

.social-links a:hover {
  background: rgba(255,255,255,0.30);
}


/* ----------------------------
   NEWSLETTER FORM
   ---------------------------- */

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.newsletter-form input {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: none;
  outline: none;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
}

.newsletter-form button {
  background: #ffc76a;
  border: none;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.newsletter-form button:hover {
  background: #ffdd9a;
}


/* ----------------------------
   FOOTER BOTTOM
   ---------------------------- */

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0 auto;
  text-align: center;
  font-size: 0.9rem;
  color: #e3ece7;
  opacity: 0.9;
}


/* ----------------------------
   RESPONSIVE
   ---------------------------- */

@media (max-width: 960px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 2.5rem;
  }

  .newsletter-form button {
    width: 100%;
  }
}
