/* ============================================
   SECCIÓN ¿QUIÉNES SOMOS? — estilo glass/neón
   Réplica en CSS puro del diseño Tailwind
   ============================================ */

#about-us.qs-section {
  position: relative;
  overflow: hidden;
  background-color: #0B132B;
  color: #f1f5f9;
  padding: 100px 1.5rem;
  font-family: 'Inter', sans-serif;
}

/* Círculos decorativos de fondo */
.qs-blur-circle {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  mix-blend-mode: multiply;
  filter: blur(64px);
  pointer-events: none;
  animation: qs-pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.qs-blur-circle--cyan {
  top: -10rem;
  left: -10rem;
  background-color: #0891b2;
  opacity: 0.2;
}
.qs-blur-circle--neon {
  bottom: -10rem;
  right: -10rem;
  background-color: #00FF66;
  opacity: 0.1;
}

@keyframes qs-pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.08; }
}

.qs-container {
  max-width: 80rem;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Encabezado */
.qs-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.qs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background-color: #141E38;
  border: 1px solid rgba(0, 255, 102, 0.3);
  color: #00FF66;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.qs-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: #00FF66;
  flex-shrink: 0;
  animation: qs-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes qs-ping {
  0% { transform: scale(1); opacity: 1; }
  75%, 100% { transform: scale(2); opacity: 0; }
}

.qs-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.qs-header h2 .qs-gradient-text {
  background: linear-gradient(to right, #22d3ee, #00FF66);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.qs-header p {
  color: #cbd5e1;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
}

/* Grid de tarjetas */
.qs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Tarjeta glass */
.qs-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgba(28, 37, 65, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 102, 0.15);
  box-shadow: 0 0 25px rgba(0, 255, 102, 0.25);
  transition: all 0.5s ease;
}

.qs-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 255, 102, 0.6);
  box-shadow: 0 0 35px rgba(0, 255, 102, 0.45);
}

/* Imagen con overlay */
.qs-card-media {
  position: relative;
  height: 16rem;
  width: 100%;
  overflow: hidden;
}

.qs-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #141E38, rgba(20, 30, 56, 0.4), transparent);
  z-index: 10;
}

.qs-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.qs-card:hover .qs-card-media img {
  transform: scale(1.1);
}

.qs-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(11, 19, 43, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #00FF66;
  border: 1px solid rgba(0, 255, 102, 0.3);
}

/* Contenido de la tarjeta */
.qs-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: -2rem;
  position: relative;
  z-index: 20;
}

.qs-card-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.qs-card:hover .qs-card-body h3 {
  color: #00FF66;
}

.qs-card-body p {
  color: #cbd5e1;
  font-size: 0.9375rem;
  line-height: 1.7;
  font-weight: 300;
  margin: 0;
}

.qs-card-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(51, 65, 85, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 500;
  color: #00FF66;
}

.qs-card-footer svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.qs-card:hover .qs-card-footer svg {
  transform: translateX(4px);
}

/* Responsive */
@media (min-width: 640px) {
  .qs-header h2 { font-size: 3rem; }
  .qs-header p { font-size: 1.25rem; }
  .qs-card-body p { font-size: 1rem; }
}

@media (min-width: 768px) {
  .qs-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .qs-grid { gap: 2.5rem; }
}
