/* ====== RESET GENERAL ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

/* ====== MENÚ  ====== */
.menu-nav {
  position: relative; /* antes estaba fixed */
  top: 0;
  width: 100%;
  background: #f9ce34; /* dorado */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  z-index: 1000;
  transition: background 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.menu-nav.scrolled {
  background: #ffd700;
}

.menu-nav .logo-header img.leon {
  height: 150px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

/* ==== BOTONES DEL MENÚ ==== */
.menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  background: #ffffff; /* contraste con dorado */
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.menu li a:hover {
  background: #c47f00;
  color: #fff;
  box-shadow: 0 5px 10px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

/* ====== BIENVENIDA ====== */
.bienvenida {
  height: 100vh;
  background: url("imagenes/primera_ediicion/_MG_0962.jpg") no-repeat center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;

  /* Animación de cambio de imagen */
  animation: cambio-fondo 60s infinite; /* 60s = 30s cada imagen */
}

/* Animación para alternar imágenes */
@keyframes cambio-fondo {
  0% {
    background: url("imagenes/primera_ediicion/_MG_0962.jpg") no-repeat center/cover;
  }
  50% {
    background: url("imagenes/primera_ediicion/_MG_0894.jpg") no-repeat center/cover;
  }
  100% {
    background: url("imagenes/primera_ediicion/_MG_0962.jpg") no-repeat center/cover;
  }
}


.bienvenida::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.texto-bienvenida {
  position: relative;
  z-index: 2;
  display: inline-block;
  top: 180px; /* Baja un poquito más el bloque de texto */
}

/* Texto principal */
.texto-bienvenida h2 {
  font-size: 4rem;
  margin-bottom: 15px;
  animation: fadeInDown 1s ease, neonGlow 4s infinite alternate;
  transition: all 0.3s ease;
}

/* Texto secundario */
.texto-bienvenida p {
  font-size: 1.6rem;
  animation: fadeInUp 1s ease, neonGlow 4s infinite alternate;
  transition: all 0.3s ease;
}
/* Hover efecto neón pulsante */
.texto-bienvenida h2:hover,
.texto-bienvenida p:hover {
  transform: translateY(-10px); /* movimiento sutil */
  animation: neonPulse 1.5s ease-in-out infinite alternate; /* brillo pulsante */
}

/* Animación del brillo */
@keyframes neonPulse {
  0% {
    text-shadow: 
      0 0 10px #ff6ec7,
      0 0 20px #6eafff,
      0 0 30px #fffa6e;
  }
  50% {
    text-shadow: 
      0 0 20px #ff6ec7,
      0 0 40px #6eafff,
      0 0 60px #fffa6e;
  }
  100% {
    text-shadow: 
      0 0 15px #ff6ec7,
      0 0 30px #6eafff,
      0 0 45px #fffa6e;
  }
}




/* Animación de aparición */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Animación de resplandor neón con colores del logo */
@keyframes neonGlow {
  0% {
    text-shadow: 0 0 5px #FFE23B, 0 0 10px #FFAA1C, 0 0 20px #8B5A1E;
  }
  25% {
    text-shadow: 0 0 10px #FFAA1C, 0 0 20px #8B5A1E, 0 0 30px #FFE23B;
  }
  50% {
    text-shadow: 0 0 15px #8B5A1E, 0 0 30px #FFE23B, 0 0 45px #FFAA1C;
  }
  75% {
    text-shadow: 0 0 10px #FFE23B, 0 0 20px #FFAA1C, 0 0 30px #8B5A1E;
  }
  100% {
    text-shadow: 0 0 5px #FFAA1C, 0 0 10px #8B5A1E, 0 0 20px #FFE23B;
  }
}




/* ====== LEÓN ANIMADO PALPITANTE SIN ESTIRARSE ====== */
/* ====== LEÓN ANIMADO PALPITANTE ====== */
.leon-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 200px;
  overflow: visible;
  text-align: center; /* centra al león */
}

.leon-container img.leon {
  width: 200px; /* tamaño más grande */
  transition: box-shadow 0.5s ease-in-out;
  animation: palpitar 1s infinite alternate;
}

/* Animación de palpitar mediante sombra */
@keyframes palpitar {
  0% {
    box-shadow: 0 0 10px rgba(255, 200, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 200, 0, 0.6);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 200, 0, 0.3);
  }
}





/* Movimiento flotante arriba-abajo */
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Efecto de parpadeo */
@keyframes blinkTitle {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0.6;
  }
}

