.footer {
  width: 100%;
  background: var(--azul);
  color: var(--azulobs);
  padding-top: var(--spacing-xl);

  @media (min-width: 1024px) {
    padding-top: var(--spacing-xxl);
  }

  .footer__wrapper {
    width: 100%;
    max-width: var(--container-mobile);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);

    @media (min-width: 768px) {
      max-width: 760px;
      padding: 0 var(--spacing-md);
    }

    @media (min-width: 1024px) {
      max-width: 990px;
      padding: 0 var(--spacing-lg);
    }

    @media (min-width: 1280px) {
      max-width: 1080px;
    }
  }

  .footer__main {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    @media (min-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
    }

    @media (min-width: 1024px) {
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: var(--spacing-xl);
    }
  }

  .footer__col {
    &--about {
      @media (min-width: 768px) {
        grid-column: span 2;
      }

      @media (min-width: 1024px) {
        grid-column: span 1;
      }
    }
  }


  .footer__logo {
    img {
      width: 120px;
      height: auto;

      @media (min-width: 1024px) {
        width: 150px;
      }
    }

    p {
      color: #d4dcff;
      font-style: italic;
    }
  }

  .footer__description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
  }


  .footer__social {
    display: flex;
    gap: var(--spacing-sm);

    a {
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      transition: all 0.3s ease;
      border: 1px solid rgba(255, 255, 255, 0.1);

      i {
        font-size: 1.1rem;
      }

      &:hover {
        background: #d4dcff;
        color: var(--azulobs);
        transform: translateY(-3px);
        border-color: #d4dcff;
      }
    }
  }

  
  .footer__title {
    color: white;
    position: relative;
    padding-bottom: var(--spacing-xs);

    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 2px;
      background: #d4dcff;
    }
  }


  .footer__links {
    list-style: none;
    padding: 0;
    margin: 0;

    li {
      margin-bottom: var(--spacing-sm);

      a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: var(--spacing-xs);
        transition: all 0.3s ease;

        i {
          font-size: 0.7rem;
          transition: transform 0.3s ease;
        }

        &:hover {
          color: #d4dcff;
          padding-left: var(--spacing-xs);

          i {
            transform: translateX(3px);
          }
        }
      }
    }
  }

  .footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;

    li {
      display: flex;
      align-items: flex-start;
      gap: var(--spacing-sm);
      margin-bottom: var(--spacing-md);
      color: rgba(255, 255, 255, 0.8);

      i {
        color: #d4dcff;
        font-size: 1.1rem;
        margin-top: 2px;
        flex-shrink: 0;
      }

      a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s ease;

        &:hover {
          color: #d4dcff;
        }
      }
    }
  }

  .footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) 0;
    text-align: center;

    @media (min-width: 768px) {
      flex-direction: row;
      text-align: left;
    }

    .footer__copyright,
    .footer__credits {
      color: rgba(255, 255, 255, 0.6);

      a {
        color: #d4dcff;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;

        &:hover {
          color: white;
        }
      }
    }
  }
}