/* ═══════════════════════════════════════════════════════════════
   HIERRO FACH UY — nosotros-home.css
   "Quiénes somos" de la home: foto + texto + checklist.
   (nosotros.css sigue usándose en la página /quienes_somos)
   Requiere: header.css (variables :root)
═══════════════════════════════════════════════════════════════ */

.qs {
  --qs-text:  #4d5a66;
  --qs-dark:  #10181f;
  --qs-line:  rgba(11, 53, 87, 0.18);
  background: #ffffff;
  padding: 96px 0 88px;
}

.qs__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── ENCABEZADO ─────────────────────────────────────────── */
.qs__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 14px;
}
.qs__eyebrow::before {
  content: '';
  width: 44px;
  height: 2px;
  background: var(--clr-accent);
}

.qs__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--clr-brand);
  margin: 0 0 48px;
  max-width: 18ch;
}

/* ─── GRID ───────────────────────────────────────────────── */
.qs__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

/* ─── FOTO ───────────────────────────────────────────────── */
.qs__figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0d1a14;
}

.qs__img {
  display: block;
  width: 100%;
  height: auto;              /* anula el height="" del HTML para que mande aspect-ratio */
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: center top;   /* retrato: mantener la cara visible al recortar */
}

.qs__caption {
  background: var(--clr-brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 22px;
}

/* ─── TEXTO ──────────────────────────────────────────────── */
.qs__lead {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--clr-brand);
  margin: 0 0 22px;
}

.qs__text p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--qs-text);
  margin: 0 0 18px;
}
.qs__text p:last-child { margin-bottom: 0; }

.qs__sign {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 2px solid var(--clr-accent);
  max-width: 460px;
}
.qs__sign-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-brand);
}
.qs__sign-role {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--qs-text);
}

/* ─── CHECKLIST ──────────────────────────────────────────── */
.qs__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qs__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  color: var(--qs-dark);
}

.qs__check {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--clr-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .qs { padding: 64px 0 56px; }
  .qs__title { margin-bottom: 32px; max-width: none; }
  .qs__grid { grid-template-columns: 1fr; gap: 36px; }
  .qs__figure { border-radius: 0; margin: 0 -24px; }  /* foto a sangre */
  .qs__img { aspect-ratio: 4 / 3; }
  .qs__caption { font-size: 14px; padding: 14px 24px; }
  .qs__lead { font-size: 26px; }
  .qs__text p { font-size: 16px; }
  .qs__sign { max-width: none; }
}

@media (max-width: 480px) {
  .qs__inner { padding: 0 20px; }
  .qs__figure { margin: 0 -20px; }
  .qs__caption { padding: 12px 20px; }
}
