@media (max-width: 768px) {
  /* Reducir tamaño del logo */
  .site-header .custom-logo-link img {
    max-height: 40px !important;
    width: auto !important;
  }

  /* Alinear el logo completamente a la izquierda */
  .site-header .site-branding,
  .site-header .custom-logo-link {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-left: 10px !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  /* Eliminar centrado automático si lo hay */
  .site-header {
    text-align: left !important;
  }
}
@media screen and (max-width: 768px) {
  .only-desktop {
    display: none !important;
  }
}
@media only screen and (max-width: 767px) {
  .gdlr-header-wrapper .gdlr-logo {
    margin-top: -100px !important;   /* Sube el logo */
    margin-left: 0px !important;    /* Mueve el logo a la izquierda */
    text-align: left !important;    /* Alinea el logo a la izquierda */
  }

  .gdlr-logo-inner {
    text-align: left !important;    
  }
}
/* Ocultar el botón en móviles */
.ocultar-en-movil {
  display: inline-block;
}

@media (max-width: 767px) {
  .ocultar-en-movil {
    display: none !important;
  }
}
@media (max-width: 767px) {
  /* Compactar el fondo negro del header */
  .gdlr-header-wrapper, .site-header, header {
    padding-top: 0px !important;
    padding-bottom: -0px !important;
    margin-top: -20px !important;
    height: auto !important;
    background-color: #000 !important; /* Asegura que siga siendo negro */
  }

  /* Reducir tamaño del logo si es muy grande */
  .gdlr-logo img, .site-logo img, .mobile-logo img {
    max-height: 30px !important;
    height: 30 !important;
  }

  /* Asegura que el contenido del header siga visible */
  .gdlr-header-inner,
  .gdlr-top-navigation-wrapper,
  .gdlr-header-title-wrapper {
    display: block !important;
  }
}
.gdlr-core-column-service-item .gdlr-core-column-service-media img {
    max-width: 100% !important;
    width: 450px !important;  /* Aumenta este valor a tu gusto */
    height: auto !important;
    display: block;
    margin: 0 auto;
}

@media only screen and (max-width: 768px) {
  h2 {
    font-size: 30px !important;
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  background-color: #25D366;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 50px;
  height: 50px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Tablets */
@media (max-width: 1024px) {
  .whatsapp-float img {
    width: 42px;
    height: 42px;
  }
}

/* Celulares */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 5px;
    left: 15px;
    padding: 6px;
  }
  .whatsapp-float img {
    width: 45px;
    height: 45px;
  }
}
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
}

.whatsapp-float {
  position: relative;
  display: inline-block;
  background-color: #25D366;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  text-align: center;
}

.whatsapp-float img {
  width: 50px;
  height: 50px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-label {
  position: absolute;
  bottom: 65px;
  left: 120%; /* Estaba en 60%, ahora más a la derecha */
  transform: translateX(-50%);
  text-align: center;
}
/* Texto animado */
.whatsapp-text {
  background: linear-gradient(90deg, #25D366, #128C7E);
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  animation: blinkThenHide 10s ease forwards; /* más tiempo */
}

/* Badge NEW con sincronización */
.new-badge {
  position: absolute;
  top: -20px;
  right: -10px;
  background: red;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 12px;
  opacity: 0;
  animation: blinkThenHide 10s ease forwards;
}

/* Animación de parpadeo y desvanecimiento */
@keyframes blinkThenHide {
  0%, 20%, 40%, 60%, 80% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  10%, 30%, 50%, 70%, 90% {
    opacity: 0.3;
    transform: translateX(-50%) scale(0.95);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
  }
}

@media (max-width: 768px) {
  .whatsapp-float img {
    width: 40px;
    height: 40px;
  }
  .whatsapp-text {
    font-size: 12px;
  }
  .whatsapp-label {
    bottom: 55px;
    left: 65%;
  }
}
.whatsapp-label {
  position: absolute;
  bottom: 65px;
  left: 110%; /* Para pantallas grandes */
  transform: translateX(-50%);
  text-align: center;
  font-weight: bold;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .whatsapp-label {
    bottom: 60px;
    left: 90%; /* Centrado en móviles */
    transform: translateX(-50%);
    font-size: 14px;
  }
  .new-badge {
    font-size: 12px;
    padding: 3px 6px;
  }
}
