@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap'); 

/* buscador */
 #buscador .btn {
   height: 30px;
   padding: 0 .75rem;
   display: flex;
   align-items: center;
   justify-content: center;
   line-height: 1;
   font-size: 1rem;
 }
 #buscador input.form-control {
   height: 30px;
   padding: 4px 0.1rem;
   font-size: 11px;
   box-sizing: border-box;
   line-height: normal;
 }
 /* buscador */

 /* galeria */
 .no-radius {
   border-radius: 0 !important;
 }
 .gallery-item {
   position: relative;
   overflow: hidden;
 }
 .gallery-item img {
   width: 100%;
   height: auto;
   display: block;
   border-radius: 0 !important;
   transition: transform 0.4s ease;
 }
 .gallery-item:hover img {
   transform: scale(1.05);
 }
 .image-wrapper {
   position: relative; 
   overflow: hidden; 
 }
 .image-wrapper:hover img {
   transform: scale(1.05);
 }
 .image-wrapper:hover .overlay {
   opacity: 1;
 }
 .overlay {
   position: absolute;
   inset: 0; 
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(0, 0, 0, .4);
   opacity: 0;
   transition: opacity .3s ease;
   z-index: 1;
 }
 .gallery-item {
   max-width: 300px;
   width: 100%;
 }
 .gallery-item:hover .overlay {
   opacity: 1;
 }
 .overlay-link {
   display: flex;
   width: 100%;
   height: 100%;
   text-decoration: none;
   align-items: center;
   justify-content: center;
   cursor: pointer;
 }
 .overlay span {
   font-family: 'Montserrat', sans-serif;
   font-size: 13px;
   font-weight: 500;
   color: white;
   background-color: rgba(0, 0, 0, 0.4);
   padding: 8px 16px;
   border-radius: 0;
 }
 /* galeria */

 /* icono galeria */
 .icon-link {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 40px;
   height: 40px;
   text-decoration: none;
 }
 .icon-link i {
   font-size: 30px;
 }
 /* icono galeria */

/* modal */
.custom-modal__header{
  position:relative;                                                 
  display:flex;
  justify-content:center;                                               
  align-items:center;              
  padding:2.3rem 1.25rem 1rem;         
  background:var(--cm-header-bg);
  border-bottom:1px solid rgba(0,0,0,.1);
}

.custom-modal__header .btn-close{
  position:absolute;
  right:1.25rem;     
  top:50%;            
  transform:translateY(-50%); 
  font-size:1.4rem;    
  line-height:1;
  padding:.25rem;      
}

.custom-modal__footer{
  padding:1rem 1.25rem;
  background:var(--cm-header-bg);
}

.custom-modal__header{
  position:relative; 	
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid rgba(0,0,0,.1);
}

.custom-modal__title{margin:0;font-size:2.25rem;}
.custom-modal__footer{
  display:flex;
  gap:.5rem;
  justify-content:flex-end;
  border-top:1px solid rgba(0,0,0,.1);
  background:var(--cm-footer-bg);
}
/* modal */



/* Botón del modal de resultados: estado normal */
.btn-search{
  font-size: 11px;
  font-weight: 600;
  color: #066EEA !important;   
}

.btn-search:visited,
.btn-search:focus,
.btn-search:active{
  color: #066EEA !important;
}

.btn-search:hover{
  color: #fff !important; 
}

.btn-fab-magenta{
  position:fixed;
  top:60%;
  right:0;   
  transform:translateY(-50%);
  --fab-w: 20px;
  width:var(--fab-w);     
  padding:0;               
  background:#e10098;
  color:#fff;
  font-weight:600;
  border:none;
  border-radius:0;
  z-index:1055;
}

.btn-fab-magenta:hover,
.btn-fab-magenta:focus{
  background:#c0007f;
  color:#fff;
  outline:none;
}

.btn-fab-label{
  display:block;         
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  height:150px;           
  line-height:1;          
  white-space:nowrap;
  padding:.5rem .25rem;    
  font-size:14px;
}

@media (min-width:992px){      
}


/* menu desplegable especial */

.menu-categorias .submenu {
  display: none;
  padding-left: 1.2rem;          /* sangría visual */
}

