:root {
  --azul-oscuro: #0a2342;
  --blanco: #fff;
  --negro: #111;
  --naranja: #ff7300;
}
body {
  font-family: "Roboto", Arial, sans-serif;
  margin: 0;
  background: var(--blanco);
  color: var(--negro);
  overflow-x: hidden;
}
.banner-superior {
  background: var(--azul-oscuro);
  color: var(--blanco);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.18rem 0.7rem;
  font-size: 0.82rem;
  animation: aparecerArriba 1s;
}
.banner-superior .izquierda {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.banner-superior .derecha a {
  color: var(--blanco);
  margin-left: 0.5rem;
  font-size: 1.05rem;
  transition: color 0.3s;
}
.banner-superior .derecha a:hover {
  color: var(--naranja);
}
.banner-principal {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.05rem 0.5rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  min-height: 0px;
  position: relative;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.logo-titulo {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin: 0 !important;
  padding: 0.05rem 0 !important;
}
.logo-grande {
  width: 120px;
  height: 120px;
  margin: -35px !important;
  padding: 0px 0px 0px 40px;
  object-fit: contain;
}
.titulo-grande {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0a2342;
  letter-spacing: 1px;
  white-space: pre-line;
  line-height: 1;
  margin: 0 !important;
  padding: 0 !important;
}
.banner-principal .logo {
  order: 1;
  margin: 0 !important;
}
.banner-principal .logo img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  border-radius: 0;
  background: none;
  display: block;
}
.banner-principal nav {
  order: 2;
  margin-top: 0;
}
.banner-principal nav a {
  position: relative;
  text-decoration: none;
  color: var(--azul-oscuro);
  font-weight: 500;
  font-size: 0.8rem;
  padding: 0.5rem 1.1rem;
  border-radius: 18px;
  background: var(--blanco);
  border: 2px solid var(--azul-oscuro);
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.08);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
  overflow: hidden;
  z-index: 1;
}
.banner-principal nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 0;
  height: 3px;
  background: var(--naranja);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.77, 0, 0.18, 1),
    left 0.3s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 2;
}
.banner-principal nav a:hover {
  background: var(--azul-oscuro);
  color: var(--blanco);
  box-shadow: 0 6px 24px rgba(10, 35, 66, 0.18);
  transform: translateY(-3px) scale(1.06);
}
.banner-principal nav a:hover::after {
  width: 80%;
  left: 10%;
}
.carrusel,
.carrusel-notas {
  margin: 2rem auto;
  max-width: 900px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(10, 35, 66, 0.08);
  background: var(--blanco);
  animation: aparecerAbajo 1.2s 0.4s backwards;
}
.carrusel-interno,
.carrusel-notas-interno {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}
.carrusel img,
.novedad img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}
.carrusel-controles,
.carrusel-notas-controles {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.carrusel-controles button,
.carrusel-notas-controles button {
  background: var(--azul-oscuro);
  color: var(--blanco);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  pointer-events: all;
  transition: background 0.3s;
}
.carrusel-controles button:hover,
.carrusel-notas-controles button:hover {
  background: var(--naranja);
}
.carrusel-notas {
  margin-top: 2.5rem;
  background: var(--azul-oscuro);
  color: var(--blanco);
  min-height: 120px;
}
.carrusel-notas-interno {
  align-items: center;
}
.nota-importante {
  min-width: 100%;
  padding: 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  animation: aparecer 1s;
}
.nota-importante .ver-mas {
  margin-top: 1rem;
  background: var(--naranja);
  color: var(--blanco);
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}
.nota-importante .ver-mas:hover {
  background: var(--blanco);
  color: var(--azul-oscuro);
}
.novedades {
  max-width: 1200px;
  margin: 2.5rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  animation: aparecerAbajo 1.2s 0.5s backwards;
}
.novedad {
  background: var(--blanco);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: aparecer 1s;
  padding: 0.2rem 0.2rem 0.5rem 0.2rem;
  min-height: 420px;
  max-height: 520px;
}
.novedad .descripcion {
  padding: 0.5rem 0 0 0;
  font-size: 1rem;
  color: var(--azul-oscuro);
}
.contacto {
  max-width: 900px;
  margin: 2.5rem auto;
  background: var(--azul-oscuro);
  color: var(--blanco);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.08);
  animation: aparecerAbajo 1.2s 0.6s backwards;
}
.contacto h2 {
  margin-top: 0;
  color: var(--naranja);
}
.contacto form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contacto input,
.contacto textarea {
  padding: 0.7rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-family: "Roboto", Arial, sans-serif;
}
.contacto button {
  background: var(--naranja);
  color: var(--blanco);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}
