.whatsapp-flotante {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;

  animation: pulso-whatsapp 2s infinite;
}

.whatsapp-flotante svg {
  color: #FFF;
}

.whatsapp-flotante:hover {
  background-color: #128c7e;
  color: #FFF;
  transform: scale(1.1);
  animation: none;
}

@keyframes pulso-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-flotante {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-flotante svg {
    width: 30px;
    height: 30px;
  }
}

.tp-back-to-top {
  right: auto !important;
  left: 30px !important;
  bottom: 30px !important;
}

@media (max-width: 768px) {
  .tp-back-to-top {
    left: 20px !important;
    bottom: 20px !important;
  }
}

.tp-seo-btn {
  color: black;
  background-color: transparent;
}
.tp-seo-btn:hover {
  color: white;
  background-color: #080F5F;
}

.marca-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.marca-card:hover {
  box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}
.marca-img-wrapper {
  height: 200px;
  padding: 30px;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
}
.marca-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.marca-info {
  padding: 25px;
  text-align: center;
  flex-grow: 1;
}
.marca-nombre {
  color: #080F5F;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.marca-descripcion {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.cliente-logo-wrapper {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cliente-logo-wrapper img {
  max-width: 150px;
  max-height: 80px;
  object-fit: contain;
  /* filter: grayscale(100%) opacity(60%); */
  transition: all 0.4s ease;
}
.cliente-logo-wrapper:hover img {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.05);
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .tp-pf-btn-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 15px;
    margin-bottom: 20px;
    justify-content: flex-start !important;
  }

  .tp-pf-btn-group button {
    white-space: nowrap;
    flex: 0 0 auto;
    padding: 10px 22px;
    font-size: 0.9rem;
    margin: 0 !important;
  }

  .tp-pf-btn-group::-webkit-scrollbar {
    height: 4px;
  }
  .tp-pf-btn-group::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
  }
  .tp-pf-btn-group::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }
}

@media (max-width: 768px) {
  .marca-img-wrapper {
    height: 130px !important;
    padding: 15px !important;
  }

  .marca-info {
    padding: 15px !important;
  }

  .marca-nombre {
    font-size: 1.1rem !important;
    margin-bottom: 5px !important;
  }

  .marca-descripcion {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

  .tp-portfolio-item {
    margin-bottom: 20px !important;
  }

  .tp-portfoliop-page-area {
    padding-bottom: 100px !important;
  }
}