/* Cambio de color al pasar el mouse */
#contador-leon h2:hover {
  color: #5a0404; /* tono del logo */
  transition: color 0.5s ease;
}

.contador {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.flip {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.flip:hover {
  transform: translateY(-5px);
}

.flip span:first-child {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
}





/* ====== CARRUSEL (Santos) ====== */
.carrusel {
  overflow: hidden;
  position: relative;
  margin: 50px 0;
}

.carrusel-contenedor {
  display: flex;
  gap: 15px;
  animation: scroll 30s linear infinite;
}

.carrusel-contenedor img {
  height: 250px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.carrusel-contenedor img:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* ====== TÍTULO SANTOS CON ZOOM Y CAMBIO DE COLOR ====== */
#santos h2 {
  animation: zoomColor 2s infinite alternate;
}

@keyframes zoomColor {
  0% {
    transform: scale(1);
    color: #252424; /* Amarillo */
  }
  50% {
    transform: scale(1.1);
    color: #ec7e35; /* Azul claro */
  }
  100% {
    transform: scale(1);
    color: #252424; /* Amarillo */
  }
}


/* LIGHTBOX GENERAL */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-contenido {
  text-align: center;
  max-width: 80%;
  max-height: 80%;
  position: relative;
}

.lightbox img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: 0px 10px 40px rgba(0,0,0,0.8);
  transition: transform 0.3s ease-in-out;
}

.lightbox p {
  margin-top: 12px;
  color: #fff;
  font-size: 1rem;
  font-style: italic;
}

.cerrar {
  position: absolute;
  top: 20px; right: 40px;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

.controles {
  margin-top: 15px;
}

.controles button {
  background: #ffffff20;
  border: 1px solid #fff;
  padding: 10px 15px;
  margin: 5px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
}

.controles button:hover {
  background: #ffffff40;
  transform: scale(1.05);
}


/* ====== SECCIONES GENERALES ====== */
.seccion {
  padding: 80px 20px;
  text-align: center;
}

.seccion h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #c47f00;
}

.fondo-gris {
  background: #f7f7f7;
}

/* ====== GALERÍA EDICIONES ====== */
.galeria {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 20px;
}

.galeria img {
  width: 280px;
  height: 180px; /* Mantiene proporción uniforme */
  object-fit: cover; /* Evita distorsión */
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

.galeria img:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  filter: brightness(1.05);
}


/* Botón */
.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #ffd700, #ffae00);
  color: #333;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #c47f00, #a86500);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/*======== nuestras mascotas =======*/
/* ====== SECCIÓN MASCOTAS ====== */
#mascotas {
  background: linear-gradient(135deg, #fdfbfb, #f3f9ff);
  padding: 60px 20px;
  text-align: center;
}

#mascotas h2 {
  font-size: 2.2rem;
  color: #ff7b00;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

/* Contenedor de tarjetas */
.mascotas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Tarjeta */
.mascota {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  max-width: 340px;
  padding: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease both;
}

.mascota:hover {
  transform: translateY(-12px) rotate(-1deg);
  box-shadow: 0 14px 28px rgba(0,0,0,0.25);
}

/* Imagen de mascota (ajustada para verse completa) */
.mascota img {
  width: 100%;
  height: 220px;
  object-fit: contain; /* 🔹 Muestra la imagen completa */
  border-radius: 14px;
  margin-bottom: 15px;
  background: #f3f3f3; /* Fondo neutro por si sobra espacio */
  transition: transform 0.5s ease;
}

.mascota:hover img {
  transform: scale(1.05);
  animation: bounce 0.6s ease;
}

/* Títulos */
.mascota h3 {
  font-size: 1.5rem;
  color: #6e6e6e; /* gris medio elegante */
  margin-bottom: 12px;
  font-weight: bold;
  position: relative;
}

.mascota h3::after {
  content: "🐾";
  position: absolute;
  right: -25px;
  animation: wag 1s infinite;
}

/* Texto */
.mascota p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;          /* 🔹 Espaciado entre líneas más uniforme */
  text-align: justify;       /* 🔹 Alineación justificada */
  text-justify: inter-word;  /* 🔹 Distribución uniforme */
  margin: 10px 5px;          /* 🔹 Espacio extra entre párrafos y bordes */
  padding: 0 5px;            /* 🔹 Aire lateral dentro del cuadro */
  animation: fadeIn 1.2s ease both;
}