/* Icono rota cuando está abierto (opcional) */
.menu-categorias li.open > a .toggle-icon {
  transform: rotate(180deg);
  transition: transform .2s;
}

/* tooltips */
.tooltip-lg .tooltip-inner{
  font-size: 1.30rem; 
  padding: var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);
}

/* botón flotante extra */
.botones-sociales{
  position: fixed;
  top: 100px;
  width: 35px;  
  z-index: 9999;
}
.derecha{ right: 0; }

#rss-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px; 
  height: 50px;
  color: #e40694;  
  border: none;
  border-radius: 0;  
  padding: 0;
  text-decoration: none; 
}

#rss-btn i{
  font-size: 35px;
  color: #e40694;  
}

.tooltip-inner{
  background: #000;
  color: #fff;
  padding: 5px 10px;
  font-size: 14px;
}



/* --- Bloque de texto que reemplaza la imagen --- */
/* --- Estado inicial --- */
.text-box {
  width: 100%;
  height: 100px;
  background-color: #e40694;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #fff;
  text-align: center;
  padding: 0 30px;
}

/* Botones de Servicio */
.text-content {
  font-size: 13px;
  font-weight: 700;
  transition: opacity .15s ease, filter .15s ease;
  z-index: 1;
}



.portfolio-project:hover .text-content {
  opacity: 0;   
  filter: blur(3px);
}

.portfolio-project:hover .entry-title {
  opacity: 3;    
}

.portfolio-project:hover .text-box {
  background-color: #1f1f1f;
}

.portfolio-project:hover .entry-thumb-overlay {
  background: rgba(0,0,0,.200);
}



/* Buscador */
#busqueda {
  height: 14px; 
  padding: .3rem .5rem;  
}

#busqueda::placeholder { font-size: 10px; }

/* Chat Livernauta */
.floating-btn {
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #007bff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.floating-btn:hover {
    transform: translateY(-10px);
}
.floating-btn img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Responsividad */
@media (max-width: 768px) {
.floating-btn {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
}
.floating-btn:hover {
    transform: translateY(-8px);
}
}


/* Botón de cerrar estilizado */
.msj-3-btn-close {
  background-color: #e40694;
  border: 2px solid #ffffff;
  color: black;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 9999;
  padding: 0; /* quita padding para que el contenido esté centrado */
}

.msj-3-btn-close span {
  line-height: 1; /* elimina el exceso de espacio vertical */
  display: inline-block;
}

.msj-3-btn-close:hover {
  background-color: #ff4a38;
  border-color: #ff4a38;
  color: #ffffff;
}


