/* Variables CSS para mantener la consistencia y facilitar los cambios globales del footer */
:root {
  --footer-background-image: url(/img/back_footer.svg);
  --form-max-width: 100%;
  --input-padding: 8px 0;
  --input-margin-bottom: 20px;
  --input-border-bottom: 1px solid var(--grey);
  --textarea-height: 200px;
  --button-background-color: var(--red);
  --button-hover-background-color: #ff3f5b;
  --select-background-image: url("/img/iconos/arrow_down.svg");
  --font-size-default: 24px;
  --font-weight-light: 100;
  --font-weight-normal: 400;
  --font-weight-medium: 300;
}

footer {
  display: flex;
  flex-direction: column;
  background-image: var(--footer-background-image);
  background-position: top;
  background-size: cover;
  bottom: 0;
  color: var(--white);
  padding: 50px 0;
  gap: 40px;
}

.footertitle {
  overflow: hidden;
}

.footer_contact div a:hover {
  color: var(--red);
}

.footer_contact {
  margin-top: 30px ;
  display: flex;
  flex-direction: column;
  gap: 40px;

  h2 {
    color: var(--red);
    font-size: 33px;
    font-weight: 400;
  }

  p {
    font-family: var(--secondary-font);
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
  }

  div {
    display: flex;
    gap: 15px;
    align-items: center;
  }

  div a {
    font-family: var(--secondary-font);
    text-decoration: none;
    color: var(--white);
    font-size: 18px;
    letter-spacing: -0.6px;
  }
}

.bottom_footer {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 8%;

  div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
  }

  div img {
    filter: invert(1);
    max-width: 500px;
  }

  div:first-child p {
    color: var(--red);
    font-size: 25px;
    font-weight: 300;

    span {
      font-weight: 700;
    }
  }

  .legal_footer {
    font-family: var(--secondary-font);
    color: var(--light_grey);
  }
}