/* Título principal Mascotas: color vino y dorado al hover */
#mascotas h2 {
  color: #800020; /* color vino suave */
  transition: color 0.5s ease;
}

#mascotas h2:hover {
  color: #FFD700; /* color dorado al pasar el mouse */
}

/* Subtítulos Emerito y Pedro: animación de movimiento lateral */
@keyframes moverLateral {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); } /* mueve ligeramente a la derecha */
}

.mascota h3 {
  display: inline-block; /* necesario para animación */
  animation: moverLateral 3s ease-in-out infinite alternate;
}



/* ====== DESTELLO SUTIL ANARANJADO EN EL TÍTULO DE UBICACIÓN ====== */
#ubicacion h2 {
  font-size: 2.5rem; /* ajusta según tu diseño */
  color: #ff9c33; /* color base anaranjado sutil */
  text-align: center;
  position: relative;
  animation: destello 2s infinite alternate;
}

/* Animación de destello sutil */
@keyframes destello {
  0% {
    text-shadow: 0 0 2px #ff9c33, 0 0 4px #ffb366;
  }
  50% {
    text-shadow: 0 0 6px #ff9c33, 0 0 12px #ffb366;
  }
  100% {
    text-shadow: 0 0 2px #ff9c33, 0 0 4px #ffb366;
  }
}



/* ====== ANIMACIONES ====== */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes wag {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(20deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ====== ANIMACIONES ====== */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes wag {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(20deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== NUEVOS COLORES LLAMATIVOS SUTILES SOLO EN NOSOTROS ====== */

/* ====== TÍTULO NOSOTROS COLOR VERDE Y BLANCO ====== */
#nosotros h2 {
  font-size: 3rem; /* ajusta según tu diseño */
  font-weight: bold;
  text-align: center;
  background: linear-gradient(to right, hwb(39 3% 9%)); /* verde → blanco */
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#nosotros h2 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: #4b4b4b;
}

/* Estilo general de las tarjetas */
.nosotros-bloque {
  background: #fff;
  margin: 20px auto;
  padding: 30px;
  max-width: 800px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Efecto al pasar el mouse */
.nosotros-bloque:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Efecto tipo "ticket" con recortes en los laterales */
.nosotros-bloque::before,
.nosotros-bloque::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background: #f9f9f9;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.nosotros-bloque::before {
  left: -15px;
}

.nosotros-bloque::after {
  right: -15px;
}

/* Títulos internos de cada tarjeta */
.nosotros-bloque h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

/* Texto dentro de la tarjeta */
.nosotros-bloque p, 
.nosotros-bloque ul {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  text-align: justify;       /* 🔹 Justificación agregada */
  text-justify: inter-word;  /* 🔹 Distribución uniforme */
  padding: 0 8px;            /* 🔹 Espaciado lateral */
  margin: 8px 0;             /* 🔹 Separación vertical */
}

/* Lista de valores con emojis */
#valores ul {
  list-style: none;
  padding: 0;
}

#valores ul li {
  background: #f0f4f8;
  margin: 10px 0;
  padding: 12px 15px;
  border-left: 5px solid #d1ad0a;
  border-radius: 8px;
  font-size: 1.05rem;
}

/* Fondo alternativo para secciones específicas */
.fondo-nosotros {
  background: linear-gradient(135deg, #ffffff, #f3f6ff);
}

/* Contenido con margen interno */
.nosotros-bloque .contenido {
  text-align: left;
}

/* ====== HISTORIA EN CUADROS ====== */
.historia-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.historia-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.historia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.historia-card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #c47f00; /* Dorado sutil */
  text-align: center;
  border-bottom: 2px solid #e4c590;
  padding-bottom: 5px;
}

.historia-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  text-align: justify;       /* 🔹 Justificación reforzada */
  text-justify: inter-word;  /* 🔹 Distribución uniforme */
  padding: 0 8px;            /* 🔹 Espaciado lateral */
  margin: 8px 0;             /* 🔹 Separación vertical */
}

