/* ==========================================================
   AUTUNEO Footer V2.1
   Presentación del módulo autuneofooter desde el tema
   ========================================================== */

.autuneo-footer {
  width: 100%;
  margin: 0;
  color: #f5f5f5;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.045), transparent 34%),
    linear-gradient(180deg, #171717 0%, #101010 48%, #0b0b0b 100%);
  padding: 62px 0 28px;
}

.autuneo-footer,
.autuneo-footer * {
  box-sizing: border-box;
}

.autuneo-footer__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.autuneo-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.autuneo-footer__col {
  padding: 0 54px;
  border-left: 1px solid rgba(255,255,255,.08);
}

.autuneo-footer__col:first-child {
  border-left: 0;
  padding-left: 0;
}

.autuneo-footer__col:last-child {
  padding-right: 0;
}

/* Reset fuerte para evitar estilos nativos/Bootstrap del button */
.autuneo-footer .autuneo-footer__title,
.autuneo-footer button.autuneo-footer__title {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
  color: #fff;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
  cursor: default;
  pointer-events: none;
}

.autuneo-footer .autuneo-footer__title:hover,
.autuneo-footer .autuneo-footer__title:focus,
.autuneo-footer .autuneo-footer__title:active {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
  color: #fff;
}

.autuneo-footer .autuneo-footer__title::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 10px;
  background: #B81A20;
  border-radius: 999px;
}

.autuneo-footer__toggle-icon {
  display: none;
}

.autuneo-footer__links {
  display: block;
  list-style: none;
  padding: 0;
  margin: 0;
}

.autuneo-footer__links li {
  margin-bottom: 10px;
}

.autuneo-footer__links li:last-child {
  margin-bottom: 0;
}

.autuneo-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.74);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.35;
  transition: color .2s ease, transform .2s ease;
}

.autuneo-footer__link::before {
  content: "›";
  color: rgba(255,255,255,.42);
  font-size: 18px;
  line-height: 1;
  transition: color .2s ease, transform .2s ease;
}

.autuneo-footer__link:hover,
.autuneo-footer__link:focus {
  color: #fff;
  text-decoration: none;
  transform: translateX(3px);
}

.autuneo-footer__link:hover::before,
.autuneo-footer__link:focus::before {
  color: #D61F26;
  transform: translateX(1px);
}

.autuneo-footer__link--claims::before {
  display: none;
}

.autuneo-footer__claims-icon {
  width: 18px;
  height: 18px;
  color: #D61F26;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  opacity: .95;
  transition: opacity .2s ease, transform .2s ease;
}

.autuneo-footer__claims-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.autuneo-footer__link--claims:hover .autuneo-footer__claims-icon,
.autuneo-footer__link--claims:focus .autuneo-footer__claims-icon {
  opacity: 1;
  transform: translateX(1px);
}

.autuneo-footer__bottom {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.52);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 767.98px) {
  .autuneo-footer {
    padding: 28px 0 20px;
  }

  .autuneo-footer__inner {
    padding: 0 18px;
  }

  .autuneo-footer__grid {
    display: block;
  }

  .autuneo-footer__col {
    padding: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
  }

  .autuneo-footer__col:last-child {
    border-bottom: 0;
  }

  .autuneo-footer .autuneo-footer__title,
  .autuneo-footer button.autuneo-footer__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 18px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
    font-size: 13px;
    letter-spacing: .045em;
  }

  .autuneo-footer .autuneo-footer__title::after {
    display: none;
  }

  .autuneo-footer__toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 16px;
    flex: 0 0 22px;
    position: relative;
  }

  .autuneo-footer__toggle-icon::before,
  .autuneo-footer__toggle-icon::after {
    content: "";
    position: absolute;
    background: rgba(255,255,255,.60);
    border-radius: 99px;
    transition: transform .2s ease, background .2s ease;
  }

  .autuneo-footer__toggle-icon::before {
    width: 14px;
    height: 2px;
  }

  .autuneo-footer__toggle-icon::after {
    width: 2px;
    height: 14px;
  }

  .autuneo-footer__col.is-open .autuneo-footer__toggle-icon::before,
  .autuneo-footer__col.is-open .autuneo-footer__toggle-icon::after {
    background: #D61F26;
  }

  .autuneo-footer__col.is-open .autuneo-footer__toggle-icon::after {
    transform: rotate(90deg);
  }

  .autuneo-footer__links {
    display: none;
    padding: 0 0 16px;
  }

  .autuneo-footer__col.is-open .autuneo-footer__links {
    display: block;
  }

  .autuneo-footer__links li {
    margin-bottom: 12px;
  }

  .autuneo-footer__link {
    font-size: 15px;
  }

  .autuneo-footer__bottom {
    max-width: 280px;
    margin: 18px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.10);
    font-size: 12.5px;
  }
}
