/* =========================================================
   0) Tipografías & Variables
   ========================================================= */

/* Web desarrollada por Álvaro Pastor Periago para Inversus */
/* https://github.com/alvaropas17  */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Lato:wght@300;400;700&display=swap");

/* Animación de la flecha */
@keyframes bounceArrow {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-20px);
  }

  60% {
    transform: translateY(-10px);
  }
}

.bounce-arrow {
  animation: bounceArrow 2s infinite;
  opacity: 0;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}

@font-face {
  font-family: 'italianno';
  src: url("./fuentes/Italianno-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Cormorant-Garamond';
  src: url("./fuentes/cormorant-garamond-webfont/CormorantGaramond-SemiBold.woff") format("woff");
}

:root {
  --color-bg: #f5f8fa;
  --color-primary: #005691;
  --color-accent: #00c6a7;
  --color-dark: #102a43;
  --color-light: #ffffff;
  --color-header-bg: #0097b1;
  --transition: 0.3s ease;
}

/* 1) Reset & Base */
* {
  margin: 0;
  /* padding: 0; */
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 1rem;
  scroll-padding-top: 120px;
  /* Ajusta la altura del header fijo */
}

body {
  font-family: "Lato", sans-serif;
  line-height: 1.6;
  color: #131b46;
  background: var(--color-bg);
  overflow-x: hidden;
}

h1 {
  font-family: "Cormorant-Garamond", sans-serif;
  color: var(--color-primary);
  margin-bottom: 0.5em;
}

h2 {
  font-family: "Montserrat", sans-serif;
  color: #005691;
}

p,
li {
  margin-bottom: 1em;
}

.bellefair-regular {
  font-family: "Bellefair", serif;
  font-size: 32px;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  padding: 10px 0px;
}





/* =========================================================
   2) Header + Navegación
   ========================================================= */

/* Ajuste para navegación con header fijo */
section[id] {
  scroll-margin-top: 120px;
  /* Compensa la altura del header fijo */
}

header {
  background: var(--color-header-bg);
  /* padding: .05rem 0; */
  padding-top: 0.9rem;
  padding-bottom: 0.8rem;
  position: fixed;
  top: 0;
  box-shadow: 0 4px 12px rgba(180, 0, 0, 0.06);
  width: 100%;
  z-index: 1000;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}

.header-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: nowrap;
}

.header-logos img {
  height: auto;
  margin-right: 30px;
}


.rrss-logos#twitter {
  width: auto;
  height: 58px;
  padding-left: 20px;
  filter: brightness(0) saturate(100%) invert(11%) sepia(33%) saturate(6289%) hue-rotate(220deg) brightness(111%) contrast(95%);
}

.rrss-logos {
  width: auto;
  height: 50px;
  padding-left: 20px;
  filter: brightness(0) saturate(100%) invert(11%) sepia(33%) saturate(6289%) hue-rotate(220deg) brightness(111%) contrast(95%);
}

nav {
  background-color: var(--primary-color);
  border-bottom: 1px solid var(--hover-color);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1em;
}



nav .nav-links {
  display: flex;
  gap: 1.5em;
  align-items: center;
  list-style: none;
  margin-right: auto;
  padding: 0;
  flex-grow: 1;
  justify-content: flex-end;
  max-width: 100%;
  flex-wrap: wrap;
}

nav a {
  display: flex;
  text-decoration: none;
  color: var(--text-color);
  padding: 1em 2em;
  gap: 10px;
  transition: background-color 150ms ease;
}

.nav-links a {
  padding: 0.4em 0;
  font-weight: 600;
  color: var(--color-bg);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover {
  background-color: var(--hover-color);
  /* color: var(--color-accent); */
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 3px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .nav-button-wrapper {
  margin-left: 2rem;
}

.nav-button-wrapper .cta {
  display: inline-block;
  background: var(--color-accent);
  color: #0097b1;
  text-decoration: none;
  font-weight: 700;
  padding: .6em 1.25em;
  border-radius: 999px;
  line-height: 1;
  transition: background var(--transition), transform var(--transition);
}

.nav-button-wrapper .cta:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

/* New: Hero button wrapper for mobile */
.hero-button-wrapper {
  margin-top: 1.5em;
}

.hero-button-wrapper .cta {
  display: inline-block;
  background: #0097b1;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: .6em 1.25em;
  border-radius: 999px;
  line-height: 1;
  transition: background var(--transition), transform var(--transition);
}

.hero-button-wrapper .cta:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

#frase-estrella {
  font-family: "Bellefair", serif;
  font-size: 32px;
  line-height: 33px;
  /* font-weight: 400; */
  font-style: normal;
  margin-right: 100px;
  margin-left: 100px;
}

#logo-impagables img {
  width: 600px;
  height: 150px;
}

