/* ─── VARIABLES ADICIONALES ─── */
:root {
  --yellow: #FFD166;
  --card-bg: rgba(255,255,255,0.7);
}

/* ─── NAV ACTIVE ─── */
nav ul a.active { color: var(--teal-dark); font-weight: 700; }

/* ─── PAGE HEADER ─── */
.page-header {
  padding: 140px 5% 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  pointer-events: none;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-glow);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto 20px;
}

.page-header h1 .accent { color: var(--teal); }

.page-header p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── CONTENT ─── */
.content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5% 100px;
  position: relative;
  z-index: 1;
}

/* ─── STATS ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span { color: var(--teal); }

.stat-label {
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ─── SECTION TITLE ─── */
.section-title-sm {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title-sm::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 28px;
  background: var(--teal);
  border-radius: 4px;
  flex-shrink: 0;
}

/* ─── MISION / VISION ─── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 80px;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.mv-card.dark {
  background: var(--ink);
  border-color: transparent;
}

.mv-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.mv-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.mv-card.dark h3 { color: var(--white); }

.mv-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.mv-card.dark p { color: rgba(255,255,255,0.6); }

/* ─── HISTORIA ─── */
.story {
  margin-bottom: 80px;
}

.story-body {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 48px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.story-text p {
  font-size: 0.97rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 16px;
}

.story-text p:last-child { margin-bottom: 0; }

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

.tl-item {
  display: flex;
  gap: 16px;
  padding-bottom: 28px;
  position: relative;
}

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

.tl-item::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

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

.tl-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--teal-glow);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-dark);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.tl-content h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.tl-content p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ─── VALORES ─── */
.valores {
  margin-bottom: 80px;
}

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

.valor-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.valor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(10,15,30,0.12);
}

.valor-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  background: var(--teal-glow);
}

.valor-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.valor-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ─── EQUIPO ─── */
.equipo {
  margin-bottom: 80px;
}

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

.miembro-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}

.miembro-card:hover { transform: translateY(-4px); }

.miembro-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.miembro-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.miembro-role {
  font-size: 0.82rem;
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.miembro-card p {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,196,163,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: 1fr; }
  .story-body { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: 1fr 1fr; }
  .equipo-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .valores-grid { grid-template-columns: 1fr; }
  .equipo-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  nav ul { display: none; }
}
