/*:root {
  --azul-institucional: #002e5d;
  --primary-bootstrap: #0d6efd;
  --amarillo-brillante: #ffff33; 
} */
 html, body {
  overflow-x: hidden;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
:root {
  --azul-institucional: #004080;
  --verde-whatsapp: #25D366;
  --primary-bootstrap: #0d6efd;
  --shadow-intenso: 0 0 10px rgba(0, 0, 0, 0.3);
}



body {
  display: grid;
  /* Fallback para navegadores antiguos */
  min-height: 100vh;
  min-height: 100dvh;
  grid-template-rows: auto 1fr auto;
}

#sidebar-wrapper {
  min-width: 250px;
  max-width: 250px;
  min-height: 100vh;
  transition: all 0.3s;
}

#sidebar-wrapper .sidebar-heading {
  background: #212529;
  border-bottom: 1px solid #343a40;
}

#sidebar-wrapper .list-group-item {
  border: none;
  transition: background 0.2s, color 0.2s;
}

#sidebar-wrapper .list-group-item:hover,
#sidebar-wrapper .list-group-item.active {
  background: #0d6efd;
  color: #fff;
}

#page-content-wrapper {
  flex: 1;
  min-width: 0;
}

#wrapper.toggled #sidebar-wrapper {
  margin-left: -250px;
}

body {
  background: #f8f9fa;
}

@media (max-width: 575.98px) {
  body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
  }

  .navbar {
    margin-top: 0 !important;
  }

  .container,
  .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.offcanvas-personalizado {
  background-color: #052c65;
  /* Reemplazalo por el tono exacto que quieras */
  color: white;
}

.offcanvas-personalizado .nav-link {
  color: white;
}

.offcanvas-personalizado .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
}

.navbar-azul {
  /*background-color: #084298; */
  background: linear-gradient(180deg, #063157 0%, #0464f6 60%, #0c3f78 100%);
}

.navbar-azul .navbar-brand,
.navbar-azul .nav-link,
.navbar-azul .btn {
  color: #fff;
}

.navbar-azul .nav-link:hover,
.navbar-azul .btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.bg-azul-header {
   background-color: #084298;
}

.navbar-brand-yellow {
  color: #f7f004 !important;
  /* Amarillo */
}
.tooltip .tooltip-inner {
  background-color: #0d6efd; /* Bootstrap primary */
  color: #fff;
  padding: 5px 10px;
  font-size: 0.8rem;
  border-radius: 4px;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: #0d6efd;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: #0d6efd;
}


/* css cursos *//* --- Fondo general y tipografía --- */
body, .container {
  background-color: #f6f3f3; /* Gris muy claro */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #343a40; /* Gris oscuro para texto principal */
  margin: 0;
  padding: 0rem 0rem;
  min-height: 100vh;
}
.container {
  margin: 0 auto;
  max-width: 1200px; /* o el valor que estés usando */
  padding: 0 1rem;
  }
/* Animación al cargar .content */
.container {
  animation: fadeInUp 1.6s ease-out both;
}

/* Definición de la animación */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(15px);
  animation: aparecer 0.6s ease forwards;
}

