/* ============================= */
/* TESTIMONIOS                   */
/* ============================= */

.testimonios {
  padding: 80px 5%;
  background: linear-gradient(160deg, #07152f 0%, #0a1f44 50%, #0d2556 100%);
  position: relative;
  overflow: hidden;
}

/* Destellos decorativos */
.testimonios::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.testimonios::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

/* ── Header ── */
.testimonios-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 1;
}

.testimonios-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--celeste-acento);
  background: rgba(0, 194, 255, 0.12);
  border: 1px solid rgba(0, 194, 255, 0.3);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.testimonios-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 12px;
}

.testimonios-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ── Grid ── */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Card ── */
.testimonios-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s;
  backdrop-filter: blur(6px);
}

.testimonios-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 194, 255, 0.3);
}

/* Card destacada — centro */
.testimonios-card--destacada {
  background: rgba(0, 194, 255, 0.1);
  border-color: rgba(0, 194, 255, 0.35);
}

.testimonios-card--destacada:hover {
  background: rgba(0, 194, 255, 0.15);
  border-color: rgba(0, 194, 255, 0.55);
}

/* ── Estrellas ── */
.testimonios-estrellas {
  display: flex;
  gap: 4px;
}

.testimonios-estrellas svg {
  width: 16px;
  height: 16px;
  stroke: #f6c90e;
  fill: #f6c90e;
}

/* ── Cita ── */
.testimonios-cita {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
  position: relative;
}

.testimonios-cita::before {
  content: "\201C";
  font-size: 48px;
  line-height: 0;
  vertical-align: -18px;
  color: var(--celeste-acento);
  opacity: 0.5;
  font-style: normal;
  margin-right: 4px;
}

/* ── Autor ── */
.testimonios-autor {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.testimonios-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--celeste-acento), #0077a8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.testimonios-autor-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}

.testimonios-autor-info span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-top: 2px;
}

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

@media (max-width: 960px) {
  .testimonios-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
  }

  .testimonios-card--destacada {
    order: -1;
  }

  .testimonios-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .testimonios {
    padding: 56px 5%;
  }

  .testimonios-header {
    margin-bottom: 36px;
  }

  .testimonios-header h2 {
    font-size: 24px;
  }

  .testimonios-card {
    padding: 24px 20px;
  }
}
