/* === CONTENEDOR GENERAL DEL FOOTER === */
.footer-container {
  /* font-family: "Roboto", sans-serif; */
  background: var(--color-gray-darker4);
  color: var(--color-gray);
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;

  .region-top-footer {
    display: flex;
    padding: 65px 95px 0;
    justify-content: space-between;
    margin-bottom: 100px;
    align-items: center;

    a {
      width: fit-content;

      .white-logo {
        width: 170px;
        height: 24px;
      }
    }

    .lion-logo {
      display: none;
    }

    .block-social-media-links-block {
      .social-media-links--platforms {
        display: flex;
        gap: 42px;
        align-items: center;
        margin: 0;

        li {
          a {
            color: var(--color-white);
            border-radius: 50%;
            display: block;
            padding: 15px;
            font-size: 0.6em;

            &:hover {
              background: rgba(0, 0, 0, 0.4);
            }

            span {
              line-height: 1;
            }
          }
        }
      }
    }
  }

  .region-footer {
    padding: 0px 95px 0;
    .footer-flex-wrapper {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
    }
  }

  .menu--footer {
    > ul.menu {
      display: flex;
      flex-wrap: wrap;
      list-style: none;
      padding: 0;
      justify-content: space-between;
      margin: 0;

      > li {
        margin-bottom: 20px;
        min-width: 200px;
        list-style: none;

        > span {
          font-weight: bold;
          font-family: "Roboto", sans-serif;
          font-size: 1rem;
          letter-spacing: 1px;
          line-height: 20px;
          margin: 0;
          text-transform: uppercase;
          display: block;

          &::after {
            background-color: var(--color-gray-light);
            content: " ";
            display: block;
            height: 1px;
            margin: 24px 0;
            width: 48px;
          }
        }
      }

      ul.menu {
        display: flex;
        flex-direction: column;
        gap: 24px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        margin-left: 0;
        padding: 0;

        .button-intranets {
          all: unset;
          border: 2px solid var(--color-white);
          border-radius: 4px;
          color: var(--color-white);
          cursor: pointer;
          font-size: 16px;
          font-weight: 700;
          letter-spacing: 1px;
          line-height: 20px;
          padding: 14px 20px;
          text-transform: uppercase;
          white-space: nowrap;
        }

        li {
          margin-bottom: 10px;

          a {
            text-decoration: none;
            font-size: 1rem;
            transition: color 0.3s;
            color: var(--color-gray);
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 0.25px;
            line-height: 16px;
            text-decoration: none;

            &:hover {
              text-decoration: underline;
            }
          }
        }
      }

      li::marker {
        display: none !important;
        content: none !important;
      }
    }
  }

  .region-footer-bottom {
    position: relative;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    .menu--mini-nav-footer {
      background-color: var(--color-gray-darker);
      width: 100%;
      border-top: 1px solid var(--color-gray-dark);

      ul.menu {
        display: flex;
        gap: 16px;
        align-items: center;
        list-style: none;
        padding: 20px 95px;
        margin: 0;
        font-weight: bold;

        li {
          font-size: 0.9rem;

          a {
            text-decoration: none;
            color: var(--color-white);
            transition: color 0.3s;
            font-weight: 500;
            letter-spacing: 0.25px;
            line-height: 16px;
          }

          &.copyright {
            margin-left: auto;
            display: flex;
            align-items: center;
            font-size: 0.8rem;
            color: var(--color-white);
            /* white-space: nowrap; */
            gap: 8px;

            span {
              align-items: center;
              display: flex;
              font-size: 14px;
              font-weight: 500;
              letter-spacing: 0.25px;
              line-height: 16px;
              margin: 0;
              padding: 0;

              &::after {
                background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Ccircle id='a' cx='12' cy='12' r='12'/%3E%3Crect id='c' x='0' y='0' width='36' height='25.714' rx='2'/%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cmask id='b' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3C/mask%3E%3Cuse fill='%23D8D8D8' xlink:href='%23a'/%3E%3Cg mask='url(clientlib-site/css/%23b)'%3E%3Cg transform='translate(-1 -.5)'%3E%3Crect fill='%23FFF' fill-rule='nonzero' width='36' height='25.714' rx='2'/%3E%3Cmask id='d' fill='%23fff'%3E%3Cuse xlink:href='%23c'/%3E%3C/mask%3E%3Cg mask='url(clientlib-site/css/%23d)'%3E%3Cpath fill='%23DD172C' d='M0 6.857h36V0H0zM0 25.714h36v-6.857H0z'/%3E%3Cpath fill='%23FFD133' d='M0 18.857h36v-12H0z'/%3E%3Cpath fill='%23FFEDB1' d='M9.429 12h1.714v.857H9.429z'/%3E%3Cpath d='M8.373 11.643h2.112a.5.5 0 0 1 .498.541l-.196 2.352a1.363 1.363 0 0 1-2.717 0l-.196-2.352a.5.5 0 0 1 .499-.541Z' stroke='%23A41517' stroke-width='.667'/%3E%3Cpath fill='%23A41517' d='M7.714 12.857h3.429v.857h-.857l-.857 1.715-.858-1.715h-.857z'/%3E%3Crect fill='%23A41517' fill-rule='nonzero' x='5.143' y='10.286' width='1.714' height='6' rx='.571'/%3E%3Crect fill='%23A41517' fill-rule='nonzero' x='12' y='10.286' width='1.714' height='6' rx='.571'/%3E%3Cpath d='M7.714 9.943c0-.758.614-1.372 1.372-1.372h.685c.758 0 1.372.614 1.372 1.372 0 .19-.154.343-.343.343H8.057a.343.343 0 0 1-.343-.343Z' fill='%23A41517' fill-rule='nonzero'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
                background-repeat: no-repeat;
                content: " ";
                min-height: 20px;
                min-width: 20px;
                width: 20px;
                height: 20px;
                border-radius: 50%;
                display: inline-block;
                background-size: contain;
                margin-left: 12px;
                align-items: center;
              }
            }
          }
        }
      }
    }

    .block.block-menu.navigation.menu--footer {
      color: var(--color-gray);
    }
  }
}

