/* nosotros.css */

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story-img  { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lift); }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-text p  { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.75; }
.story-signature {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-subtle);
  display: flex; align-items: center; gap: 18px;
}
.story-sig-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--green-pale); border: 2px solid var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: var(--green-dark);
}
.story-sig-name { font-size: 1rem; font-weight: 700; color: var(--navy-primary); }
.story-sig-role { font-size: 0.80rem; color: var(--text-muted); margin-top: 2px; }

/* Philosophy */
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.philosophy-card {
  background: var(--white); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card); padding: 36px; box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
.philosophy-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%; background: var(--green-primary); border-radius: 2px 0 0 2px;
}
.philosophy-card.navy::before { background: var(--navy-primary); }
.philosophy-card.full { grid-column: span 2; }
.philo-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--green-pale); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.philosophy-card.navy .philo-icon { background: rgba(30,58,99,0.08); color: var(--navy-primary); }
.philosophy-card h3 { margin-bottom: 12px; }
.philosophy-card p  { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.values-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.value-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--green-pale); color: var(--green-dark);
  padding: 8px 16px; border-radius: 24px; font-size: 0.82rem; font-weight: 600;
}
.value-chip svg { flex-shrink: 0; }

/* Process timeline (vertical on this page) */
.process-list { display: flex; flex-direction: column; gap: 0; }
.process-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  position: relative; padding-bottom: 36px;
}
.process-item:last-child { padding-bottom: 0; }
.process-item::before {
  content: ''; position: absolute; left: 39px; top: 48px; bottom: 0;
  width: 2px; background: var(--border-medium);
}
.process-item:last-child::before { display: none; }
.process-num-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.process-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 800; flex-shrink: 0; z-index: 1; position: relative;
}
.process-body { padding-top: 10px; }
.process-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-body p  { color: var(--text-secondary); font-size: 0.9rem; }

/* Team (placeholder) */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.team-card {
  background: var(--white); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-sm);
  text-align: center; transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.team-card-img { aspect-ratio: 1/1; overflow: hidden; background: var(--warm-gray); }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card-body { padding: 20px; }
.team-card-body h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card-body p  { font-size: 0.82rem; color: var(--text-muted); }

/* CTA strip */
.nosotros-cta {
  background: linear-gradient(135deg, var(--navy-primary), var(--navy-mid));
  border-radius: var(--radius-lg); padding: 48px; text-align: center; color: var(--white);
  margin-top: calc(var(--sp)*6);
}
.nosotros-cta h3 { margin-bottom: 12px; }
.nosotros-cta p  { color: rgba(255,255,255,0.75); margin-bottom: 28px; }
.nosotros-cta .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-img  { order: -1; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-card.full { grid-column: span 1; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; }
}
