@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Outfit", sans-serif;
  font-size: 23px;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-bingos {
  flex: 1; /* Hace que el main ocupe todo el espacio disponible, empujando el footer hacia abajo */
}

.header {
  background-color: rgba(218, 45, 227, 0.075);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 135px;
  padding: 5px 3%;
  background-image: url(../src/images/header.jpg);
}

.header .logo {
  cursor: pointer;
}

.header .logo img {
  height: 130px;
  width: auto;
  transition: 0.4s;
}

.header .logo img:hover {
  transform: scale(1.1);
}

.header .nav-links {
  list-style: none;
  letter-spacing: 3px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
}

.nav-links > li > a {
  display: block;
  padding: 3px 20px;
  text-decoration: none;
  cursor: pointer;
  font-size: xx-large;
  font-weight: 700;
}

.menu-vertical {
  position: absolute;
  display: none;
  list-style: none;
  width: 165px;
  background-color: rgba(218, 45, 227, 0.075);
  border-radius: 7%;
  letter-spacing: 0.5px;
  margin-top: 0;
  padding-top: 0;
}

.eventos-vertical {
  width: 90px;
}

.nav-links li:hover .menu-vertical {
  display: block;
}

.menu-vertical li:hover {
  background-color: #ff69b4;
  border-radius: 7%;
  width: 100%;
}

.menu-vertical li a {
  font-size: large;
}

.menu-vertical li a:hover {
  color: aliceblue;
  font-size: large;
}

.header .nav-links li {
  display: inline-block;
  padding: 0 15px;
  transition: 0.4s;
}

.header .nav-links li:hover {
  transform: scale(1.1);
}

.header .nav-links a {
  font-size: 700;
  color: #ff69b4;
  text-decoration: none;
}

button {
  font-size: 20px;
  background: rgb(255, 255, 255);
  color: #ff69b4;
  padding: 0.7em 1em;
  padding-left: 0.9em;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  list-style: none;
}

button span {
  display: block;
  margin-left: 0.3em;
  transition: all 0.3s ease-in-out;
  text-decoration: underline; /* Subrayado siempre visible */
  text-decoration-color: #ff69b4; /* Color del subrayado */
}

button svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

button:hover .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}

button:hover svg {
  transform: translateX(2.5em) rotate(45deg) scale(1.1);
}

button:hover span {
  transform: translateX(10em);
}

button:active {
  transform: scale(0.95);
}

@keyframes fly-1 {
  from {
    transform: translateY(0.1em);
  }

  to {
    transform: translateY(-0.1em);
  }
}

.slider-frame {
  width: 960px;
  height: auto;
  margin: 50px auto 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.slider-frame::before,
.slider-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  z-index: 1;
  pointer-events: none;
}