.contacto button:hover {
  background: var(--blanco);
  color: var(--azul-oscuro);
}
footer {
  background: var(--azul-oscuro);
  color: var(--blanco);
  padding: 0.5rem 0.5rem 0.3rem 0.5rem;
  text-align: center;
  margin-top: 0rem;
  border-radius: 16px 16px 0 0;
  animation: aparecerAbajo 1.2s 0.7s backwards;
  font-size: 0.6rem;
}
.pie-logo {
  width: 95px;
  margin: 0 auto 0.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pie-logo img {
  width: 100%;
  height: auto;
  max-width: 95px;
  object-fit: contain;
  display: block;
}
.footer-powered {
  font-size: 0.5rem;
  color: #b0c4d8;
  margin-top: 0.2rem;
  text-align: center;
}
.linea-divisoria {
  width: 100%;
  height: 4px;
  background: var(--azul-oscuro);
  border: none;
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* Animaciones */
@keyframes aparecerArriba {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes aparecerAbajo {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes aparecerIzquierda {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes aparecerDerecha {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes rebote {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
@keyframes aparecer {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 700px) {
  /* Banner superior - mover iconos sociales a la derecha */
  .banner-superior {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.3rem 1rem;
  }
  .banner-superior .izquierda {
    font-size: 0.7rem;
    gap: 0.5rem;
  }
  .banner-superior .derecha {
    display: flex;
    gap: 0.8rem;
  }
  .banner-superior .derecha a {
    margin-left: 0;
    font-size: 1.2rem;
  }

  /* Banner principal - logo y texto en línea horizontal */
  .banner-principal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 1rem;
    min-height: 50px;
  }
  .logo-titulo {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    margin-right: 1rem;
  }
  .logo-grande {
    width: 60px;
    height: 60px;
    margin: 0 !important;
    padding: 0 !important;
  }
  .titulo-grande {
    font-size: 0.65rem;
    line-height: 1.1;
    white-space: normal;
    flex: 1;
  }
  .banner-principal .logo {
    width: 45px;
    height: 45px;
  }
  .banner-principal .titulo {
    font-size: 0.9rem;
  }
  .banner-principal nav a {
    font-size: 0.95rem;
    padding: 0.4rem 0.7rem;
  }
  .carrusel img,
  .novedad img {
    height: 180px;
  }
  .contacto {
    padding: 1rem;
  }
}
.carrusel#carrusel-adicional {
  margin-top: 2.5rem;
  width: 100%;
  max-width: 100%;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
#carrusel-adicional-interno {
  width: 100%;
}
#carrusel-adicional-interno img {
  width: 100%;
  height: 127px;
  max-height: 127px;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
  background: none;
}
.whatsapp-flotante {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}
.whatsapp-flotante a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(10, 35, 66, 0.18);
  font-size: 1.5rem;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  text-decoration: none;
}
.whatsapp-flotante a:hover {
  background: #1ebe57;
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(10, 35, 66, 0.25);
}
@media (max-width: 900px) {
  .botones-principales {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .boton-animado {
    width: 90%;
    padding: 1.5rem 1rem 1rem 1rem;
    font-size: 1.2rem;
  }
  .banner-principal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.4rem 1rem 0.2rem 1rem;
  }
  .banner-principal .logo {
    width: 110px;
    height: 110px;
  }
  .banner-principal .titulo {
    font-size: 1.1rem;
  }
}
/* NUEVO CARRUSEL PRINCIPAL */
.carrusel-principal {
  width: 100%;
  max-width: 1200px;
  margin: 2.5rem auto 2rem auto;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(10, 35, 66, 0.12);
  background: #fff;
  min-height: 420px;
}

@media (max-width: 700px) {
  .carrusel-principal {
    margin: 0rem auto 0rem auto;
  }
}

.carrusel-contenedor {
  position: relative;
  width: 100%;
  height: 420px;
}

.carrusel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrusel-slide.activo {
  opacity: 1;
  z-index: 2;
}

.carrusel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carrusel-texto {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.carrusel-texto h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.carrusel-texto p {
  font-size: 1.2rem;
  font-weight: 400;
  background: rgba(10, 35, 66, 0.8);
  padding: 0.8rem 2rem;
  border-radius: 20px;
  margin: 0;
}

/* Controles del carrusel */
.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 35, 66, 0.8);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.carrusel-btn:hover {
  background: #ff7300;
  transform: translateY(-50%) scale(1.1);
}

.carrusel-btn-prev {
  left: 20px;
}

.carrusel-btn-next {
  right: 20px;
}

/* Indicadores */
.carrusel-indicadores {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carrusel-indicadores .indicador {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carrusel-indicadores .indicador.activo {
  background: #ff7300;
  border-color: #ff7300;
}

@media (max-width: 900px) {
  .carrusel-principal {
    min-height: 220px;
  }
  .carrusel-contenedor {
    height: 220px;
  }
  .carrusel-texto h2 {
    font-size: 1.3rem;
  }
  .carrusel-texto p {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
  .carrusel-btn {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
  .carrusel-indicadores .indicador {
    width: 12px;
    height: 12px;
  }
}
/* Menú hamburguesa */
.menu-hamburguesa {
  margin-left: auto;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  cursor: pointer;
  z-index: 102;
}

@media (max-width: 700px) {
  .menu-hamburguesa {
    width: 30px;
    height: 30px;
    margin-left: 100%;
    margin-top: -55px;
    align-self: center;
    flex-shrink: 0;
  }
  .menu-hamburguesa span {
    width: 18px;
    height: 2px;
    margin: 2px 0;
  }
}
.menu-hamburguesa span {
  width: 22px;
  height: 3px;
  margin: 3px 0;
  background: #0a2342;
  border-radius: 2px;
  transition: 0.3s;
}
.menu-desplegable {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100vh;
  background: #0a2342;
  box-shadow: -4px 0 24px rgba(10, 35, 66, 0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 3.5rem 1.5rem 1.5rem 1.5rem;
  gap: 2.1rem;
  z-index: 200;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.18, 1), opacity 0.4s;
  opacity: 0;
  pointer-events: none;
  border-radius: 18px 0 0 18px;
}
.menu-desplegable.abierto {
  right: 0;
  opacity: 1;
  pointer-events: all;
  animation: slideInMenu 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}
@keyframes slideInMenu {
  from {
    right: -260px;
    opacity: 0;
  }
  to {
    right: 0;
    opacity: 1;
  }
}
.menu-desplegable a {
  background: #0a2342 !important;
  color: #fff !important;
  border-radius: 16px !important;
  padding: 1.1rem 1.5rem !important;
  font-size: 1.18rem !important;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.1);
  border: none;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-width: 170px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none !important;
}
.menu-desplegable a:hover {
  background: #fff !important;
  color: #0a2342 !important;
  box-shadow: 0 4px 16px rgba(10, 35, 66, 0.18);
  transform: scale(1.06);
}
.menu-desplegable a i {
  font-size: 1.3rem;
  margin-right: 1.1rem;
  color: inherit !important;
}
@keyframes aparecerMenu {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.cerrar-menu {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  position: absolute;
  top: 3.5rem;
  right: 1.2rem;
  cursor: pointer;
  padding: 0.2rem 0.7rem;
  box-shadow: none;
  border-radius: 50%;
  z-index: 201;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.cerrar-menu:hover {
  background: #fff;
  color: #0a2342;
}
.menu-desplegable .menu-titulo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  margin-left: 0.2rem;
  opacity: 0.7;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  padding-bottom: 0.7rem;
  line-height: 1;
}
.fondo-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 35, 66, 0.18);
  z-index: 101;
}
.menu-desplegable.abierto ~ .fondo-menu {
  display: block;
}
.carrusel-sponsors {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 1200px;
}
.sponsor {
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.08);
  min-height: 420px;
  min-width: 100px;
}
.sponsor img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .sponsor img {
    max-width: 22px;
    max-height: 22px;
  }
}
.carrusel-principal {
  max-width: 700px;
  min-width: 350px;
  flex: 1 1 700px;
  min-height: 420px;
}
@media (max-width: 1100px) {
  .carrusel-sponsors {
    gap: 0.5rem;
  }
  .sponsor {
    width: 80px;
    min-width: 60px;
    min-height: 220px;
  }
  .carrusel-principal {
    max-width: 350px;
    min-width: 200px;
    min-height: 220px;
  }
}
@media (max-width: 700px) {
  .carrusel-sponsors {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem auto;
  }
  .sponsor {
    width: 100%;
    min-width: 0;
    min-height: 80px;
    margin: 0 auto;
    border-radius: 12px;
  }
  .carrusel-principal {
    max-width: 98%;
    max-height: 150px;
    min-height: 200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
  }
  .carrusel-contenedor {
    height: 1420px;
    margin: 0;
    padding: 0;
    line-height: 0;
  }
  .carrusel-slide {
    height: 140px;
    margin: 0;
    padding: 0;
    line-height: 0;
  }
  .carrusel-slide img {
    height: 500px;
    object-fit: cover;
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
  }
  .carrusel-texto h2 {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
  .carrusel-texto p {
    font-size: 0.7rem;
    padding: 0.6rem 0.7rem;
  }
  .carrusel-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .carrusel-indicadores .indicador {
    width: 8px;
    height: 8px;
  }
}
.sponsor-horizontal {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.08);
  min-height: 60px;
  min-width: 100px;
  padding: 0.3rem 0;
  overflow: hidden;
}
.sponsor-horizontal img {
  max-width: 220px;
  max-height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .sponsor-horizontal {
    min-height: 100px;
    padding: 0.8rem 0;
  }
  .sponsor-horizontal img {
    max-width: 120px;
    max-height: 60px;
  }
}
.novedad img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px 8px 0 0;
  display: block;
}
@media (max-width: 900px) {
  .novedades {
    grid-template-columns: 1fr;
    max-width: 98vw;
  }
  .novedad img {
    height: 260px;
  }
  .novedad {
    min-height: 300px;
    max-height: 340px;
  }
}
/* Sponsor horizontal carrusel */
.sponsor-horizontal {
  overflow: hidden;
  position: relative;
}
.sponsor-carrusel-horizontal {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  animation: sponsor-cascada-horizontal 16s linear infinite;
}
.sponsor-carrusel-horizontal img {
  max-width: 220px;
  max-height: 120px;
  object-fit: contain;
  display: block;
}
@keyframes sponsor-cascada-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Sponsor lateral carrusel vertical */
.sponsor {
  overflow: hidden;
  position: relative;
}

.sponsor-carrusel-vertical {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 420px;
  position: relative;
}
.sponsor-carrusel-vertical-inner {
  display: flex;
  flex-direction: column;
  /*animation: sponsor-carrusel-vertical-loop 12s linear infinite;*/
}
.sponsor-carrusel-vertical-inner img {
  max-width: 110px;
  max-height: 110px;
  object-fit: contain;
  display: block;
  margin: 1.2rem auto;
  transition: transform 0.3s;
}

/* En celular, cambiar a horizontal */
@media (max-width: 700px) {
  .sponsor-carrusel-vertical {
    flex-direction: row;
    height: 80px;
  }
  .sponsor-carrusel-vertical-inner {
    flex-direction: row;
    /*animation: sponsor-carrusel-horizontal-mobile 15s linear infinite;*/
  }
  .sponsor-carrusel-vertical-inner img {
    max-width: 60px;
    max-height: 60px;
    margin: 0.5rem;
  }
}

@keyframes sponsor-carrusel-horizontal-mobile {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes sponsor-carrusel-vertical-loop {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}
/* Responsive sponsors carrusel */
@media (max-width: 700px) {
  .sponsor-carrusel-horizontal img {
    max-width: 120px;
    max-height: 60px;
  }
  .sponsor-carrusel-vertical img {
    max-width: 60px;
    max-height: 60px;
  }
}
/* Pausa animación al pasar el mouse */
.sponsor-carrusel-horizontal:hover,
.sponsor-carrusel-vertical:hover {
  animation-play-state: paused;
}
/* Sponsor horizontal carrusel con imágenes grandes */
.sponsor-horizontal {
  overflow: hidden;
  position: relative;
  background: none;
  box-shadow: none;
  min-height: unset;
  min-width: unset;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsor-carrusel-horizontal-carrusel {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: sponsor-carrusel-loop 30s linear infinite;
}
.sponsor-carrusel-horizontal-carrusel img {
  height: auto;
  width: auto;
  max-height: 60px;
  max-width: 100vw;
  object-fit: contain;
  display: block;
  margin: 0;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.08);
}
@keyframes sponsor-carrusel-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (max-width: 900px) {
  .sponsor-carrusel-horizontal-carrusel img {
    max-height: 36px;
  }
}
@media (max-width: 700px) {
  .sponsor-carrusel-horizontal-carrusel img {
    max-height: 22px;
  }
}
.sponsor-carrusel-horizontal-carrusel:hover {
  animation-play-state: paused;
}
.modal-imagen {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(10, 35, 66, 0.85);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.modal-contenido {
  margin: auto;
  display: block;
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(10, 35, 66, 0.25);
  background: #fff;
}
.cerrar-modal {
  color: #fff;
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.2s;
}
.cerrar-modal:hover {
  color: var(--naranja);
}
@media (max-width: 700px) {
  .modal-contenido {
    max-width: 98vw;
    max-height: 60vh;
  }
  .cerrar-modal {
    top: 10px;
    right: 20px;
    font-size: 2rem;
  }
}
.sponsor-horizontal {
  min-height: 180px !important;
  padding: 2rem 0 !important;
}
.sponsor-carrusel-horizontal-carrusel img {
  max-height: 160px !important;
}
@media (max-width: 900px) {
  .sponsor-carrusel-horizontal-carrusel img {
    max-height: 110px !important;
  }
}
@media (max-width: 700px) {
  .sponsor-horizontal {
    min-height: 120px !important;
    padding: 1.2rem 0 !important;
  }
  .sponsor-carrusel-horizontal-carrusel img {
    max-height: 80px !important;
  }
}
footer > div:not(.pie-logo) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.footer-flex {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.footer-textos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}
/* Galería de Notas */
.galeria-notas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1.5rem;
  justify-content: center;
  margin: 3.5rem auto 2.5rem auto;
  max-width: 1100px;
  padding: 0 1rem;
}
.nota-galeria {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.07);
  padding: 1.1rem 1.1rem 1rem 1.1rem;
  min-width: 180px;
  max-width: 220px;
  transition: box-shadow 0.2s, transform 0.15s;
  border: 1.5px solid #e6eaf0;
}
.nota-galeria:hover {
  box-shadow: 0 6px 18px rgba(10, 35, 66, 0.13);
  transform: translateY(-3px) scale(1.02);
  border-color: var(--naranja);
}
.nota-galeria img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.08);
  border: 1.5px solid #e6eaf0;
  background: #f7f7fa;
  transition: box-shadow 0.25s, border 0.2s,
    transform 0.25s cubic-bezier(0.77, 0, 0.18, 1);
  padding: 0;
}
.nota-galeria:hover img {
  box-shadow: 0 8px 32px rgba(10, 35, 66, 0.18);
  border-color: var(--naranja);
  transform: scale(1.045) rotate(-1deg);
}
.nota-galeria-titulo {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--azul-oscuro);
  text-align: center;
  margin-top: 0.1rem;
  letter-spacing: 0.2px;
  border-bottom: 1px solid #e6eaf0;
  padding-bottom: 0.3rem;
  width: 100%;
  background: none;
}
@media (max-width: 900px) {
  .galeria-notas {
    gap: 1rem 0.5rem;
    padding: 0 0.2rem;
  }
  .nota-galeria {
    min-width: 90vw;
    max-width: 98vw;
    padding: 0.7rem 0.7rem 0.7rem 0.7rem;
  }
  .nota-galeria img {
    height: 80px;
  }
  .nota-galeria-titulo {
    font-size: 0.98rem;
  }
}
.titulo-novedades-formal {
  width: 100%;
  text-align: center;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--azul-oscuro);
  margin: 3.2rem 0 2.1rem 0;
  letter-spacing: 0.5px;
  border-bottom: 2.5px solid var(--naranja);
  padding-bottom: 0.6rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 700px) {
  .titulo-novedades-formal {
    font-size: 1.3rem;
    padding-bottom: 0.3rem;
    margin: 2rem 0 1.2rem 0;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 0.98rem;
  }
  .galeria-notas {
    flex-direction: column;
    gap: 1.2rem 0;
    padding: 0 0.2rem;
    max-width: 98vw;
  }
  .nota-galeria {
    min-width: 90vw;
    max-width: 98vw;
    padding: 0.7rem 0.7rem 0.7rem 0.7rem;
    margin: 0 auto;
  }
  .nota-galeria img {
    height: 120px;
  }
  .nota-galeria-titulo {
    font-size: 1rem;
  }
  .titulo-novedades-formal {
    font-size: 1.3rem;
    padding-bottom: 0.3rem;
    margin: 2rem 0 1.2rem 0;
  }
  .footer-textos {
    font-size: 0.98rem;
  }
  .whatsapp-flotante a {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }
  .pie-logo img {
    width: 60px;
    max-width: 60px;
  }
}
