/* ── NOSOTROS.CSS — Estilos exclusivos de nosotros.html ── */

/* ── NAV variante 2 — Rounded pill override ── */
.nav-pill {
  background: rgba(10,10,10,0.75);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 0.55rem 1.25rem 0.55rem 1.5rem;
  max-width: 900px;
}
.nav-logo {
  font-size: 1.05rem;
  margin-right: auto;
}
.nav-links {
  flex: unset;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

/* btn-primary variante verde (nosotros, rounded) */
.btn-primary {
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  font-size: 0.82rem;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); opacity: 1; }

/* nav-hamburger nosotros (sin margin-left:auto) */
.nav-hamburger { margin-left: 0; }
@media (max-width: 768px) {
  .nav-pill { padding: 0.55rem 1rem; }
}

/* ── MOBILE MENU nosotros override ── */
.mobile-menu { z-index: 200; }
.mobile-menu a { color: var(--muted); }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu-close { font-size: 1.5rem; }

/* ── HERO NOSOTROS ── */
.page-hero {
  padding: 10rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(3,124,70,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-bright); border: 1px solid rgba(50,205,135,0.25);
  border-radius: 999px; padding: 0.35rem 1rem; margin-bottom: 1.5rem;
  background: transparent;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.25rem;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--green-bright), #7affcd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero p { font-size: 1.1rem; color: var(--muted); max-width: 580px; margin: 0 auto; line-height: 1.7; }

/* ── MISIÓN / VISIÓN / PROPÓSITO ── */
.mvv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin: 5rem 0; }
@media (max-width: 768px) { .mvv-grid { grid-template-columns: 1fr; } }
.mvv-card { background: var(--s1); border: 1px solid var(--border2); border-radius: var(--radius); padding: 2rem; transition: border-color 0.3s, transform 0.3s; }
.mvv-card:hover { border-color: rgba(50,205,135,0.3); transform: translateY(-4px); }
.mvv-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--green-dark), var(--green)); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.25rem; }
.mvv-card h3 { font-size: 0.8rem; font-weight: 700; color: var(--green-bright); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.mvv-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* ── HISTORIA ── */
.historia-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 5rem 0; border-top: 1px solid var(--border); }
@media (max-width: 768px) { .historia-wrap { grid-template-columns: 1fr; gap: 2rem; } }
.historia-content .section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-bright); border: 1px solid rgba(50,205,135,0.25);
  border-radius: 999px; padding: 0.35rem 1rem; margin-bottom: 1.25rem;
  background: transparent;
}
.historia-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
.historia-content p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.historia-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-box { background: var(--s1); border: 1px solid var(--border2); border-radius: var(--radius-sm); padding: 1.5rem; text-align: center; }
.stat-box .num { font-size: 2rem; font-weight: 800; color: var(--green-bright); line-height: 1; margin-bottom: 0.35rem; }
.stat-box .label { font-size: 0.8rem; color: var(--muted); }

/* ── EQUIPO ── */
.team-section { padding: 5rem 0; border-top: 1px solid var(--border); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-bright); border: 1px solid rgba(50,205,135,0.25);
  border-radius: 999px; padding: 0.35rem 1rem; margin-bottom: 1rem;
  background: transparent;
}
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 0.75rem; }
.section-header p { color: var(--muted); max-width: 520px; margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.5rem; }
.team-card { background: var(--s1); border: 1px solid var(--border2); border-radius: var(--radius); padding: 2rem; text-align: center; transition: border-color 0.3s, transform 0.3s; }
.team-card:hover { border-color: rgba(50,205,135,0.3); transform: translateY(-4px); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--green-dark), var(--green-bright)); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 700; margin: 0 auto 1.25rem; color: #fff; }
.team-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.team-card .role { font-size: 0.82rem; color: var(--green-bright); font-weight: 500; margin-bottom: 0.75rem; }
.team-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ── VALORES ── */
.valores-section { padding: 5rem 0; border-top: 1px solid var(--border); background: linear-gradient(160deg, #012d1a 0%, #024d2e 40%, #037c46 80%, #025c38 100%); }
.valores-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.25rem; margin-top: 3rem; }
.valor-card { background: rgba(0,0,0,0.3); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 1.75rem; transition: border-color 0.3s; }
.valor-card:hover { border-color: rgba(255,255,255,0.25); }
.valor-num { font-size: 2rem; font-weight: 800; color: rgba(50,205,135,0.3); line-height: 1; margin-bottom: 0.75rem; }
.valor-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.valor-card p { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ── CTA NOSOTROS ── */
.cta-section { padding: 6rem 0; text-align: center; border-top: 1px solid var(--border); }
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 1rem; }
.cta-section p { color: var(--muted); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* btn-outline nosotros (rounded, borde border2) */
.btn-outline {
  display: inline-block;
  border: 1px solid var(--border2);
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
  margin-left: 1rem;
}
.btn-outline:hover { border-color: var(--green-bright); color: var(--text); background: transparent; }

/* ── RESPONSIVE NOSOTROS ── */
@media (max-width: 768px) {
  .valores-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 8rem 0 4rem; }
  .cta-section { padding: 4rem 0; }
}

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