.slider-frame::before {
  border: 3px solid transparent;
  background: linear-gradient(135deg, #ff69b4, #f6e7ed);
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: borderAnimation 2s infinite alternate;
}

.slider-frame ul {
  display: flex;
  padding: 0;
  width: calc(100% * 6);
  animation: slide 19s infinite ease-in-out;
}

.slider-frame li {
  list-style: none;
  width: 100%;
}

.slider-frame img {
  width: 100%;
  border-radius: 15px;
  height: 100%;
}

@keyframes slide {
  0%,
  16.66% {
    margin-left: 0%;
  }
  20%,
  36.66% {
    margin-left: -100%;
  }
  40%,
  56.66% {
    margin-left: -200%;
  }
  60%,
  76.66% {
    margin-left: -300%;
  }
  80%,
  96.66% {
    margin-left: -400%;
  }
  100% {
    margin-left: -500%;
  }

  /* Transición suave de vuelta a la primera imagen */
  100% {
    margin-left: -600%;
  }
  100% {
    margin-left: 0%;
  } /* Regreso a la primera imagen */
}

@keyframes borderAnimation {
  0% {
    border-color: #ff69b4;
  }
  100% {
    border-color: #f6e7ed;
  }
}

footer {
  background-color: #ff69b461;
  text-align: center;
  padding: 20px 20px 20px 20px;
  border-top: 2px solid #ff69b4;
  margin-top: 40px; /* Reducido de 100px a 40px */
  overflow-x: hidden; /* Evita el desbordamiento horizontal */
}

.contact-title {
  font-size: 24px;
  color: #ff69b4;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.contact-title:hover {
  color: #d64d77;
  transform: scale(1.1);
  cursor: default;
  user-select: none;
}

.footer-content p {
  color: #333;
  font-size: 20px;
  margin-bottom: 10px;
  cursor: default;
  user-select: none;
}

.social-icons a {
  margin: 0 10px;
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.social-icons a img {
  width: 30px;
  height: 30px;
  transition: filter 0.5s ease-in-out, transform 0.3s ease-in-out;
}

.social-icons a:hover img {
  transform: scale(1.3);
  transform: translateY(-5px);
}

.about-section {
  margin-top: 75px;
  padding: 40px 20px;
  background-color: #f7dce7;
  display: flex;
  flex-direction: column;
  gap: 50px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
}

.about-item {
  margin-top: 20px;
  max-width: 50rem;
  padding: 20px;
  transition: 2s;
}

.about-item p {
  transition: color 1s ease;
}

.about-item:hover {
  background-color: rgba(219, 20, 209, 0.527);
  transition: 1.5s;
  border-radius: 2%;
  border-left-color: rgba(167, 29, 185, 0.194);
  color: whitesmoke;
}

.about-item h2 {
  color: #333;
  font-size: 32px;
  margin-bottom: 10px;
  transition: 0.5s;
}

.about-item h2:hover {
  color: whitesmoke;
  transition: 0.7s;
  cursor: pointer;
}

.about-item p {
  color: #555;
  font-size: 21px;
  line-height: 1.6;
}

.left-align {
  align-self: flex-start;
  margin-left: 30px;
  border-left-color: #ff69b4;
  border-left: 4px solid #ff69b4;
}

.right-align {
  align-self: flex-end;
  margin-right: 30px;
  border-right-color: #ff69b4;
  border-right: 4px solid #ff69b4;
}

.center-align {
  align-self: flex-start;
  margin-left: 30px;
  border-left: 4px solid #ff69b4;
}

.slider-frame::before,
.slider-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  z-index: 1;
  pointer-events: none;
}

.productos-section {
  display: flex;
  flex-wrap: wrap; 
  justify-content: center; 
}

.flip-card {
  background-color: transparent;
  width: 190px;
  height: 254px;
  perspective: 1000px;
  font-family: sans-serif;
  margin-top: 50px;
  margin-bottom: 50px;
}

.flip-card-container {
  display: flex;
  flex-wrap: wrap; 
  gap: 50px; 
  justify-content: center; 
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 1s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  box-shadow: 0 8px 14px 0 rgba(0, 0, 0, 0.2);
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 0.2rem solid rgba(255, 105, 180, 0.6); 
  border-radius: 1rem;
  overflow: hidden;
  background-color: rgba(
    255,
    255,
    255,
    0.9
  ); 
  padding: 10px; 
  box-sizing: border-box;
}

.flip-card-front {
  background: linear-gradient(
    120deg,
    #f9f9f9 60%,
    #f0f0f0 88%,
    #e0e0e0 40%,
    #d0d0d0 48%
  );
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
}

.flip-card-back {
  background: linear-gradient(
    120deg,
    rgba(249, 24, 227, 0.5) 30%,
    rgba(255, 105, 180, 0.8) 88%,
    rgba(255, 185, 160, 0.8) 40%,
    rgba(255, 255, 255, 0.5) 78%
  );
  color: white;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
}

.flip-card-back img {
  max-height: 80%;
}

.flip-card-front img,
.flip-card-back img {
  width: 100%;
  height: auto;
  object-fit: cover; 
}

.flip-card-front img {
  width: 100%;
  height: auto;
  max-height: 80%; 
  object-fit: cover; 
}

.flip-card-front img,
.flip-card-back img {
  width: 100%;
  height: auto;
}

.flip-card-front .title {
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
}

.flip-card {
  background-color: transparent;
  width: 290px; 
  height: 400px; 
  perspective: 1000px;
}

.flip-card-back p {
  margin: 0;
}

.button-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.catalog-btn {
  background-color: #ff69b4;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.catalog-btn:hover {
  background-color: #ff1493;
}

.filter-section {
  display: flex;
  flex-direction:row;
  align-items: center;
  justify-content:center;
  margin: 20px 0;
}

@media (max-width: 600px) {
  .filter-section {
    flex-direction: column;
    gap: 1px;
    padding: 0 10px;
  }

  .filter-section button {
    width: auto;
    max-width: 170px;
    width: 80%;
    font-size: 18px;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
  }
}

.filter-section button {
  background-color: #ff69b4; /* Color de fondo moderno */
  color: #fff; /* Color del texto */
  border: none; /* Sin borde */
  border-radius: 8px; /* Bordes redondeados */
  padding: 10px 20px; /* Espaciado interno */
  margin: 10px; /* Espaciado entre botones */
  cursor: pointer; /* Cursor de mano al pasar el ratón */
  transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Transición suave */
  font-size: 16px; /* Tamaño de fuente */
}

.filter-section button:hover {
  background-color: #ff1493; /* Color de fondo al pasar el ratón */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra sutil */
}

.filter-section button:focus {
  outline: none; /* Elimina el borde de enfoque predeterminado */
  box-shadow: 0 0 0 3px #ff1493; /* Sombra de enfoque */
}

.found-animals-section {
  padding: 2em;
  text-align: center;
}

.found-animals-section h2 {
  margin-bottom: 1em;
  font-size: 2em;
  color: #333;
}

.animal-card {
  display: inline-block;
  margin: 2em;
  padding: 0.7em;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  width: 250px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.animal-card img {
  width: 100%; /* La imagen ocupa todo el ancho de la card */
  height: 200px; /* Establece una altura fija */
  object-fit: cover; /* Recorta la imagen para mantener la proporción */
  border-radius: 5px; /* Opcional: bordes redondeados */
}

.animal-card h3 {
  margin: 0.5em 0;
  font-size: 1.5em;
}

.animal-card p {
  color: #666;
}

.modal {
  display: none;
  padding-top: 50px;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fefefe;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
  border-radius: 8px;
  transform: scale(0.7); /* Inicialmente más pequeño */
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease; /* Transición suave */
}

#animal-name-modal {
  color: #ff1493;
  font-size: xx-large;
  margin-bottom: 10px;
}

.modal-content img {
  max-width: 100%; /* Asegura que la imagen no sea más ancha que el contenedor */
  height: auto;    /* Mantiene la proporción de la imagen */
  display: block;  /* Asegura que se comporte como un bloque */
  margin: 0 auto;  /* Centra la imagen dentro del modal */
  margin-bottom: 10px;
}


/* Cuando se muestra el modal, se ajusta la visibilidad y opacidad */
.modal.show {
  display: block;
  opacity: 1; /* Modal visible */
  pointer-events: all; /* Activar clics */
}

.modal.show .modal-content {
  transform: scale(1); /* Tamaño normal del modal */
  opacity: 1;
}

/* Close button styles */
.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
}

