/*-------------------------
    Footer - CSS Variables
--------------------------*/
:root {
  /* Colors */
  --footer-color-primary: #017a61;
  --footer-color-white: #fff;
  --footer-color-gray: #9b9b9b;
  
  /* Spacing */
  --footer-padding-base: 5em;
  --footer-padding-base-responsive: 1em;
  
  /* Typography */
  --footer-font-size-social: 17px;
}

/*-------------------------
    Footer
--------------------------*/
.footer {
  background: url(../images/FONDO003.png) no-repeat;
  background-color: #09212E;
  padding: var(--footer-padding-base);
  background-size: cover;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer,
.footer h6,
.footer .social__icons_footer .fa {
  color: var(--footer-color-white);
}

/* Footer Top */
.footer-top {
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  flex-direction: row;
  gap: 2rem;
}

/* Social Icons */
.social__icons_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 1rem;
}

.social__icons_footer a {
  font-size: var(--footer-font-size-social);
  cursor: pointer;
}

/* Columns */
.column-1,
.column-2,
.column-3,
.column-4 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.column-1 {
  gap: 2rem;
  max-height: fit-content;
}

.column-1 p,
.column-1 img {
  text-align: left;
  margin: 0;
}

.column-2 p, 
.column-3 p {
  margin: 0;
  margin-bottom: 0;
}

/* Footer Down */
.footer-down {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 1rem;
}

.copyright-text {
  font-size: calc(10px + 0.1rem);
}

/* Copyright */
.copyright-text p {
  margin: 0;
  text-align: left;
}

/* Terminos y Aviso */

.termino-terminos a,
.aviso-terminos a {
  color: var(--footer-color-white);
}

.termino-terminos a:hover,
.aviso-terminos a:hover {
  text-decoration: underline;
  color: var(--footer-color-white);
}

.footer__widget-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer__widget-content figure {
  margin: 0;
}

/* Footer HR */
hr.footer-hr {
  border: 0px solid var(--footer-color-white);
  width: 100%;
  margin: 0;
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
  }
  .footer {
    padding: var(--footer-padding-base-responsive);
    gap: 1rem;
  }
}