.historia-card img {
  display: block;              
  margin: 15px auto;           
  max-width: 180px;            /* Un poquito más pequeño */
  height: auto;                
  border-radius: 50%;          
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.historia-card img:hover {
  transform: scale(1.1); 
  box-shadow: 0 0 25px rgba(255, 223, 0, 0.9); 
}

.mision, .vision {
  flex: 1;
  background: #ffffffcc;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* transición suave */
}

.mision:hover, .vision:hover {
  transform: translateY(-10px); /* se eleva 10px */
  box-shadow: 0 6px 16px rgba(0,0,0,0.2); /* sombra más fuerte */
}





/* ====== SECCIÓN ENTRADAS ====== */
#entradas {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #fff8e7, #ffe4b5);
}

#entradas h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #d2691e;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.ticket {
  display: inline-block;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.ticket:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* Imagen con movimiento más realista (cabeceo del león) */
.ticket img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: center top; /* el "cuello" del león */
  animation: leon-head 5s ease-in-out infinite;
}

@keyframes leon-head {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(2deg) scale(1.02); }
  50% { transform: rotate(0deg) scale(1); }
  75% { transform: rotate(-2deg) scale(1.02); }
  100% { transform: rotate(0deg) scale(1); }
}

.qr-pago p {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #444;
}

.btn-comprar {
  background: linear-gradient(135deg, #ff9800, #e65100);
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  padding: 12px 25px;
  margin-top: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255,140,0,0.5);
}

.btn-comprar:hover {
  background: linear-gradient(135deg, #ffa726, #f57c00);
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(255,140,0,0.6);
}

/* ====== SOLO EL TÍTULO DE NOSOTROS ====== */
#nosotros h2 {
  font-size: 3rem;
  font-weight: bold;
  color: #2e7d32; /* Verde elegante */
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.9); /* Brillo blanco */
}


/* ====== SECCIÓN NUESTRO EQUIPO ====== */
#equipo {
  padding: 60px 20px;
  background: #f5f5f5; /* Gris claro profesional */
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

#equipo h2 {
  font-size: 3rem;
  color: #c4b004; /* Azul oscuro moderno */
  margin-bottom: 40px;
  position: relative;
}

#equipo h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #e67e22; /* Detalle juvenil y moderno */
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Contenedor de miembros */
.equipo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

/* Tarjeta de cada miembro */
.miembro {
  background: #fff;
  padding: 25px 20px;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  flex: 1 1 250px; /* Se adapta al tamaño de pantalla */
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.miembro:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Nombre y cargo */
.miembro h3 {
  font-size: 1.4rem;
  color: #34495e;
  margin-bottom: 10px;
}

.miembro p {
  font-size: 0.95rem;
  color: #7f8c8d;
  line-height: 1.5;
  margin: 4px 0;
}


/* ====== SECCIÓN AYUDA ====== */
#ayuda {
  padding: 70px 20px;
  text-align: center;
  background: transparent; /* sin color de fondo */
  color: #333;
}

#ayuda h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  color: #222;
}

#ayuda h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #0077b6;
  display: block;
  margin: 12px auto 0;
  border-radius: 3px;
}

/* Contenedor */
.ayuda-contenedor {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

/* Bloques de ayuda */
.ayuda-bloque {
  background: #ffffff;
  color: #333;
  border-radius: 20px;
  padding: 30px;
  width: 320px;
  text-align: left;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: all 0.35s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.ayuda-bloque:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Decoración hover */
.ayuda-bloque::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,183,255,0.1), transparent 70%);
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ayuda-bloque:hover::before {
  opacity: 1;
}