.instagram-media {
  /* the element was iframe#instagram-embed-0 */
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 780px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(15em, 100%);
    z-index: 10;
    border-left: 1px solid var(--hover-color);
  }
}

/* Hide hero button on desktop */
/* Mobile Adjustments */
@media (max-width: 780px) {
  header {

    /* Hide the navigation links on mobile */
    .barra-navegacion {
      display: none;
    }

    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* Ajuste del scroll-margin para móviles */
  section[id] {
    scroll-margin-top: 80px;
    /* Menor altura en móviles */
  }

  html {
    scroll-padding-top: 80px;
    /* Ajuste para móviles */
  }

  /* Keep other mobile styles as they are */
  body {
    font-size: 1.125rem;
  }

  .article p,
  .article li {
    font-size: 1rem;
  }

  .article {
    padding: 2em 1.5em;
    margin: 2em 0.5em;
  }

  .header-logos {
    text-align: center;
    margin: 0 auto;
  }

  .hero {
    background: linear-gradient(rgb(83 83 83 / 50%), rgb(91 91 91 / 50%)), url(./imagenes/manos_y_caras.jpeg);


    color: var(--color-light);
    text-align: center;
    padding: 6em 1em;
    padding-top: 150px;
  }

  .hero-button-wrapper.mobile-only {
    display: block;
  }

  .hero-button-wrapper .cta {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
  }
}


/* 3) Hero */

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url();
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #080808;
  color: var(--color-light);
  text-align: center;
  padding: 2em 1em;
  padding-top: 151px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.2em;
  color: #fff;
}

.hero h2 {
  font-size: 2.6rem;
  margin-bottom: 0.5em;
  color: #fff;
}

.hero p {
  font-size: 1.25rem;
  font-weight: 300;
}


/*    4) Contenedor de sección (.article) */
.article {
  max-width: 900px;
  background: var(--color-light);
  margin: 3em auto;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.article ul {
  list-style: none;
  padding-left: 1em;
}

/* Estilo específico para la sección #instagram */
#instagram {
  background: black !important;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em;
}

#instagram img {
  max-width: 80%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* 
   5) Información: chips + mapa (Google-style) */
.info-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem;
  border: 1px solid rgba(16, 42, 67, 0.06);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 42, 67, 0.06);
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  background: #f9fbfc;
  border: 1px solid rgba(0, 86, 145, 0.08);
  border-radius: 10px;
  font-weight: 500;
  color: var(--color-dark);
}

.chip a {
  color: var(--color-primary);
  text-decoration: none;
}

.chip a:hover {
  text-decoration: underline;
}

.chip svg {
  width: 18px;
  height: 18px;
  fill: var(--color-primary);
  opacity: 0.9;
}

.map-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.map-wrap iframe {
  width: 100%;
  aspect-ratio: 4/3;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.map-wrap iframe:hover {
  box-shadow: 0 10px 24px rgba(0, 86, 145, 0.18);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(0, 86, 145, 0.25);
  border-radius: 999px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s;
}

.btn-ghost:hover {
  background: rgba(0, 198, 167, 0.08);
  border-color: rgba(0, 198, 167, 0.45);
  transform: translateY(-1px);
}

#fecha_y_ubicacion {
  padding-bottom: 0;
}

/* =========================================================
   6) Premios (grid texto + imagen)
   ========================================================= */
.premio-item {
  display: grid;
  grid-template-columns: 0.9fr 0.85fr;
  grid-template-areas: "texto imagen";
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
  border-bottom: 1px solid #e0e0e0;
}

.premio-item:nth-child(even) {
  grid-template-areas: "imagen texto";
}

.premio-info {
  grid-area: texto;
}

.premio-imagen {
  grid-area: imagen;
  display: flex;
  justify-content: center;
  align-items: center;
}

.premio-imagen img {
  width: 100%;
  max-width: min(25rem, 120%);
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(16, 42, 67, 0.08);
}

/* Estilos del slider de premiados */
.premiado-slider {
  position: relative;
  width: 100%;
  max-width: min(25rem, 120%);
  height: 300px;
  /* Altura fija para el contenedor */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(16, 42, 67, 0.08);
}

.premiado-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}

.premiado-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.premiado-slide img {
  width: 100%;
  height: 89%;
  object-fit: cover;
  /* Volvemos a cover para eliminar márgenes */
  display: block;
  border-radius: 0;
  /* Sin border-radius en la imagen */
}

.premiado-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 86, 145, 0.8);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 0.3;
  /* Mostrar pero con opacidad baja por defecto */
  pointer-events: none;
  /* Deshabilitar clicks por defecto */
}

.premiado-slider-btn:hover {
  background: rgba(0, 86, 145, 1);
  transform: translateY(-50%) scale(1.1);
}

.premiado-slider-btn.prev {
  left: 10px;
}