@media (max-width: 1023px) {
  .footer-top {
    padding: 25px 24px;
    .region-top-footer {
      align-items: center;
      flex-direction: column;
      margin-bottom: 55px;
      gap: 29px;

      a {
        height: fit-content;
        margin: unset;
      }

      .lion-logo {
        display: block;
        width: 110px;
        height: 75px;

        svg {
          width: 100%;
          height: 100%;
        }
      }
      .white-logo {
        display: none;
      }

      .block-social-media-links-block {
        a {
          background-color: rgba(0, 0, 0, 0.4);
          border-radius: 50%;
          display: block;
          padding: 15px;
          margin: 0;

          span {
            line-height: 1;
          }
        }
      }
    }
  }
  nav.menu--footer > ul.menu {
    flex-direction: column;
    gap: 0;
    padding: 25px 24px;

    > li.menu-item--expanded {
      > ul.menu {
        display: none;
      }

      &.active > ul.menu {
        margin-top: 16px;
      }

      > span {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 15px 0;
        font-weight: bold;
        position: relative;
        width: 100%;
        border-bottom: 1px solid var(--color-gray-light);

        &::after {
          content: none;
          font-size: 1.2rem;
          margin-left: auto;
        }
      }

      &.active > span::after {
        content: none;
      }
    }
  }

  .menu-item--expanded {
    > span {
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      padding: 16px 0;
    }

    ul.menu {
      display: none;

      &.active {
        display: block;
        padding-top: 15px;
      }
    }
  }

  .icon-toggle {
    font-size: 1.5rem;
    margin-left: 8px;
    user-select: none;
  }

  .menu--mini-nav-footer ul.menu {
    padding: 24px;
    flex-wrap: nowrap;

    li.copyright {
      white-space: wrap !important;
      margin-left: 0;
    }
  }
}

@media (max-width: 768px) {
  .footer-container {
    .region-footer {
      padding: 0;
    }

    .region-top-footer {
      padding: 0 95px 0;

      .block-social-media-links-block {
        .social-media-links--platforms {
          gap: 20px;
          margin: 0;
        }
      }
    }

    .region-footer-bottom {
      .menu--mini-nav-footer {
        padding: 0 24px;

        ul.menu {
          padding: 20px 0;
          justify-content: start;
          flex-wrap: wrap !important;
        }
      }
    }
  }
}

@media (max-width: 428px) {
  .footer-container {
    .region-top-footer {
      align-items: center;
      flex-direction: column;
      padding: 0 95px 0;

      .block-social-media-links-block {
        .social-media-links--platforms {
          gap: 0;
        }
      }
    }

    .region-footer {
      padding: 0;
    }

    .region-footer-bottom {
      padding: 0;
      .menu--mini-nav-footer {
        ul.menu {
          padding: 20px 0;
          justify-content: start;
          flex-wrap: wrap !important;
        }
      }
    }
  }
}


.footer-top:has(.block-agent-footer-block .agent-footer-block:not(.js-show-on-agent-mode)) {
  .region-top-footer {
    margin-bottom: 20px;
  }
}