/* Títulos y textos */
.ayuda-bloque h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #0077b6;
  font-weight: 700;
}

.ayuda-bloque p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #444;
  text-align: justify;       /* 🔹 Justificación agregada */
  text-justify: inter-word;  /* 🔹 Distribución uniforme */
  line-height: 1.6;          /* 🔹 Mejor lectura */
}

/* Listas */
.ayuda-bloque ul {
  list-style: none;
  padding: 0;
}

.ayuda-bloque li {
  margin: 10px 0;
  font-size: 0.95rem;
}

.ayuda-bloque li strong {
  color: #0096c7;
}

/* Links */
.ayuda-bloque a {
  color: #0077b6;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ayuda-bloque a:hover {
  color: #023e8a;
}

/* Iconos o gifs */
.ayuda-bloque img {
  width: 28px;
  vertical-align: middle;
  margin-left: 10px;
  animation: bounce 1.5s infinite;
}

/* Animación bounce */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ====== MARCO TIPO iPHONE ====== */
.iphone-frame {
  position: relative;
  width: 340px;
  height: 640px;
  margin: 20px auto;
  border: 12px solid #111;
  border-radius: 40px;
  background: #f5f5f5;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 0 10px rgba(0,0,0,0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ====== NOTCH SUPERIOR ====== */
.iphone-notch {
  width: 160px;
  height: 28px;
  background: #000;
  border-radius: 14px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.iphone-notch::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 25px;
  width: 40px;
  height: 6px;
  background: #333;
  border-radius: 3px;
}
.iphone-notch::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 25px;
  width: 8px;
  height: 8px;
  background: #333;
  border-radius: 50%;
}

/* ====== BARRA HOME ====== */
.iphone-homebar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #999;
  border-radius: 2px;
}

/* ====== CONTENEDOR CHAT ====== */
.ws-chat {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* ====== HEADER WHATSAPP ====== */
.ws-chat__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* alineamos a la izquierda */
  padding: 10px;
  background: #075e54;
  color: white;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.ws-chat__header-left {
  display: flex;
  align-items: center;
  flex: 1; /* ocupa espacio disponible */
}
.ws-chat__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #128c7e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 18px;
  color: white;
  font-weight: bold;
}
.ws-chat__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* texto alineado a la izquierda */
}
.ws-chat__title {
  font-weight: bold;
}
.ws-chat__status {
  font-size: 12px;
  color: #d2fdd7;
}
.ws-chat__icons {
  display: flex;
  gap: 14px;
  font-size: 18px;
  cursor: pointer;
  margin-left: auto; /* empuja íconos a la derecha */
}

