/* ================================
   FOOTER
================================ */

footer {
  background-color: var(--color1);
  color: var(--color11);
  padding: 3rem 2rem 1.5rem;
  scroll-margin-top: 100px;
}

footer .wrapper {
  max-width: 1200px;
  margin: 0 auto;
}


/* ================================
   GRID PRINCIPAL
================================ */

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}


/* ================================
   MARCA
================================ */

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

.footer-brand img {
  max-width: 180px;
  height: auto;
}

.footer-brand p {
  margin-top: 1rem;

  font-size: 0.95rem;
  line-height: 1.5rem;

  color: var(--color11);
}


/* ================================
   NAVEGACIÓN
================================ */

.footer-grid nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;

  margin: 0;
  padding: 0;
}

.footer-grid nav a {
  color: var(--color11);

  font-size: 0.95rem;
  line-height: 1.5rem;

  text-decoration: none;

  transition: opacity 0.3s ease;
}

.footer-grid nav a:hover {
  opacity: 0.7;
}


/* ================================
   CONTACTO
================================ */

.footer-contacto {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 0.7rem;
}

.footer-contacto h3 {
  font-family: "Poppins", sans-serif;

  font-size: 1rem;
  font-weight: 600;

  color: var(--color11);

  margin-bottom: 0.3rem;
}

.footer-contacto a {
  color: var(--color11);

  font-size: 0.9rem;
  line-height: 1.5rem;

  text-decoration: none;

  transition: opacity 0.3s ease;
}

.footer-contacto a:hover {
  opacity: 0.7;
}


/* ================================
   COPYRIGHT
================================ */

.wrapper.copyright {
  margin: 2.5rem auto 0;

  padding-top: 1.2rem;

  border-top: 1px solid rgba(255, 255, 255, 0.35);

  font-size: 0.8rem;
  line-height: 1.4rem;

  text-align: center;

  color: var(--color11);
}


/* ================================
   TABLET
================================ */

@media screen and (min-width: 768px) {

  footer {
    padding: 3.5rem 2rem 1.5rem;
  }

  .footer-brand img {
    max-width: 200px;
  }

  .footer-brand p {
    font-size: 1rem;
    line-height: 1.6rem;
  }

  .footer-grid nav a {
    font-size: 1rem;
  }

  .footer-contacto h3 {
    font-size: 1.1rem;
  }

  .footer-contacto a {
    font-size: 1rem;
  }

  .wrapper.copyright {
    font-size: 0.85rem;
  }

}


/* ================================
   DESKTOP
================================ */

@media screen and (min-width: 1024px) {

  footer {
    padding: 3rem 2rem 1.5rem;
  }


  /* GRID */

  .footer-grid {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr 1.2fr;

    gap: 0;

    align-items: start;

    text-align: left;
  }


  /* BLOQUE MARCA */

  .footer-brand {
    align-items: flex-start;

    padding-right: 2.5rem;
  }

  .footer-brand img {
    max-width: 200px;
  }

  .footer-brand p {
    margin-top: 1rem;

    font-size: 0.95rem;
    line-height: 1.5rem;

    text-align: left;
  }


  /* NAVEGACIÓN */

  .footer-grid nav {
    padding: 0 2.5rem;

    border-left: 1px solid rgba(255, 255, 255, 0.45);
    border-right: 1px solid rgba(255, 255, 255, 0.45);
  }

  .footer-grid nav ul {
    gap: 0.5rem;
  }

  .footer-grid nav a {
    font-size: 0.95rem;
    line-height: 1.6rem;
  }


  /* CONTACTO */

  .footer-contacto {
    align-items: flex-start;

    padding-left: 2.5rem;

    gap: 0.5rem;
  }

 .footer-contacto h3 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.footer-contacto a {
  font-size: 1.05rem;
  line-height: 1.8rem;
  text-align: left;
}


  /* COPYRIGHT */

  .wrapper.copyright {
    margin: 2.5rem auto 0;

    padding-top: 1rem;

    font-size: 0.8rem;

    text-align: center;
  }

}