/* ============================================================
   CORPO — Estilos de la página Nosotros (rediseño)
   Perfil editorial · áreas en filas numeradas · valores
   ============================================================ */

/* ---------- Chips del hero ---------- */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.hero-chips li {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}

/* ---------- Perfil del fundador ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.profile-photo {
  position: relative;
  width: min(100%, 440px);
}

/* Marco desplazado detrás de la foto */
.profile-photo::before {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 2px solid rgba(10, 132, 255, 0.35);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.profile-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: grayscale(1) contrast(1.05);
}

/* Velo azul sobre la foto */
.profile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    205deg,
    rgba(10, 132, 255, 0.28),
    transparent 45%,
    rgba(5, 6, 8, 0.5)
  );
  pointer-events: none;
}

.profile-card {
  position: absolute;
  z-index: 1;
  left: -1.2rem;
  bottom: 1.8rem;
  background: var(--dark);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.profile-card-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.profile-card-name {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--white);
  margin-top: 0.15rem;
}

.profile-card-role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.profile-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 1.2rem;
  max-width: 58ch;
}

/* Credenciales en filas */
.cred-list {
  margin: 2.2rem 0;
  border-top: 1px solid var(--border);
}

.cred-list li {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--border);
}

.cred-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--blue);
  flex-shrink: 0;
  line-height: 1.3;
}

.cred-list h3 {
  font-size: 1.12rem;
  margin-bottom: 0.2rem;
}

.cred-list p {
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 600;
}

@media (max-width: 860px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    margin-inline: auto;
  }

  .profile-card {
    left: 1rem;
  }
}

/* ---------- Áreas de trabajo (filas numeradas) ---------- */
.area-rows {
  border-top: 1px solid var(--border);
  max-width: 880px;
}

.area-row {
  display: flex;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: flex-start;
  padding: clamp(1.5rem, 3vw, 2.1rem) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left var(--transition);
}

.area-row:hover {
  padding-left: 0.8rem;
}

.area-num {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--blue);
  flex-shrink: 0;
  line-height: 1.2;
}

.area-row h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.area-row p {
  color: var(--text-muted);
  font-size: 0.97rem;
  max-width: 60ch;
}

/* ---------- Filosofía / valores ---------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.philosophy-statement {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.philosophy-big {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
}

.values {
  display: grid;
  gap: 0;
}

.value {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--border);
}

.value:first-child {
  padding-top: 0.4rem;
}

.value-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-weight: 900;
  font-size: 0.92rem;
}

.value h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.value p {
  color: var(--text-muted);
  font-size: 0.97rem;
}

@media (max-width: 860px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-statement {
    position: static;
  }
}

@media (max-width: 480px) {
  .area-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cred-list li {
    gap: 1rem;
  }
}
