:root {
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 76px;
}

body {
  font-family: Ubuntu, Inter, "Segoe UI", Arial, sans-serif;
}

nav.fixed {
  background: rgba(1, 1, 1, 0.9) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
}

nav.fixed a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
}

nav.fixed a:focus-visible,
footer a:focus-visible,
.btn-primary:focus-visible {
  outline: 3px solid #fcdc3e;
  outline-offset: 3px;
}

.foro-hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.foro-hero-title img {
  display: block;
  max-width: min(350px, 82vw);
  object-fit: contain;
}

section[id] {
  scroll-margin-top: 76px;
}

#turismo > div:first-child {
  background-attachment: scroll !important;
}

footer .grid > div:nth-child(3) {
  display: none !important;
}

#sponsors .swiper {
  overflow: visible !important;
}

#sponsors .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 1.5rem;
  transform: none !important;
}

#sponsors .swiper-slide {
  display: flex !important;
  width: auto !important;
  min-width: 0;
}

#sponsors .swiper-slide img {
  width: 100% !important;
  height: 110px !important;
  object-fit: contain;
}

@media (min-width: 1024px) {
  footer .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1023px) {
  nav.fixed button.lg\:hidden {
    display: none !important;
  }

  #sponsors .swiper-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  #sponsors .swiper-wrapper {
    grid-template-columns: 1fr;
  }
}