/* ====== MENSAJES ====== */
.ws-chat__messages {
  flex: 1;
  padding: 15px;
  background: url("https://i.imgur.com/mCjP3Rk.png"); /* fondo estilo WhatsApp */
  background-size: cover;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* ====== BURBUJAS ====== */
.bubble {
  max-width: 80%;
  padding: 10px 14px;
  margin: 8px 0;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  box-shadow: 0 2px 3px rgba(0,0,0,0.15);
  animation: fadeIn 0.3s ease-in-out;
}
.bubble__time {
  font-size: 11px;
  color: #666;
  text-align: right;
  margin-top: 4px;
}
.bubble--alt {
  background: #ffffff;
  align-self: flex-start;
  border-top-left-radius: 0;
}
.bubble--org {
  background: #dcf8c6;
  align-self: flex-end;
  border-top-right-radius: 0;
}

/* ====== EFECTO ESCRIBIENDO ====== */
.typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.typing span {
  width: 6px;
  height: 6px;
  background: #555;
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.4s infinite both;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

/* ====== EFECTOS ====== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== TEXTO DENTRO DEL CELULAR ====== */
.iphone-frame p {
  text-align: justify;
  margin: 0;
  padding: 0;
}
.iphone-frame .texto-celular {
  text-align: left;
  padding: 10px;
  font-size: 14px;
  color: #222;
}






/* ====== SECCIÓN FRASES ====== */
.frases {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.titulo-frases {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #444;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  font-weight: bold;
  position: relative;
}

.frases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-items: center;
}

.frase-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  max-width: 280px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.frase-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

/* Efecto de cambio de frase */
.frase-texto p {
  font-size: 1rem;
  font-style: italic;
  color: #555;
  opacity: 0;
  animation: fadeIn 2s forwards;

}

.frase-card:hover .frase-texto p {
  animation: fadeSlide 2s forwards;
}

/* Nombre del santo */
.frase-card span {
  display: block;
  margin-top: 12px;
  font-weight: bold;
  font-size: 0.9rem;
  color: #0088cc;
}

/* Animaciones */
@keyframes fadeIn {
  0% {opacity: 0; transform: translateY(20px);}
  100% {opacity: 1; transform: translateY(0);}
}

@keyframes fadeSlide {
  0% {opacity: 0; transform: translateX(-20px);}
  100% {opacity: 1; transform: translateX(0);}
}

/* Botón Ver Más */
.ver-mas-container {
  margin-top: 40px;
}

#btnVerMas {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

#btnVerMas:hover {
  background: linear-gradient(135deg, #0072ff, #00c6ff);
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

/* Modal */
.modal-frases {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  max-width: 500px;
  text-align: center;
  animation: zoomIn 0.5s ease;
}

.modal-content h3 {
  margin-bottom: 15px;
  color: #333;
}

.modal-content ul {
  list-style: none;
  padding: 0;
}

.modal-content ul li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  transition: color 0.3s;
}

.close:hover {
  color: #000;
}

@keyframes zoomIn {
  from {transform: scale(0.7); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

/* Ocultar segundo grupo */
.hidden {
  display: none;
}






/* ====== COMPARTIR EXPERIENCIA / COMENTARIOS ====== */
#comentarios {
  max-width: 700px;
  margin: 40px auto;
  padding: 25px;
  background: linear-gradient(135deg, #f8fbff, #eaf6ff);
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  animation: fadeIn 0.8s ease-in-out;
}

#comentarios h2 {
  text-align: center;
  color: #0077b6;
  margin-bottom: 20px;
  font-size: 1.9rem;
  font-weight: bold;
  letter-spacing: 1px;
  position: relative;
}

#comentarios h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #0077b6;
  margin: 8px auto 0;
  border-radius: 5px;
}

/* Formulario */
.comentarios-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comentarios-form input,
.comentarios-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
}

.comentarios-form input:hover,
.comentarios-form textarea:hover {
  border-color: #0077b6;
  background: #f0faff;
}

.comentarios-form input:focus,
.comentarios-form textarea:focus {
  border-color: #0077b6;
  outline: none;
  box-shadow: 0 0 8px rgba(0,119,182,0.3);
}

.comentarios-form textarea {
  min-height: 120px;
  resize: vertical;
}

.comentarios-form button {
  background: linear-gradient(135deg, #0077b6, #0096c7);
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.3s ease;
}

.comentarios-form button:hover {
  background: linear-gradient(135deg, #005f87, #0077b6);
  transform: translateY(-2px);
}

.comentarios-form button:active {
  transform: scale(0.97);
}

/* Lista de comentarios */
#lista-comentarios {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: fadeUp 0.7s ease;
}

/* Tarjeta estilo red social */
#lista-comentarios p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  margin: 0;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  color: #333;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, background 0.3s ease;
  position: relative;
}

#lista-comentarios p:hover {
  transform: scale(1.01);
  background: #f0faff;
}

/* Avatar circular con inicial */
#lista-comentarios p::before {
  content: attr(data-user);
  width: 40px;
  height: 40px;
  background: #0077b6;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* Texto del comentario */
#lista-comentarios p span {
  flex: 1;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Icono estilo "like" */
#lista-comentarios p::after {
  content: "❤️";
  font-size: 1.2rem;
  position: absolute;
  right: 12px;
  bottom: 10px;
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.3s ease;
  cursor: pointer;
}

#lista-comentarios p:hover::after {
  transform: scale(1.2);
  opacity: 1;
}

.avatar {
  width: 40px;
  height: 40px;
  background: #007BFF;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
}

