/* ============================================================
   KETSALE — nosotros.css
   ============================================================ */

/* ── HISTORIA ─────────────────────────────────────────────── */
.historia-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.historia-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.historia-info p {
  color: var(--text-gray);
  line-height: 1.85;
  font-size: 0.97rem;
}

.historia-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.historia-card {
  padding: 24px;
}

.historia-card.featured {
  background: linear-gradient(135deg, rgba(124,58,237,0.2), var(--surface));
  border-color: rgba(124, 58, 237, 0.4);
}

.hc-year {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.historia-card p {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .historia-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ── MVP ─────────────────────────────────────────────────── */
.mvp-section { overflow: hidden; }

.mvp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mvp-card {
  padding: 40px 32px;
  text-align: center;
}

.mvp-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.mvp-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.mvp-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .mvp-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ── TIMELINE ─────────────────────────────────────────────── */
.timeline-header {
  text-align: center;
  margin-bottom: 64px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 50%;
}

/* Central line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(124,58,237,0.1));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  padding: 0 0 48px 60px;
  margin-left: -50%;
  width: 50%;
}

.timeline-item.right {
  margin-left: 0;
  padding: 0 60px 48px 0;
  text-align: right;
}

.timeline-dot {
  position: absolute;
  right: -8px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--primary-glow);
  z-index: 1;
}

.timeline-item.right .timeline-dot {
  right: auto;
  left: -8px;
}

.timeline-dot.accent { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

.timeline-year {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 6px;
}

.timeline-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.timeline-body p {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.75;
}

@media (max-width: 680px) {
  .timeline { padding-left: 0; }
  .timeline::before { left: 16px; }

  .timeline-item,
  .timeline-item.right {
    margin-left: 0;
    padding: 0 0 36px 44px;
    text-align: left;
    width: 100%;
  }

  .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 9px;
    right: auto;
  }
}

/* ── TEAM ─────────────────────────────────────────────────── */
.team-header {
  text-align: center;
  margin-bottom: 56px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.team-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.team-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.team-role {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
}

.team-card p {
  font-size: 0.84rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.team-socials {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.team-socials a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: color var(--transition), border-color var(--transition);
}

.team-socials a:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

/* ── VALORES ─────────────────────────────────────────────── */
.valores-header {
  text-align: center;
  margin-bottom: 56px;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.valor-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.valor-card:hover { border-color: var(--border); transform: translateY(-4px); }

.valor-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--border-light);
  line-height: 1;
  margin-bottom: 16px;
}

.valor-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.valor-card p {
  font-size: 0.875rem;
  color: var(--text-gray);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .valores-grid { grid-template-columns: repeat(2, 1fr); }
}

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