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

.footer {
  --footer-bg: var(--primary-color, #262626);
  --footer-text: var(--secondary-color, #f6f6f6);
  --footer-text-soft: #c9c9c9;
  --footer-accent: #d6a467;
  --footer-border: rgba(246, 246, 246, 0.16);
  --footer-gap-row: 3.2rem;

  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: 300;
  padding: 4rem 0 3.2rem;
}

.footer a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer a:hover {
  color: var(--footer-accent);
}

.footer > .container {
  max-width: 146rem;
  padding: 0 2rem;
}

.footer__row--main {
  display: flex;
  flex-direction: column;
  gap: var(--footer-gap-row);
}

.footer__col {
  margin: 0;
  min-width: 0;
}

.footer__col-title {
  position: relative;
  margin: 0 0 1.8rem;
  padding-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--footer-text);
}

.footer__col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.2rem;
  height: 2px;
  background: var(--footer-accent);
}

.footer__col-list a {
  display: inline-block;
  padding: 0.4rem 0;
  font-size: 1.4rem;
}

.footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.footer__logo {
  display: inline-block;
  max-width: 20rem;
}

.footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer__brand-claim {
  margin: 0;
  max-width: 32rem;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--footer-text-soft);
}

.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

.footer__contact-list li:last-child {
  margin-bottom: 0;
}

.footer__contact-list [class^="icon-"] {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  color: var(--footer-accent);
  font-size: 1.8rem;
  line-height: 1;
}

.footer__contact-list address {
  font-style: normal;
}

.footer__social {
  display: flex;
  gap: 1.2rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  border: 1px solid var(--footer-border);
  border-radius: 50%;
  color: var(--footer-text);
}

.footer__social a:hover {
  border-color: var(--footer-accent);
  color: var(--footer-accent);
}

.footer__social [class^="icon-"] {
  font-size: 1.7rem;
}

.footer__col--links {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}

.footer__col--destinos {
  display: flex;
  flex-direction: column;
}

.footer__destinos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2rem;
}

.footer__destino-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-width: 0;
}

.footer__destino-link {
  display: flex;
  align-items: flex-start;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.3rem 0;
}

.footer__destino-name {
  display: block;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  font-size: 1.4rem;
}

.footer__destino-ig {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  color: var(--footer-text-soft);
}

.footer__destino-ig:hover {
  color: var(--footer-accent);
}

.footer__destino-ig [class^="icon-"] {
  font-size: 1.5rem;
}

.footer__col--soon {
  display: flex;
  flex-direction: column;
}

.footer__soon-list .footer__destino-item {
  padding: 0.3rem 0;
}

.footer__destino-name--soon {
  font-style: italic;
  color: var(--footer-text-soft);
}

.footer__certs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.6rem;
  margin-top: 4rem;
  padding-top: 3.2rem;
  border-top: 1px solid var(--footer-border);
  text-align: center;
}

.footer__certs-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.footer__certs-title {
  margin: 0 0 1.4rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--footer-text-soft);
}

.footer__certs-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.8rem;
}

.footer__certs-items img {
  display: block;
  height: 4.4rem;
  width: auto;
  max-width: 14rem;
  object-fit: contain;
}

.footer__alianzahotelera {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  min-width: 0;
}

.footer__alianzahotelera p {
  margin: 0;
  font-size: 1.3rem;
  color: var(--footer-text-soft);
}

.footer__subsidy {
  display: flex;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  margin-top: 3.2rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--footer-border);
  font-size: 1.3rem;
  color: var(--footer-text-soft);
  text-align: center;
}

.footer__legal-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer__legal-list li {
  display: flex;
  align-items: center;
}

.footer__legal-list li + li {
  margin-left: 1.2rem;
  padding-left: 1.2rem;
  border-left: 1px solid var(--footer-border);
}

.footer__legal-link {
  padding: 0.4rem 0;
  font-size: 1.3rem;
  color: var(--footer-text-soft);
}

.footer__legal-link:hover {
  color: var(--footer-accent);
}

button.footer__legal-link {
  background: none;
  border: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.footer__legal-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer__regulations,
.footer__legal-register {
  font-size: 1.3rem;
  color: var(--footer-text-soft);
}

.footer__legal-powered {
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer__powered-text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  color: var(--footer-text-soft);
}

.footer__powered-text .icon.neobookings {
  display: inline-flex;
  align-items: center;
}

.footer__powered-text .icon.neobookings img {
  display: block;
  height: 1.8rem;
  width: auto;
}

.footer a:focus-visible,
.footer button:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .footer__row--main {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 4rem 3.2rem;
  }

  .footer__col--brand {
    grid-column: 1 / -1;
  }

  .footer__legal {
    align-items: stretch;
    text-align: left;
  }

  .footer__legal-list {
    justify-content: flex-start;
  }

  .footer__legal-meta {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
}

@media (min-width: 992px) {
  .footer {
    padding: 5.6rem 0 4rem;
  }

  .footer > .container {
    padding: 0 4.4rem;
  }

  .footer__row--main {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem 4rem;
  }

  .footer__col--brand {
    grid-column: auto;
  }

  .footer__col {
    width: auto;
  }

  .footer__certs {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;
    gap: 3.2rem 5rem;
    text-align: left;
  }

  .footer__certs-group {
    align-items: flex-start;
  }

  .footer__certs-items {
    justify-content: flex-start;
  }

  .footer__legal-list {
    justify-content: flex-start;
  }
}

@media (min-width: 1920px) {
  .footer {
    padding: 6rem 0 10rem;
    font-size: 1.6rem;
  }

  .footer > .container {
    max-width: 176rem;
    padding: 0 6rem;
  }

  .footer__row--main {
    gap: 2.4rem 6rem;
  }

  .footer__logo {
    max-width: 24rem;
  }

  .footer__certs {
    gap: 4rem 6rem;
  }

  .footer__legal {
    font-size: 1.4rem;
  }
}
