/* Logo TPD animado con CSS puro */

.tpd-logo {
  position: relative;
  width: 120px;
  height: 90px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.tpd-logo:hover {
  transform: scale(1.05);
}

.tpd-t {
  position: absolute;
  left: 8px;
  top: 10px;
  width: 70px;
  height: 16px;
  background: #F1F1F1;
  transform: skewX(-14deg);
  border-radius: 0 0px 0px 0;
  transition: background 0.3s ease;
  z-index: 2;
}

.tpd-t::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 22px;
  width: 18px;
  height: 50px;
  background: #F1F1F1;
  border-radius: 0 0 10px 0;
  transition: background 0.3s ease;
}

.tpd-p {
  position: absolute;
  right: 3px;
  top: 10px;
  width: 50px;
  height: 72px;
  border: 16px solid #FF6A00;
  border-left: 0;
  border-radius: 0 50px 50px 0;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.tpd-p::after {
  content: "";
  position: absolute;
  left: -19px;
  bottom: -16px;
  width: 58px;
  height: 16px;
  background: #FF6A00;
  transform: skewX(-22deg);
  border-radius: 20px 0 50px 0;
  transition: background 0.3s ease;
}

.tpd-dot {
  position: absolute;
  left: 67px;
  top: 38px;
  width: 18px;
  height: 18px;
  background: #FF6A00;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 3;
}

.tpd-logo:hover .tpd-dot {
  animation: pulseDot 1s infinite;
}

.tpd-logo:hover .tpd-t,
.tpd-logo:hover .tpd-t::after {
  background: #FF6A00;
}

.tpd-logo:hover .tpd-p {
  border-color: #F1F1F1;
  transform: translateX(-2px);
}

.tpd-logo:hover .tpd-p::after {
  background: #F1F1F1;
}

@keyframes pulseDot {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 0 0 rgba(255, 106, 0, 0); 
  }
  50% { 
    transform: scale(1.18); 
    box-shadow: 0 0 22px rgba(255, 106, 0, 0.7); 
  }
}

/* Versión responsive para móvil */
@media (max-width: 768px) {
  .tpd-logo {
    width: 64px;
    height: 48px;
  }
  
  .tpd-t {
    left: 4px;
    top: 6px;
    width: 37px;
    height: 9px;
    border-radius: 0 0px 0px 0;
    transform: skewX(-14deg);
  }
  
  .tpd-t::after {
    left: 15px;
    top: 12px;
    width: 10px;
    height: 26px;
    border-radius: 0 0 5px 0;
  }
  
  .tpd-p {
    right: 1px;
    top: 6px;
    width: 26px;
    height: 38px;
    border-width: 9px;
  }
  
  .tpd-p::after {
    left: -10px;
    bottom: -9px;
    width: 30px;
    height: 9px;
    transform: skewX(-22deg);
    border-radius: 10px 0 26px 0;
  }
  
  .tpd-dot {
    left: 36px;
    top: 20px;
    width: 10px;
    height: 10px;
  }
}