@keyframes aparecer {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ========================
   CARD: Cursos generales
   ======================== */
 
.card-curso {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid #7eaceb; /* Borde ligeramente más oscuro */
  border-radius: 0.75rem;
  background-color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
  position: relative;
  min-height: 320px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;


  /* Animación de entrada */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 3s ease, transform 3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.card-curso.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover en escritorio */
.card-curso:hover {
  transform: scale(1.02);
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Ícono animado en hover */
.card-curso:hover .icono-palpitante {
  animation: latido 1s infinite;
  
}

/* Tarjeta destacada (centrada en móvil) */
.card-curso.destacada {
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.5); /* Sombra azul institucional */
  transition: box-shadow 0.3s ease;
}

/* Tarjeta con resplandor móvil */
.card-curso.animacion-movil {
  animation: resplandorMovil 2s infinite;
  transition: all 0.3s ease;
}

/* Responsive medio (tablets) */
@media (min-width: 576px) and (max-width: 991.98px) {
  .card-curso {
    padding: 1.25rem;
  }

  .icono-palpitante {
    font-size: 2.75rem;
    animation: pulse 1.5s ease-in-out infinite;
    display: inline-block;
    border-radius: 60%;
  }
}


/* ======= FIN card-curso ======= */


/* ========================
   CARD: Curso individual
   ======================== */
.card-detalle {
  padding: 1rem;
  border: 1px solid #7eaceb;
  border-radius: 0.75rem;
  background-color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
  position: relative;
}
/* ======= FIN card-detalle ======= */


/* ========================
   CARD: Instructores
   ======================== */
.card-instructores {
  padding: 1rem;
  border: 1px solid #003366;
  border-radius: 0.75rem;
  background-color: #f8fcff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* ======= FIN card-instructores ======= */


/* ========================
   CARD: Servicios
   ======================== */
.card-servicios {
  padding: 1rem;
  border: 1px solid #1177cc;
  border-radius: 0.75rem;
  background-color: #eef6ff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* ======= FIN card-servicios ======= */


/* ========================
   CARD: Tienda
   ======================== */
.card-tienda {
  padding: 1rem;
  border: 1px solid #003366;
  border-radius: 0.75rem;
  background-color: #ffffff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* ======= FIN card-tienda ======= */


/* ========================
   CARD: Carrito
   ======================== */
.card-carrito {
  padding: 1rem;
  border: 1px dashed #cccccc;
  border-radius: 0.75rem;
  background-color: #fafafa;
   
  transition: background 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
/* ======= FIN card-carrito ======= */


/* ========================
   Animación ícono palpitante
   ======================== */
.palpitando {
  animation: latido 2s infinite;
}

 
/* ======= FIN animación latido ======= */


/* ========================
   Animación resplandor móvil
   ======================== */
@keyframes resplandorMovil {
  0%, 100% {
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
    transform: scale(1.02);
  }
}
/* ======= FIN resplandorMovil ======= */

 
 
/* --- Icono pulsante --- */


 

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* --- Botones azul institucional --- */
.btn-azul-institucional {
  background-color: #2069d6; /* Mismo azul que el footer */
  border: 1px solid #7eaceb; /* Borde ligeramente más oscuro */
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin-top: auto;
}

.btn-azul-institucional:hover,
.btn-azul-institucional:focus {
  background-color: #0d6efd; /* Azul aún más oscuro en hover */
  border-color: #0d6efd;
  box-shadow: 0 6px 16px rgba(8, 66, 152, 0.5); /* Sombra azul más institucional */
  transform: translateY(-2px);
  color: #ffffff;
  outline: none;
}

/* --- Texto en las cards --- */
.card-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #062d62; /* Azul oscuro */
}

.card-text {
  font-size: 0.9rem;
  color: #6c757d; /* Gris neutro */
  margin-bottom: 1.25rem;
}
/* --- Palpitación y estilo institucional del icono --- */
 
@keyframes latido {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.85;
  }
}

/* --- Responsive General --- */
@media (max-width: 575.98px) {
  body, .container {
    padding: 1rem 0.5rem;
  }



.icono-palpitante {
  font-size: 2.75rem;
  background-color: #e0f0ff; /* Azul institucional suave */
  color: #007bff; /* Azul institucional */
  border-radius: 50%;
  padding: 1rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
  transition: transform 0.3s ease;
}
  .btn-azul-institucional {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.85rem;
  }
}


/* --- Estilos adicionales opcionales --- */
 
.btn-azul-institucional:hover {
  background-color: #084298; 
  color: #fff;
}
 


/* Estilo personalizado para el texto institucional */
.text-azul-institucional {
  color: var(--azul-institucional);
  /*color: #002e5d !important;  Azul institucional */
  padding: 1rem;
}

/* Fondo exacto del botón primary de Bootstrap */
.bg-primary-bootstrap {
  background-color: #0d6efd !important;
  color: #fff !important;
}
/*    */
 
.badge-verificada {
  width: 30px;
  height: 30px;
  background-color: rgba(3, 44, 88, 0.4);/* azul institucional */
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgb(255, 255, 255);
  font-family: Arial, sans-serif;
}

/* efecto de borde tipo sello */
.badge-verificada::before {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: dashed 4px rgba(0, 123, 255, 0.4);
}
.badge-verificada:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 
    0 0 12px rgba(0, 123, 255, 0.6), /* destello azul institucional */
    0 0 8px rgb(253, 253, 254);      /* resplandor blanco adicional */
}
/* ícono de check */
.check {
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.6);
}
/* boton/*
/* Fondo amarillo brillante para resaltar nombres o marcas */
.bg-warning-custom {
  background-color: #ffff33 !important; /* Amarillo personalizado */
  color: #000 !important;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  display: inline-block;
}

.textoinstitucional-oscuro {
  color: rgb(70, 72, 73) !important;
  font-size: 0.9rem;
  margin-top: 1rem;
}   

.text-institucional-oscuro a,
.text-institucional-oscuro i {
   font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #062d62;
}

.text-footer-institucional {
  color: rgb(70, 72, 73) !important;
  font-size: 0.9rem;
  margin-top: 1rem;
}   


/* 📍 Footer */
.footer {
  background: linear-gradient(180deg, #063157 0%, #084298 60%, #0c3f78 100%);
  color: white;
  padding: 20px 0;
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
  border-top: 4px solid #f8f9fa; /* Línea suave superior para separar visualmente */
}

.footer a {
  color: #cfe2ff;
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer h5 {
  color: #f1f1f1;
  font-weight: 600;
}

.footer p,
.footer li {
  color: rgba(255, 255, 255, 0.85);
}

.text-institucional-oscuro {
  color: rgb(70, 72, 73) !important;
}

.text-institucional-oscuro a,
.text-institucional-oscuro i {
  color: rgb(70, 72, 73) !important;
}

.footer {
  border-top: 0px solid #00ccff;
  ;
  border-bottom: 3px solid #00ccff;
  /* ← la línea se va al final */
  border-left: 3px solid #00ccff;
  /* ← la línea se va al final */
  border-right: 3px solid #00ccff;
  /* ← la línea se va al final */
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.3);
}
.footer .col-12 {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 15px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-backdrop-filter: blur(3px); /* Safari */
  backdrop-filter: blur(3px);
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.footer .col-12:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(0, 204, 255, 0.2);
}

.footer ul li a::before {
  content: '+ ';
  font-size: 0.9rem;
}

.footer a,
.text-footer-institucional a {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer a:hover {
  color: #ffffff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.footer i {
  transition: transform 0.3s ease-in-out;
}

.footer a:hover i {
  transform: scale(1.1);
}
.text-footer-institucional a,
.text-footer-institucional i {
   font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #a6a7aa;
}

.footer ul li {
  position: relative;
  padding-bottom: 5px;
}

.footer ul li:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  
  transition: width 0.3s ease-in-out;
}

.footer ul li {
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: border 0.3s ease-in-out, background-color 0.3s ease;
}

/* areas  */
.area-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
.area-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.25);
}
.hover-scale {
  will-change: transform;
}
/* fin areas */

/* instructores */
.card-instructores {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.card-instructores:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(0, 123, 255, 0.5);
  
}

.card-instructores .card-title {
  color: #063157;
}

.card-instructores .btn-outline-primary {
  border-color: #084298;
  color: #084298;
}

.card-instructores .btn-outline-primary:hover {
  background-color: #084298;
  color: #fff;
}
.imagen-instructor-wrapper {
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa; /* fondo opcional */
}

.imagen-instructor-wrapper img {
  max-height: 100%;
  width: auto;
}
/* fin instructores */

 






.h5-text-institucional {
  color: #a6a7aa !important;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: normal;
}

.h5-footer-institucional-bold {
  color: #a6a7aa !important;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

/* botones whatsapp y arriba */
/* Animación institucional suave */
@keyframes bounceIn {
  0%   { transform: translateX(-50%) translateY(100px); opacity: 0; }
  60%  { transform: translateX(-50%) translateY(-20px); opacity: 1; }
  80%  { transform: translateX(-50%) translateY(10px); }
  100% { transform: translateX(-50%) translateY(0); }
}
/* Posicionamiento compartido para elementos flotantes */
 

/* Estilo individual del botón de WhatsApp */

/* 🟢 Botón flotante de WhatsApp */

/* ✨ Animación de entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* 🟢 Botón flotante de WhatsApp */
.btn-whatsapp {
  position: fixed !important;
  bottom: 15px;
  right: 20px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px #000;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.05);
}

/* 🔴 Badge de notificación */
.badge-notif {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: red;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 20px;
  text-align: center;
  z-index: 1001;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.fadeout {    
  opacity: 0;
  transition: opacity 0.5s ease-out;
  opacity: 0;
}

/* 💬 Mensaje flotante de bienvenida */
.mensaje-flotante {
  position: fixed !important;
  bottom: 75px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  display: none;
  z-index: 1002;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeIn 0.4s ease forwards;
}

/* ✨ Animación de entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 💥 Animación de vibración */

/* 💥 Animación de vibración */
@keyframes vibrar {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
  75% { transform: rotate(2deg); }
}

.vibrando {
  animation: vibrar 5s ease-in-out 3;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}


@keyframes latido {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

 
#iniciarRecorrido {
   animation: latido 4.2s infinite;
  transition: transform 0.2s ease-in-out;
  background-color: #ffcc00; /* amarillo institucional */
  color: #212529; /* texto oscuro para contraste */
  border: none;
  padding: 10px 20px;
  font-size: 1.2rem;
  margin: 1rem;
}

#iniciarRecorrido:hover {
  background-color: #e6b800; /* tono más profundo al pasar el mouse */
  transform: scale(1.05);
}
#con-un-klick {
  animation: latido 7.77s infinite;
  transition: transform 0.2s ease-in-out;
  background: linear-gradient(180deg, #063157 0%, #084298 60%, #0c3f78 100%);
  color: #ffffff; /* texto claro para contraste */
  border: none;
  padding: 10px 20px;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#con-un-klick:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp:hover {
  transform: scale(1.1);
}
.btn-whatsapp:focus,
.btn-whatsapp:active {
  outline: none;
  box-shadow: none;
}
.btn-whatsapp i {
  transition: transform 0.3s ease;
} 
#ventanaWhatsapp {
  transition: all 0.4s ease;
  box-shadow: -2px -2px 2px #0ae881; /* Azul Tecno Escuela */
}

/* Botón Ir arriba centrado */
.btn-ir-arriba {
  position: fixed; /* Corregido de 50% a fixed para compatibilidad */
  bottom: 15px;
  left: 46%;
  z-index: 100;
  background-color: rgba(0, 123, 255, 0.8); /* azul institucional semi-transparente */
  color: white;
  font-size: 24px;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.4);
  opacity: 0;
    /* Compatibilidad para transform y zoom */
    -webkit-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
  /* Compatibilidad para transition */
  -webkit-transition: opacity 0.4s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.4s ease, transform 0.3s ease;
  /* Compatibilidad para user-select */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* Compatibilidad para text-align (si aplica en hijos) */
  text-align: -webkit-match-parent;
  text-align: match-parent;
}
@media (max-width: 480px) {
  .btn-ir-arriba {
    width: 56px;
    height: 56px;
    padding: 0;
    font-size: 20px;
    left: 50%;
    right: auto;
        /* Compatibilidad para transform */
        -webkit-transform: translateX(-50%) scale(0.7);
        -ms-transform: translateX(-50%) scale(0.7);
        transform: translateX(-50%) scale(0.7);
    bottom: 20px;
  }
}
/* Mostrar cuando aplica */
.btn-ir-arriba.visible {
  opacity: 1;
  /* Compatibilidad para transform y animación pulse */
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-animation: pulse 1.5s infinite;
  animation: pulse 1.5s infinite;
}
button:hover {
  background-color: #0056b3;
  transition: background-color 0.3s ease;
}
/* Pulse elegante */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}
@media (max-width: 480px) {
  .btn-ir-arriba {
    padding: 10px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }
  .row{
    margin-left: .5rem;
    margin-right: .5rem;
  }
}
.navbar {
  margin-left: 0; /* Corregido espacio extra en rem */
  padding: 0.5rem 1rem;
}
@media (max-width: 768px) {
  #btn-scroll-top {
    width: 40px;
    height: 40px;
  }
}

.btn-ir-arriba {
  will-change: transform, opacity;
}

/* Utilidades de compatibilidad extra */
/* Evitar corte de columna en grids/columnas */
.evita-corte-columna {
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
}
/* Ajuste de color para impresión */
.ajuste-color {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

/* --- Notas de compatibilidad adicionales --- */
/*
1. meta[name="theme-color"] no es soportado por Firefox. No hay solución CSS, solo advertencia.
2. content-type para JS debe ser 'text/javascript' en el servidor, no se corrige en CSS.
3. zoom no es soportado por Firefox < 126. Usa transform: scale() para compatibilidad cross-browser.
4. color-adjust está obsoleto, usa print-color-adjust.
*/



/* fin Botón de WhatsApp */

/*   imagen grupal */

.imagen-grupal-album img {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.imagen-grupal-album img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.tecno_ {
  max-width: 300px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tecno_:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
/* fin Imagen grupal */
@keyframes destelloAzul {
  0%, 100% {
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.7);
  }
}

.icono-palpitante {
  background-color: #f9f9f9;
  color: #093b71;
  border-radius: 50%;
  padding: 1rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
   

}
.icono-palpitante:hover {
  animation: destelloAzul 2s infinite;
   box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
} 

