/**
 * Institutional footer + partners — billetterie.hac.football
 * Tokens aligned with hac.football / boutique.hac.football
 */

/* Sticky header must stay above footer/partners */
.navbar,
.navbar.sticky,
.is-sticky,
header,
#header,
.header,
.sticky-wrapper,
.sticky-wrapper.is-sticky {
  z-index: 5000 !important;
  position: relative;
}

.navbar.fixed-top,
.navbar.sticky-top {
  z-index: 5000 !important;
}

footer.l-footer,
footer.footer-institutional-wrap,
.hac-partners {
  position: relative;
  z-index: 1;
}

footer.l-footer,
footer.footer-institutional-wrap {
  margin: 0;
  padding: 0;
  background: #0A152E;
  color: #fff;
}

footer.l-footer:after,
.footer1:after {
  display: none !important;
  content: none !important;
}

/* Hide legacy partners grid if Customizer CSS still targets it */
.contParte {
  display: none !important;
}

.footer-institutional {
  padding: 2.5rem 1rem 0;
  background: #0A152E;
}

.footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.footer-brand__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.footer-brand__sala {
  width: 114px;
  height: auto;
  display: block;
}

.footer-brand__year {
  font-family: "Behind The Nineties", sans-serif;
  font-style: italic;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: 0.12em;
  color: #BEA153;
  font-weight: 400;
}

.footer-brand__motto {
  margin: 0.85rem 0 0;
  padding: 0;
  color: #BEA153;
  text-transform: none;
  font-family: "dharma-gothic-m", sans-serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 40px;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .footer-brand__motto {
    font-size: 70px;
  }
}

.footer-social-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social .list-inline-item {
  margin: 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #79bde8;
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: #a8d8f0;
  opacity: 1;
  text-decoration: none;
  transform: translateY(-2px);
}

.footer-social svg {
  display: block;
}

.footer-nav__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem 1rem;
}

.footer-nav__crest {
  flex: 0 0 auto;
  padding-top: 0.25rem;
}

@media (max-width: 767px) {
  .footer-nav__crest {
    width: 100%;
    text-align: center;
  }
}

.footer-nav__crest-img {
  width: 72px;
  height: auto;
}

@media (min-width: 768px) {
  .footer-nav__crest-img {
    width: 90px;
  }
}

.footer-nav__links {
  flex: 1 1 0;
  min-width: 0;
}

.footer-linklist__col {
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .footer-linklist__col {
    margin-bottom: 0;
  }
}

.footer__title {
  color: #BEA153 !important;
  text-transform: none;
  font-weight: 700;
  letter-spacing: normal;
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 0.85rem;
  padding: 0;
  border: none;
  display: block;
}

.footer__title:after {
  display: none;
}

.footer-linklist__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-linklist__links li {
  margin-bottom: 0.45rem;
}

.footer-linklist__links a,
.footer-store-info,
.footer-store-info a,
.footer-store-info p,
.footer-store-info strong {
  color: #7a9bb8 !important;
  font-size: 18px;
  line-height: 1.4;
}

.footer-linklist__links a:hover,
.footer-store-info a:hover {
  color: #79bde8 !important;
  text-decoration: underline;
}

.footer-store-info__block {
  margin-bottom: 0.85rem;
}

.footer-store-info__block:last-child {
  margin-bottom: 0;
}

.footer-store-info p {
  margin: 0 0 0.15rem;
  padding: 0;
  text-transform: none;
}

.footer-store-info p:last-child {
  margin-bottom: 0;
}

/* Partners */
.hac-partners {
  background: #0A152E;
  padding: 2.5rem 1rem 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hac-partners__divider {
  width: 100%;
  height: 0;
  border: 0;
  border-top: 1px solid #7a9bb8;
  margin: 0 0 2rem;
}

.hac-partners__group {
  margin-bottom: 1.75rem;
}

.hac-partners__group:last-child {
  margin-bottom: 0;
}

.hac-partners__label {
  display: block;
  margin-bottom: 0.85rem;
  color: #BEA153;
  text-transform: none;
  font-weight: 700;
  letter-spacing: normal;
  font-size: 22px;
  line-height: 1.3;
}

.hac-partners__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hac-partners__item {
  margin: 0;
  flex: 0 0 200px;
  width: 200px;
  max-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hac-partners__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hac-partners__logo {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

/* Legal bar */
footer .footer2,
.footer2 {
  background: #0A152E !important;
  color: #ffffff !important;
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.footer2 a,
.footer2 p,
.footer2 .copyright {
  color: #ffffff !important;
}

.footer2 .copyright {
  text-transform: none;
  padding-bottom: 20px;
  font-size: 11px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.footer2 a.copyright__cqm {
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
}

.footer2 a.copyright__cqm:hover {
  opacity: 0.85;
  text-decoration: none;
}

.footer2 a.copyright__cqm svg {
  display: block;
  color: #ffffff;
}