/* Animaciones */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeUp {
  from {opacity: 0; transform: translateY(15px);}
  to {opacity: 1; transform: translateY(0);}
}






/* ====== FOOTER ====== */
.footer {
  background: linear-gradient(135deg, lab(79.18% -4.02 78.74), #e1306c); /* Azul FB + Rosa IG */
  color: #fff;
  text-align: center;
  padding: 25px 15px;
  font-size: 0.95rem;
  position: relative;
  margin-top: 50px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
}

/* Efecto brillante animado */
.footer p {
  margin: 0;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.footer p::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.7), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Responsivo */
@media (max-width: 600px) {
  .footer {
    font-size: 0.85rem;
    padding: 20px 10px;
  }
}

/* ====== BOTÓN REGRESAR AL MENÚ ====== */
.btn-regresar-menu {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: #c47f00; /* dorado sutil */
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 999;
}

.btn-regresar-menu:hover {
  background: #ffd700; /* dorado brillante */
  transform: scale(1.1);
}

/* ====== BOTÓN REGRESAR AL MENÚ (CON LEÓN GIF) ====== */
.btn-regresar-menu {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 70px;   /* tamaño del botón */
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff; /* fondo para resaltar el gif */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 999;
}

.btn-regresar-menu img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.btn-regresar-menu:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}


/* ====== NUBE FLOTANTE ====== */
/* ====== ESTILOS NUBE ====== */
.nube-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  text-align: center;
}

.nube-btn {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.nube-btn img {
  width: 120px;
  height: auto;
  display: block;
}

.nube-pregunta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  width: 80%;
  pointer-events: none;
}

/* Respuesta oculta por defecto */
.nube-info {
  display: none;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  animation: fadeIn 0.4s ease;
  max-width: 220px;
  
  line-height: 1.4; /* ✅ Interlineado más elegante */
}

/* Mostrar respuesta al pasar el mouse */
.nube-container:hover .nube-info {
  display: block;
}

/* Animación */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ====== DISEÑO RESPONSIVE ====== */

/* === Pantallas grandes (PC escritorio estándar ≥1200px) === */
@media (min-width: 1200px) {
  .contenedor {
    max-width: 1200px;
    margin: 0 auto;
  }

  .menu {
    gap: 30px;
  }
}

/* === Laptops y tablets horizontales (≤1024px) === */
@media (max-width: 1024px) {
  .menu {
    gap: 15px;
  }

  .texto-bienvenida h2 {
    font-size: 2.5rem;
  }

  .texto-bienvenida p {
    font-size: 1.2rem;
  }

  .servicios {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .nosotros-bloque {
    max-width: 90%;
    margin: 20px auto;
  }
}

/* === Tablets verticales y celulares grandes (≤768px) === */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .texto-bienvenida h2 {
    font-size: 2rem;
    text-align: center;
  }

  .texto-bienvenida p {
    font-size: 1rem;
    text-align: center;
  }

  .galeria {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mascotas {
    flex-direction: column;
    align-items: center;
  }

  .servicios {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .servicio {
    padding: 1rem;
  }

  .nosotros-bloque {
    max-width: 95%;
    margin: 15px auto;
    padding: 20px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* === Celulares medianos y pequeños (≤480px) === */
@media (max-width: 480px) {
  .menu {
    font-size: 0.9rem;
    gap: 10px;
  }

  .texto-bienvenida h2 {
    font-size: 1.5rem;
  }

  .texto-bienvenida p {
    font-size: 0.9rem;
  }

  .galeria {
    grid-template-columns: 1fr;
  }

  .galeria img {
    width: 100%;
    height: auto;
  }

  .servicio h3 {
    font-size: 1rem;
  }

  .servicio p {
    font-size: 0.85rem;
  }

  .nosotros-bloque {
    padding: 15px;
  }
}

/* === Celulares muy pequeños (≤360px) === */
@media (max-width: 360px) {
  .texto-bienvenida h2 {
    font-size: 1.2rem;
  }

  .texto-bienvenida p {
    font-size: 0.8rem;
  }

  .menu {
    font-size: 0.8rem;
  }

  .servicio {
    font-size: 0.85rem;
  }
}