.premiado-slider-btn.next {
  right: 10px;
}

.premiado-slider-dots {
  display: flex;
  /* Mostrar siempre */
  justify-content: center;
  gap: 8px;
  padding: 15px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  opacity: 0.3;
  /* Mostrar pero con opacidad baja por defecto */
}

.premiado-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.premiado-dot.active,
.premiado-dot:hover {
  background: white;
  transform: scale(1.2);
}

/* Mostrar controles completamente cuando hay múltiples imágenes */
.premiado-slider[data-multiple-images] .premiado-slider-btn {
  opacity: 1;
  pointer-events: auto;
}

.premiado-slider[data-multiple-images] .premiado-slider-dots {
  opacity: 1;
}

/* Responsivo para slider de premiados */
@media (max-width: 768px) {
  .premiado-slider {
    height: 250px;
    /* Altura más pequeña en móvil */
  }

  .premiado-slider-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .premiado-slider-btn.prev {
    left: 5px;
  }

  .premiado-slider-btn.next {
    right: 5px;
  }
}

.premio-info h3 {
  color: var(--color-primary);
  margin-bottom: 0.25em;
}

.premio-info strong {
  display: block;
  margin-bottom: 0.5em;
  font-size: 1.1em;
}

/* =========================================================
   7) Programación (agenda)
   ========================================================= */
.agenda {
  padding-left: 0;
  margin-top: 1em;
}

.agenda li {
  list-style: none;
  background: #f0f4f8;
  padding: 1em;
  margin-bottom: 0.75em;
  border-left: 6px solid var(--color-primary);
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.agenda li strong {
  color: var(--color-accent);
  margin-right: 0.5em;
}

/* =========================================================
   8) Patrocinadores
   ========================================================= */
#patrocinadores ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5em;
  align-items: center;
  justify-items: center;
  padding: 1.5em;
  border-radius: 12px;
}

/* Slider de patrocinadores */
.sponsors-slider-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  text-align: center;
}

.sponsors-slider {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #efb8107a 0%, #f5d56c7a 100%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
  padding: 2rem;
}

.sponsor-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.sponsor-slide.prev {
  transform: translateX(-100%);
}

.sponsor-slide img {
  max-width: 90%;
  max-height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.sponsor-slide img:hover {
  transform: scale(1.05);
}

/* Dots indicator */
.sponsors-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.sponsor-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0, 86, 145, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.sponsor-dot:hover {
  background-color: rgba(0, 86, 145, 0.6);
  transform: scale(1.1);
}

.sponsor-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(0, 86, 145, 0.4);
}

/* Slider de colaboradores */
.collaborators-slider-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  text-align: center;
}

.collaborators-slider {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #bf8970c4 0%, #d4a574c4 100%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.collaborator-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
  padding: 2rem;
}

.collaborator-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.collaborator-slide.prev {
  transform: translateX(-100%);
}

.collaborator-slide img {
  max-width: 90%;
  max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.collaborator-slide img:hover {
  transform: scale(1.05);
}

/* Dots indicator para colaboradores */
.collaborators-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.collaborator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(191, 137, 112, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.collaborator-dot:hover {
  background-color: rgba(191, 137, 112, 0.6);
  transform: scale(1.1);
}

.collaborator-dot.active {
  background-color: #bf8970;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(191, 137, 112, 0.4);
}

/* Estilos originales conservados para otras secciones */
#patrocinadores .patro-grid {
  background: #efb8107a;
  border: 1px solid rgba(0, 86, 145, 0.1);
  padding: 1.5em;
  border-radius: 12px;
}

#patrocinadores .patro-grid-medium {
  background: #cfcfcf;
  /* #CD7F32 */
  border: 1px solid rgba(0, 198, 167, 0.1);
  padding: 1.5em;
  border-radius: 12px;
}

#patrocinadores .patro-grid-low {
  background: #bf8970c4;
  border: 1px solid rgba(16, 42, 67, 0.05);
  padding: 1.5em;
  border-radius: 12px;
}