/* Contenedor de imagen con dimensiones específicas */
.image-container {
    width: 510px;
    height: 472px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen ajustada */
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.image-container2 {
    width: 327px;
    height: 344px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen ajustada */
.image-container2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Collapses */
.btn-collapse-toggle.active {
    background-color: #e40694 !important;
    border-color: #e40694 !important;
    box-shadow: 0 0 1px rgba(228, 6, 148, 0.5);
    color: white !important;
  }


/* menu lateral nombre */
.custom-toolbar {
  position: fixed;
  top: 170px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 9999;
}

.slide-button {
  position: relative;
  width: 30px;
  height: 30px;
  background-color: #e40694;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: visible;
  padding: 0;
  cursor: pointer;
}

.slide-button i {
  font-size: 1.2rem; /* Puedes ajustar esto */
  color: white;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  pointer-events: none;
  z-index: 2;
}

.slide-button .slide-text {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  white-space: nowrap;
  background-color: #e40694;
  color: white;
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  user-select: none;
  z-index: 1;
}

.slide-button:hover .slide-text {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

@keyframes blink-border {
  0% {
    box-shadow: 0 0 0 0.2rem rgba(228, 6, 148, 0.3);
  }
  50% {
    box-shadow: 0 0 0 0.2rem rgba(228, 6, 148, 0.05);
  }
  100% {
    box-shadow: 0 0 0 0.2rem rgba(228, 6, 148, 0.3);
  }
}

#nombreInput {
  font-size: 13px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  animation: blink-border 1.5s infinite;
  transition: border-color 0.3s ease-in-out;
}


.icono-usuario {
  animation: fadeInDown 0.8s ease;
}

.animar-fadein {
  animation: fadeIn 1s ease;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* POP OVERS NOMBRE */

.popover {
  z-index: 1060 !important;
}
	
/* Popover animación */
.fade-popover {
  opacity: 0;
  animation: fadeInPopover 0.5s ease-in-out forwards;
}

@keyframes fadeInPopover {
  to { opacity: 1; }
}

.popover-header {
  background-color: #e40694;
  color: white;
  font-weight: bold;
  text-align: center;
  font-size: 13px;
}

.popover-body {
  font-size: 11px;
}

#popover-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1055;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

#popover-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Animación elegante del mensaje central */
#popover-mensaje {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 1056;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#popover-mensaje.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

#entendidoBtn {
  font-size: 13px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
#entendidoBtn:hover {
  background-color: #e40694;
  color: white;
}

html.no-scroll,
body.no-scroll {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
  top: 0;
  left: 0;
  touch-action: none;
  overscroll-behavior: none;
}


/* mp3 */
.audio-player {
  background: #fff;
  border-radius: 10px;
  padding: 15px 20px;
  max-width: 500px;
  margin: 20px auto;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.track-title {
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;	
}

.audio-player .controls {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-player .btn-play {
  background-color: #e40694;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: none;
}

.audio-player .btn-play:hover {
  background-color: #c1047e;
}

.audio-player .time {
  font-size: 13px;
  min-width: 40px;
  text-align: center;
}

.audio-player input[type="range"] {
  flex-grow: 1;
  accent-color: #e40694;
  height: 4px;
  border-radius: 5px;
  cursor: pointer;
}

.audio-player .btn-restart {
  background-color: #6c757d;
  color: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
}

.audio-player .btn-restart:hover {
  background-color: #5a6268;
}

.audio-player input[type="range"]#volumeControl {
  width: 80px;
}

.audio-player .controls {
  flex-wrap: wrap;
  gap: 8px;
}

.audio-player .volume-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.audio-player .volume-wrapper i {
  color: #e40694;
}


/* ✅ Evita que RoyalSlider capture clics en los botones de like/dislike */
.rsSlide,
.rsContent {
  pointer-events: none;
}

.rsContent .likes-container,
.rsContent .likes-container * {
  pointer-events: auto;
}


.rsContent {
  pointer-events: none; /* bloquea clicks generales */
}

.rsContent .likes-container,
.rsContent .likes-container * {
  pointer-events: auto; /* permite clicks solo en los botones */
}

/* Pill con blend solo para el que tenga id="nuevo" */
#nuevo {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(50deg, #e40694 0%, #ff6cab 50%, #e40694 100%);
  background-size: 100% 100%;
  box-shadow: 0 3px 3px rgba(228, 6, 148, 0.25);
  transition: background-position 300ms ease, box-shadow 300ms ease, transform 120ms ease;
}

/* Hover/Focus: desplaza el gradiente para dar vida */
#nuevo:hover,
#nuevo:focus-visible {
  background-position: 100% 0;
  box-shadow: 0 6px 18px rgba(228, 6, 148, 0.35);
  color: #fff; /* asegura contraste */
  outline: none;
}

/* Active: pequeño “tap” feedback */
#nuevo:active {
  transform: translateY(1px);
}

/* Accesibilidad: foco visible si no hay :focus-visible */
#nuevo:focus {
  outline: 2px solid rgba(228, 6, 148, .6);
  outline-offset: 2px;
}

/* Respeta usuarios con movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  #nuevo {
    transition: none;
    background-size: 100% 100%;
  }
}


/* LIVERNAUTA INFERIOR */

.floating-images {
      position: fixed;
      bottom: 10px; 
      left: 10px; 
      display: flex;
      align-items: flex-end;
      z-index: 5; 
    }
    .livernauta {
      width: 100px;
      height: auto;
      animation: float 4s ease-in-out infinite;
      cursor: pointer;
    }
    @keyframes float {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-10px);
      }
    }
/* LIVERNAUTA INFERIOR */



