/* ─── QUIENES_SOMOS.CSS ─── */

.qs-main {
  --qs-page-gutter: calc(2rem + 50px);
  background: #f4f6f8;
  min-height: 100vh;
  padding-bottom: 5rem;
}

/* ─── HERO ─── */
.qs-hero {
  width: 100%;
  height: 420px;
  position: relative;
  overflow: hidden;
  margin-top: 72px;
}

.qs-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.qs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 20, 35, 0.85) 0%,
    rgba(10, 20, 35, 0.55) 55%,
    rgba(10, 20, 35, 0.1) 100%
  );
  display: flex;
  align-items: center;
  padding: 0 var(--qs-page-gutter);
}

.qs-main > .container {
  margin-left: var(--qs-page-gutter);
  margin-right: var(--qs-page-gutter);
}

.qs-hero-text { color: white; }

.qs-hero-text .section-tag {
  background: rgba(95,186,231,0.1);
  color: var(--blue, #5FBAE7);
  border: 1px solid rgba(95,186,231,0.25);
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  font-family: 'Inter Leve' !important;
  font-weight: 300;
  margin-bottom: 0.9rem;
  display: inline-block;
}

.qs-hero-text h1 {
  font-family: 'Glacial Indifference Negrita' !important;
  font-weight: 700;
  font-size: clamp(2.662rem, 6.05vw, 4.114rem);
  color: var(--blue, #5FBAE7);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.qs-hero-text p {
  font-family: 'Inter Leve' !important;
  font-weight: 300;
  font-size: 1.271rem;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  line-height: 1.65;
}

@media (max-width: 600px) {
  .qs-main { --qs-page-gutter: 1.25rem; }
  .qs-hero { height: 280px; }
  .qs-hero-text p { display: none; }
}

/* ─── SECCIONES ─── */
.qs-section {
  padding: 4rem 0;
}

.qs-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.qs-reverse { direction: rtl; }
.qs-reverse > * { direction: ltr; }

/* ─── COLUMNA TEXTO ─── */
.qs-tag {
  display: inline-block;
  background: rgba(95,186,231,0.1);
  color: var(--blue, #5FBAE7);
  border: 1px solid rgba(95,186,231,0.25);
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  font-family: 'Inter Leve' !important;
  font-size: 0.908rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.qs-titulo {
  font-family: 'Glacial Indifference Negrita' !important;
  font-weight: 700;
  font-size: clamp(1.936rem, 3.63vw, 2.662rem);
  color: var(--dark, #1a2332);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.qs-parrafos p {
  font-family: 'Inter Leve' !important;
  font-weight: 300;
  font-size: 1.174rem;
  color: var(--text-light, #555);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.qs-parrafos p:last-child { margin-bottom: 0; }

/* ─── HIGHLIGHT ─── */
.qs-highlight {
  border-left: 3px solid var(--green, #2C9843);
  padding: 1rem 1.25rem;
  background: rgba(44,152,67,0.05);
  border-radius: 0 10px 10px 0;
  margin: 1.75rem 0;
}

.qs-highlight p {
  font-family: 'Glacial Indifference Negrita' !important;
  font-weight: 700;
  font-size: 1.21rem;
  color: var(--dark, #1a2332);
  line-height: 1.6;
  margin: 0;
}

.qs-cierre {
  font-family: 'Inter Leve' !important;
  font-weight: 300;
  font-size: 1.174rem;
  color: var(--text-light, #555);
  line-height: 1.8;
  font-style: italic;
}

/* ─── CARRUSEL ─── */
.qs-carrusel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.13);
  height: 420px;
}

.qs-carrusel-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.qs-carrusel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.qs-carrusel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* Puntos de navegación */
.qs-carrusel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 3;
}

.qs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.qs-dot.active {
  background: white;
  transform: scale(1.3);
}

/* Badge */
.qs-img-badge {
  position: absolute;
  bottom: 3rem;
  left: 1.25rem;
  background: rgba(10, 20, 35, 0.75);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.55rem 1rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter Leve' !important;
  font-size: 0.992rem;
  font-weight: 300;
  border: 1px solid rgba(255,255,255,0.15);
  z-index: 3;
}

/* ─── TIMELINE ─── */
.qs-trayectoria-visual {
  background: white;
  border-radius: 20px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border: 1px solid rgba(196,196,196,0.2);
}

.qs-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.qs-tl-item {
  display: flex;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.75rem;
}

.qs-tl-item:last-child { padding-bottom: 0; }

.qs-tl-item::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: rgba(196,196,196,0.35);
}

.qs-tl-item:last-child::before { display: none; }

.qs-tl-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 2.5px solid rgba(196,196,196,0.5);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s;
}

.qs-tl-dot-active {
  border-color: var(--green, #2C9843);
  background: var(--green, #2C9843);
  box-shadow: 0 0 0 4px rgba(44,152,67,0.15);
}

.qs-tl-content { flex: 1; }

.qs-tl-label {
  display: block;
  font-family: 'Glacial Indifference Negrita' !important;
  font-weight: 700;
  font-size: 1.065rem;
  color: var(--dark, #1a2332);
  margin-bottom: 0.25rem;
}

.qs-tl-content p {
  font-family: 'Inter Leve' !important;
  font-weight: 300;
  font-size: 1.029rem;
  color: var(--text-light, #666);
  line-height: 1.6;
  margin: 0;
}

/* ─── ALIADOS ─── */
.qs-aliados {
  margin-top: 2rem;
  background: #f8fafc;
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid rgba(196,196,196,0.2);
}

.qs-aliados h4 {
  font-family: 'Glacial Indifference Negrita' !important;
  font-weight: 700;
  font-size: 0.992rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark);
  margin-bottom: 1.1rem;
}

.qs-aliados-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qs-aliado-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.qs-aliado-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: white;
  border: 1px solid rgba(196,196,196,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.qs-aliado-item strong {
  display: block;
  font-family: 'Glacial Indifference Negrita' !important;
  font-size: 1.065rem;
  color: var(--dark);
  margin-bottom: 0.15rem;
}

.qs-aliado-item p {
  font-family: 'Inter Leve' !important;
  font-weight: 300;
  font-size: 0.968rem;
  color: var(--text-light, #777);
  margin: 0;
  line-height: 1.4;
}

/* ─── DIVISOR ─── */
.qs-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,196,196,0.4), transparent);
  margin: 0;
}

/* ─── CTA FINAL ─── */
.qs-cta {
  background: linear-gradient(135deg, #1a2332 0%, #243044 60%, #1e3a5f 100%);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.qs-cta h3 {
  font-family: 'Glacial Indifference Negrita' !important;
  font-weight: 700;
  font-size: clamp(1.694rem, 3.63vw, 2.42rem);
  color: white;
  margin: 0;
}

.qs-cta p {
  font-family: 'Inter Leve' !important;
  font-weight: 300;
  font-size: 1.21rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  max-width: 480px;
}

.qs-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  background: var(--green, #2C9843);
  color: white;
  padding: 0.85rem 2.25rem;
  border-radius: 50px;
  font-family: 'Inter Leve' !important;
  font-weight: 300;
  font-size: 1.15rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.qs-btn-cta:hover {
  background: #237a36;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44,152,67,0.35);
}

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .qs-section-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .qs-reverse { direction: ltr; }
  .qs-carrusel { height: 280px; }
}

@media (max-width: 600px) {
  .qs-section { padding: 2.5rem 0; }
  .qs-cta { padding: 2.5rem 1.25rem; }
}
/* ─── SECCIÓN LOGROS ─── */
.qs-logros-section { padding-top: 4rem; padding-bottom: 2rem; }

.qs-logros-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.qs-logros-header .qs-titulo {
  font-size: clamp(2.178rem, 4.235vw, 2.904rem);
  margin-bottom: 1rem;
}

.qs-logros-header .qs-parrafos p {
  font-size: 1.21rem;
  color: var(--text-light, #555);
  line-height: 1.8;
}

/* ─── GRID DE LOGROS ─── */
.qs-logros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

/* ─── CARD LOGRO ─── */
.qs-logro-card {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(196,196,196,0.22);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.qs-logro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(95,186,231,0.14);
  border-color: rgba(95,186,231,0.35);
}

/* Card destacada — ocupa todo el ancho */
.qs-logro-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #1a2332 0%, #243044 60%, #1e3a5f 100%);
  border-color: transparent;
  color: white;
}

.qs-logro-featured:hover {
  border-color: rgba(95,186,231,0.4);
  box-shadow: 0 16px 48px rgba(10,20,35,0.25);
}

.qs-logro-featured .qs-logro-icon {
  background: rgba(95,186,231,0.15);
  border-color: rgba(95,186,231,0.3);
  color: var(--blue, #5FBAE7);
}

.qs-logro-featured h3 {
  color: white !important;
}

.qs-logro-featured .qs-parrafos p {
  color: rgba(255,255,255,0.7) !important;
}

/* ─── ICONO ─── */
.qs-logro-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(44,152,67,0.08);
  border: 1.5px solid rgba(44,152,67,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green, #2C9843);
}

/* ─── CUERPO DE LA CARD ─── */
.qs-logro-body { flex: 1; }

.qs-logro-body h3 {
  font-family: 'Glacial Indifference Negrita' !important;
  font-weight: 700;
  font-size: 1.21rem;
  color: var(--dark, #1a2332);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.qs-logro-body .qs-parrafos p {
  font-family: 'Inter Leve' !important;
  font-weight: 300;
  font-size: 1.065rem;
  color: var(--text-light, #666);
  line-height: 1.7;
  margin: 0;
}

/* ─── BLOQUE CIERRE ─── */
.qs-logros-cierre {
  background: #f8fafc;
  border-radius: 20px;
  border: 1px solid rgba(196,196,196,0.2);
  overflow: hidden;
  margin-top: 0.5rem;
}

.qs-logros-cierre-inner {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 0;
}

.qs-logros-cierre-texto {
  padding: 2.25rem 2.5rem;
  border-right: 1px solid rgba(196,196,196,0.2);
}

.qs-logros-cierre-texto .qs-parrafos p {
  font-family: 'Inter Leve' !important;
  font-weight: 300;
  font-size: 1.15rem;
  color: var(--text-light, #555);
  line-height: 1.85;
  margin-bottom: 0.9rem;
}

.qs-logros-cierre-texto .qs-parrafos p:last-child { margin-bottom: 0; }

.qs-logros-cierre-texto em {
  font-style: italic;
  color: var(--dark, #1a2332);
}

/* ─── VALORES ─── */
.qs-logros-valores {
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  justify-content: center;
  background: white;
}

.qs-valor-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem;
  background: rgba(44,152,67,0.06);
  border: 1px solid rgba(44,152,67,0.15);
  border-radius: 50px;
  font-family: 'Glacial Indifference Negrita' !important;
  font-weight: 700;
  font-size: 0.992rem;
  color: var(--dark, #1a2332);
  transition: background 0.2s, border-color 0.2s;
}

.qs-valor-pill:hover {
  background: rgba(44,152,67,0.12);
  border-color: rgba(44,152,67,0.3);
}

/* ─── RESPONSIVE LOGROS ─── */
@media (max-width: 900px) {
  .qs-logros-grid { grid-template-columns: 1fr; }
  .qs-logro-featured { grid-column: 1; }
  .qs-logros-cierre-inner { grid-template-columns: 1fr; }
  .qs-logros-cierre-texto { border-right: none; border-bottom: 1px solid rgba(196,196,196,0.2); }
  .qs-logros-valores { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .qs-logro-card { flex-direction: column; gap: 0.85rem; }
  .qs-logros-cierre-texto { padding: 1.5rem; }
  .qs-logros-valores { padding: 1.25rem 1.5rem; }
}