.patro-grid li {
  list-style: none;
  background: var(--color-light);
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.patro-grid img {
  max-width: 152px;
  height: auto;
  margin-bottom: 0.5em;
}

.patro-principal img {
  width: 209px;
  height: 150px;
  object-fit: contain;
}

.patro-grid-medium {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.patro-grid-medium img {
  max-width: 110px;
}

.patro-grid-low {
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.patro-grid-low img {
  width: 157px;
  height: 100px;
  object-fit: contain;
}

/* =========================================================
   9) Carrusel (fotos y vídeos)
   ========================================================= */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  background-color: #f5f5f5;
  display: block;
  border-radius: 8px;
}

.carousel-button {
  position: absolute;
  top: 43%;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.5em;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.77);
  color: #fff;
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

.carousel-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active,
.dot:hover {
  background: #8aceffd5;
}

/* =========================================================
   10) Botones genéricos
   ========================================================= */
button {
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 0.75em 1.5em;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

button:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

/* =========================================================
   11) Footer
   ========================================================= */
footer {
  text-align: center;
  padding: 2em 1em;
  background: var(--color-primary);
  color: #fff;
  margin-top: 4em;
}

/* =========================================================
   12) Responsive
   ========================================================= */

/* --- Tablet & Desktop --- */
@media (max-width: 1000px) {
  .nav-links {
    gap: 1.25rem;
  }

  .header-logos img {
    width: 180px;
    height: auto;
    display: block;
    margin: 0px auto;
  }
}

@media (max-width: 968px) {

  #logo-impagables {
    max-width: 18em;
    /* margin-left: 10px; */
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .map-wrap iframe {
    aspect-ratio: 16/9;
  }

  .premio-item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "texto"
      "imagen";
    gap: 1.25rem;
  }

  .premio-item:nth-child(even) {
    grid-template-areas:
      "texto"
      "imagen";
  }
}

/* --- Mobile --- */
@media (max-width: 780px) {
  #logo-impagables {
    max-width: 18em;
    padding-right: 1em
      /* margin-left: 10px; */
  }

  #texto-footer {
    font-size: 0.9rem;
  }


  .carousel-button.next {
    /* the element was button.carousel-button.next */
    width: 60px;
    height: 60px;
    border-radius: 50%;
  }

  .carousel-button.prev {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transform: none !important;
    /* Remove the translation */
    transition: none !important;
    /* Remove the transition effect */
  }

  button.carousel-button.next {
    transform: none !important;
    /* Remove the translation */
    transition: none !important;
    /* Remove the transition effect */
  }

  #logo-inversus {
    display: none;
  }

  .article {
    padding: 1.5em 1em;
    margin: 2em 1em;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 2em;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .hero p {
    font-size: clamp(1rem, 4vw, 1.25rem);
  }

  button {
    width: 100%;
    max-width: 320px;
    margin: 1em auto 0;
  }

  .patro-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  /* Slider de patrocinadores - tablet */
  .sponsors-slider {
    height: 250px;
    margin: 1.5rem auto;
  }

  .sponsor-slide {
    padding: 1.5rem;
  }

  .sponsor-slide img {
    max-height: 150px;
  }

  /* Slider de colaboradores - tablet */
  .collaborators-slider {
    height: 200px;
    margin: 1.5rem auto;
  }

  .collaborator-slide {
    padding: 1.5rem;
  }

  .collaborator-slide img {
    max-height: 120px;
  }

  .carousel-button {
    transform: translateY(-50%);
    border-radius: 30px;
  }
}

/* Media query para dispositivos móviles específicos como el Honor 200 Pro */
@media screen and (max-width: 480px) {
  .nav-links {
    font-size: 0.9em;
    gap: 1em;
  }

  nav a {
    padding: 0.8em 1em;
  }

  .header-content {
    padding: 0 0.5em;
  }

  .header-bottom-row {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Media query para móviles muy pequeños (iPhone SE, Galaxy S5, etc.) */
@media screen and (max-width: 375px) {
  .nav-links {
    font-size: 0.85em;
    gap: 0.5em;
  }

  nav a {
    padding: 0.6em 0.8em;
  }

  .header-content h1 {
    font-size: 1.8em;
  }

  .header-content p {
    font-size: 0.9em;
  }

  .section-title {
    font-size: 1.6em;
  }

  .patro-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.8em;
  }

  /* Slider de patrocinadores - móvil */
  .sponsors-slider {
    height: 200px;
    margin: 1rem auto;
  }

  .sponsors-slider-container {
    max-width: 90%;
  }

  .sponsor-slide {
    padding: 1rem;
  }

  .sponsor-slide img {
    max-height: 120px;
    max-width: 95%;
  }

  .sponsors-dots {
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .sponsor-dot {
    width: 10px;
    height: 10px;
  }

  /* Slider de colaboradores - móvil */
  .collaborators-slider {
    height: 180px;
    margin: 1rem auto;
  }

  .collaborators-slider-container {
    max-width: 90%;
  }

  .collaborator-slide {
    padding: 1rem;
  }

  .collaborator-slide img {
    max-height: 100px;
    max-width: 95%;
  }

  .collaborators-dots {
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .collaborator-dot {
    width: 10px;
    height: 10px;
  }

  .carousel-button {
    padding: 0.5em;
  }

  .carousel-slide {
    height: 250px;
  }

  .carousel-slide img {
    height: 250px;
    object-fit: contain;
    background-color: #f5f5f5;
  }

  button {
    max-width: 280px;
    font-size: 0.9em;
  }
}