/* Estilos para la sección principal de "Eventos - Bingos" */
.intro {
  padding: 40px;
  text-align: center;
}

.intro h1 {
  font-size: 2.5em;
  color: #ff69b4;
  margin-bottom: 15px;
}

.intro p {
  font-size: 1.2em;
  color: #555;
}

/* Contenedor de bingos */
.bingos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 60px 20px; /* more padding top/bottom, less reliance on min-height */
}

/* Estilo de las tarjetas de bingo */
.bingo-card {
  background-color: #fff;
  border: 2px solid #ff69b4;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bingo-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.bingo-card h2 {
  font-size: 1.8em;
  color: #ff69b4;
  margin-bottom: 10px;
}

.bingo-card p {
  font-size: 1em;
  color: #555;
  margin: 5px 0;
}

/* Botón de más información */
.more-info-btn {
  background-color: #ff69b4;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 1em;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 auto;
}

.more-info-btn:hover {
  background-color: #d455d4;
  transform: scale(1.1);
}

.more-info-btn:focus {
  outline: none;
  box-shadow: 0 0 5px 2px #ff69b4;
}

.modal {
  display: none; /* Inicialmente oculto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Aparece cuando el modal está visible */
.modal.show {
  display: flex;
  opacity: 1;
}

/* Contenido del modal */
.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 400px;
  width: 80%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: scaleIn 0.3s ease-out;
}

/* Animación para el modal */
@keyframes scaleIn {
  0% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}

/* Estilos del título */
.modal-content h2, .modal-content h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

/* Estilos de los párrafos */
.modal-content p {
  font-size: 1rem;
  color: #555;
  margin: 10px 0;
  text-align: center;
}

/* Estilos del botón de cerrar */
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  background-color: transparent;
  border: none;
  padding: 0;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ff4081; /* Cambia el color al pasar el mouse */
}

/* Efecto de transición al hacer clic en el fondo para cerrar el modal */
.modal-content {
  animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Contenedor de promociones */
#promotions-container {
  padding: 20px;
  text-align: center;
}

#promotions-container h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

#promotions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
  margin-top: 20px;
}

.promotion-card {
  width: 100%;
  max-width: 300px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: transform 0.3s ease, z-index 0.3s ease;
  position: relative;
  cursor: pointer;
}

.promotion-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.promotion-card:hover {
  transform: translateY(-10px);
}

.promotion-card .content {
  padding: 15px;
  text-align: left;
}

.promotion-card .content h3 {
  margin: 0;
  font-size: 1.2em;
  font-weight: bold;
}

