/* =========================================================
   BOTÓN FLOTANTE - OTRO PROYECTO
   Va encima del botón de WhatsApp y no lo interfiere.
========================================================= */

.project-float {
  position: fixed;
  right: 24px;
  bottom: 112px;
  z-index: 8800;
}

.project-float-btn {
  position: relative;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9952e, #f2c75c);
  color: #082b52;
  font-size: 1.55rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(201, 149, 46, .38);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.project-float-btn:hover {
  transform: translateY(-5px) scale(1.08);
  filter: brightness(1.08);
  box-shadow: 0 24px 56px rgba(201, 149, 46, .52);
}

.project-pulse {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(242, 199, 92, .55);
  animation: projectPulse 1.8s infinite;
}

@keyframes projectPulse {
  0% {
    transform: scale(.9);
    opacity: .9;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.project-tooltip {
  position: absolute;
  right: 76px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  width: 230px;
  background: rgba(6, 25, 45, .96);
  color: #fff;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid rgba(242, 199, 92, .75);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .25s ease;
}

.project-float:hover .project-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.project-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(340px, calc(100vw - 34px));
  background:
    radial-gradient(circle at top left, rgba(242, 199, 92, .22), transparent 42%),
    linear-gradient(145deg, #ffffff, #f7fbff);
  border: 1px solid rgba(201, 149, 46, .42);
  border-radius: 26px;
  padding: 26px 22px 22px;
  box-shadow: 0 28px 80px rgba(8, 43, 82, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.94);
  pointer-events: none;
  transition: .28s ease;
}

.project-float.is-open .project-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.project-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #eef4fa;
  color: #082b52;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .2s ease;
}

.project-close:hover {
  background: #c9952e;
  color: #fff;
  transform: rotate(90deg);
}

.project-panel-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #082b52, #155b86);
  color: #f2c75c;
  font-size: 1.5rem;
  margin-bottom: 14px;
  box-shadow: 0 14px 30px rgba(8, 43, 82, .28);
}

.project-eyebrow {
  display: inline-block;
  color: #c9952e;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  margin-bottom: 7px;
}

.project-panel h3 {
  margin: 0;
  color: #082b52;
  font-size: 1.45rem;
  line-height: 1.1;
}

.project-panel p {
  margin: 10px 0 18px;
  color: #44546a;
  font-size: .94rem;
  line-height: 1.65;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #082b52, #155b86);
  color: #fff;
  font-weight: 900;
  font-size: .9rem;
  box-shadow: 0 14px 34px rgba(8, 43, 82, .25);
  transition: .25s ease;
}

.project-link:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #c9952e, #e0b956);
  color: #082b52;
}

/* CELULAR */
@media (max-width: 560px) {
  .project-float {
    right: 18px;
    bottom: 104px;
  }

  .project-float-btn {
    width: 56px;
    height: 56px;
    font-size: 1.35rem;
  }

  .project-tooltip {
    display: none;
  }

  .project-panel {
    bottom: 72px;
    width: min(318px, calc(100vw - 30px));
  }
}