.projects-title {
  font-size: 48px;
  text-transform: uppercase;
  margin-top: 5rem;
  background: linear-gradient(90deg, var(--gold), var(--silver));
  background-clip: text;
  color: transparent;
  font-family: "Racing Sans One", sans-serif;
}

.projects-sub {
  color: white;
  font-size: 18px;
  margin-bottom: 40px;
}

.testimonios-cyberpunk {
  background: radial-gradient(circle at top, #4444449d 0, #0000009c 50%, #000000a8 100%);
  color: #f5f5f5;
  padding: 4rem 2rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  border-top: 1px solid rgba(255, 215, 0, 0.25);
  border-bottom: 1px solid rgba(192, 192, 192, 0.25);
  position: relative;
  overflow: hidden;
}

/* Líneas decorativas tipo HUD */
.testimonios-cyberpunk::before,
.testimonios-cyberpunk::after {
  content: "";
  position: absolute;
  width: 130%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 215, 0, 0) 0%,
    rgba(255, 215, 0, 0.8) 50%,
    rgba(192, 192, 192, 0) 100%
  );
  top: 20%;
  left: -15%;
  opacity: 0.4;
  transform: skewY(-4deg);
}
.testimonios-cyberpunk::after {
  top: 80%;
  transform: skewY(4deg);
}



/* Grid de tarjetas */
.testimonios-grid {
  display: grid;
  max-width: 1100px;
  margin: 0 auto;
  place-items: center; /* 🔥 centra el único card */
}

.testimonio-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}




.testimonio-card {
  background: linear-gradient(
    145deg,
    rgba(20, 20, 20, 0.95),
    rgba(10, 10, 10, 0.95)
  );
  border: 1px solid rgba(192, 192, 192, 0.4); /* plateado */
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  position: relative;
  overflow: visible;
  box-shadow:
    0 0 15px rgba(0, 0, 0, 0.8),
    0 0 18px rgba(255, 215, 0, 0.15);
  backdrop-filter: blur(4px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
    width: 520px;
    height: 300px;
    margin-bottom: 7rem;
}

/* Borde superior dorado brillante */


.testimonio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 215, 0, 0.8);
  box-shadow:
    0 0 20px rgba(255, 215, 0, 0.35),
    0 0 40px rgba(192, 192, 192, 0.4);
}

.testimonio-card h3 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.testimonio-texto {
  font-size: 12px;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 0.9rem;
}

.testimonio-cliente {
  font-size: 0.9rem;
  color: #c0c0c0; /* plateado */
  margin-bottom: 1.4rem;
}

/* Botón/enlace a la web del cliente */
.btn-enlace {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 30px;
  bottom: -20px;
  gap: 0.4rem;
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.7);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #000;
  background: linear-gradient(135deg, #ffd700, #c0c0c0);
  box-shadow:
    0 0 10px rgba(255, 215, 0, 0.7),
    0 0 18px rgba(192, 192, 192, 0.6);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.btn-enlace:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.1);
  box-shadow:
    0 0 14px rgba(255, 215, 0, 0.9),
    0 0 24px rgba(192, 192, 192, 0.9);
}
.logo-testimonio {
  position: absolute;
  bottom: -170px;        /* hace que sobresalga */
  right: -45px;      /* ajusta para que salga del borde */
  width: 320px;
  height: 220px;
  object-fit: fill;
  border-radius: 10%;
  background: #000;
  padding: 6px;
  border: 2px solid #ffd700;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.8),
              0 0 22px rgba(192, 192, 192, 0.6);
  z-index: 10;
}

@keyframes glowLogo {
  0% { box-shadow: 0 0 10px rgba(255,215,0,.6); }
  50% { box-shadow: 0 0 22px rgba(255,215,0,.9); }
  100% { box-shadow: 0 0 10px rgba(255,215,0,.6); }
}

.logo-testimonio {
  animation: glowLogo 2.6s infinite;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablets y pantallas medianas (hasta 768px) */
@media (max-width: 768px) {
  .projects-title {
    font-size: 36px;
    margin-top: 3rem;
  }

  .projects-sub {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .testimonios-cyberpunk {
    padding: 3rem 1.5rem;
  }

  .testimonios-grid {
    max-width: 100%;
  }

  .testimonio-card-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .testimonio-card {
    width: 100%;
    max-width: 520px;
    height: auto;
    min-height: 280px;
    margin-bottom: 5rem;
  }

  .logo-testimonio {
    width: 280px;
    height: 190px;
    bottom: -130px;
    right: -20px;
  }
}

/* Móviles (hasta 480px) */
@media (max-width: 480px) {
  .projects-title {
    font-size: 28px;
    margin-top: 2rem;
  }

  .projects-sub {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .testimonios-cyberpunk {
    padding: 2rem 1rem;
  }

  .testimonio-card-grid {
    gap: 2rem;
  }

  .testimonio-card {
    width: 100%;
    padding: 1.5rem 1.2rem;
    height: auto;
    min-height: 260px;
    margin-bottom: 4rem;
  }

  .testimonio-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }

  .testimonio-texto {
    font-size: 11px;
    line-height: 1.5;
  }

  .testimonio-cliente {
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .btn-enlace {
    position: absolute;
    left: 20px;
    bottom: 15px;
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
  }

  .logo-testimonio {
    width: 200px;
    height: 140px;
    bottom: -90px;
    right: -10px;
    border-width: 1.5px;
  }
}