/* Estado ampliado */
.promotion-card.expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  z-index: 1000;
  width: 80%;
  max-width: 600px;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Superposición */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.promotion-card.hidden {
  visibility: hidden; /* Oculta el contenido visualmente */
}

/* ===== Responsividad ===== */

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
  * {
    font-size: 18px; /* Texto un poco más pequeño */
  }

  .header {
    flex-direction: column;
    height: auto;
    padding: 10px 5%;
  }

  .header .logo img {
    height: 80px;
  }

  .header .nav-links {
    flex-direction: column;
    align-items: center;
  }

  .header .nav-links li {
    padding: 8px 0;
    font-size: 1.2rem;
  }

  .slider-frame {
    width: 100%;
    max-width: 100vw;
    margin: 20px auto;
  }

  .flip-card {
    width: 90vw;
    height: auto;
    margin: 20px auto;
  }

  .flip-card-inner {
    height: auto;
  }

  .flip-card-front,
  .flip-card-back {
    position: relative;
    height: auto;
  }
}

/* Tablets (481px a 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  * {
    font-size: 20px;
  }

  .header {
    flex-direction: row;
    height: 110px;
    padding: 10px 5%;
  }

  .header .logo img {
    height: 100px;
  }

  .header .nav-links li {
    font-size: 1.4rem;
    padding: 0 10px;
  }

  .slider-frame {
    width: 90%;
    margin: 30px auto;
  }

  .flip-card {
    width: 250px;
    height: 350px;
  }
}

/* Desktop pequeño (769px a 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  * {
    font-size: 22px;
  }

  .slider-frame {
    width: 720px;
  }

  .flip-card {
    width: 280px;
    height: 380px;
  }
}

#otros-container {
   display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Espacio entre las cards */
}

.otros-card {
  display: flex;
  flex-direction: row;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 600px;
  margin: 1rem auto;
}

.otros-card:hover {
   transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.otros-image {
  flex: 1;
  min-width: 40%;
  overflow: hidden;
  border: 4px solid #ff69b4;
  box-sizing: border-box;
}

.otros-image img {
   width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.otros-info {
   flex: 2;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.otros-info h3 {
   margin: 0;
  font-size: 1.4rem;
  color: #333;
}

.otros-info p {
   margin: 0.5rem 0;
  color: #666;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 600px) {
  .otros-card {
    flex-direction: column;
  }

  .otros-image {
    width: 100%;
  }
}

.modal-otros {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-otros img {
  max-width: 90%;
  max-height: 80%;
  border: 4px solid #fff;
  border-radius: 8px;
}

.modal-close-otros {
  position: absolute;
  top: 0px;
  right: 50px;
  font-size: 5rem;
  color: #e80d0d;
  cursor: pointer;
}

.promo-card-envio {
  max-width: 300px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #ffbad6;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
    animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.promo-card-envio img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

@media (max-width: 768px) {
  /* 1. Asegurarnos de que el nav principal sea columna */
  .header nav .nav-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  /* 2. Forzar que el sub-menú sea columna y ancho completo */
  .header nav .menu-vertical {
    position: static;       /* ya no absoluto */
    display: none;          /* toggle con .open */
    flex-direction: column; /* fuerza columna */
    width: 100%;            /* ocupa todo el ancho */
    padding-left: 1.5rem;   /* opcional, indentado visual */
    box-sizing: border-box;
  }

  /* 3. Cada <li> padre ocupa todo el ancho y controla su submenú */
  .header nav .nav-links > li {
    width: 100%;
  }

  /* 4. Cuando haces click y la clase .open se añade… */
  .header nav .nav-links > li.open .menu-vertical {
    display: flex;          /* lo mostramos como flex-col */
  }

  /* 5. Aseguramos que cada sub-<li> sea bloque ancho completo */
  .header nav .menu-vertical li {
    display: block;
    width: 100%;
    margin: 0.1rem 0;       /* espacio entre items */
  }

  /* 6. Y que sus <a> ocupen todo el ancho y centren texto */
  .header nav .menu-vertical li a {
    display: block;
    width: 100%;
    text-align: left;       /* o center si prefieres */
    padding: 0.5rem 0;
  }
}

.aviso_animalitos {
  background-color: #f9f9f9;;
  color: #333;
  border-left: 5px solid #ff69b4;
  padding: 20px;
  margin: 40px auto;
  max-width: 700px;
  border-radius: 12px;
  font-size: 1.1rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  user-select: none;
}

.aviso_animalitos a {
  color: #ff1493;
  font-weight: bold;
  text-decoration: none;
}

.aviso_animalitos a:hover {
  text-decoration: underline;
}



