/* =====================================================
   Jonz / Sobre Nosotros – Tema minimalista gris + blanco (scoped)
   ===================================================== */

/* Variables SOLO para esta página */
.sobre{
  --c0: #0f172a;   /* título oscuro */
  --c1: #333333;   /* texto */
  --c2: #6b7280;   /* muted */
  --c3: #9ca3af;   /* line suave */
  --c4: #e5e7eb;   /* borde suave */
  --c5: #f5f6f8;   /* bg */
  --c6: #ffffff;   /* surface */

  --bg: var(--c5);
  --surface: var(--c6);
  --text: var(--c1);
  --muted: var(--c2);
  --line: var(--c4);
  --radius: 18px;
  --shadow-sm: 0 3px 8px rgba(0,0,0,.06);
  --shadow-md: 0 10px 24px rgba(15, 23, 42, .10);
  --maxw: 1100px;
}

/* ------------------ Reset (scoped) ------------------ */
.sobre,
.sobre *,.sobre *::before,.sobre *::after{ box-sizing:border-box; }
.sobre{ background:var(--bg); color:var(--text); line-height:1.65; font-family:"Inter", Arial, sans-serif; }
.sobre img{ max-width:100%; display:block; border-radius:8px; }

/* ⚠️ Importante: NO tocamos header.nav-global ni body global.
   Todo está limitado por el prefijo .sobre para no interferir. */

/* ------------------ Banner ------------------ */
.sobre .banner{
  width:100%; height:320px; background:var(--surface);
  display:flex; align-items:center; justify-content:center;
  border-bottom:1px solid var(--line); box-shadow:var(--shadow-sm);
}
.sobre .banner img{ width:100%; height:100%; object-fit:contain; border-radius:0; }

/* ------------------ Contenido ------------------ */
.sobre main{ padding:32px 16px; margin:0; }
.sobre main > *:first-child{ margin-top:0 !important; } /* sin franja debajo del navbar */

/* Panel base */
.sobre .panel{
  max-width:var(--maxw); margin:0 auto 24px;
  background:var(--surface); padding:28px; border-radius:var(--radius);
  box-shadow:var(--shadow-md); border:1px solid rgba(229,231,235,.5);
}

/* Título centrado */
.sobre .section-title{
  text-align:center; color:var(--c0); font-weight:700; letter-spacing:.2px;
  margin:0 0 14px; padding-top:6px; font-size:1.55rem; position:relative;
}
.sobre .section-title.small{ font-size:1.25rem; }
.sobre .section-title::after{
  content:""; display:block; height:2px; background:var(--c3);
  width:92%; margin:12px auto 0; border-radius:999px;
}
.sobre .panel p{ color:var(--muted); text-align:justify; margin:0; font-size:1.02rem; }

/* ------------------ Misión y Visión ------------------ */
.sobre .mision-vision{
  display:grid; grid-template-columns:repeat(2,1fr); gap:18px;
  max-width:var(--maxw); margin:0 auto 24px;
}
.sobre .mision, .sobre .vision{ padding:22px; }

/* ------------------ Ubicación ------------------ */
.sobre .ubicacion-container{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.sobre .ubicacion-texto{ font-size:1.02rem; text-align:justify; }
.sobre .ubicacion-mapa iframe{
  width:100%; height:300px; border:0; border-radius:14px; box-shadow:var(--shadow-sm);
}

/* ------------------ Cards de integrantes ------------------ */
.sobre .cards{
  display:flex; flex-wrap:wrap; gap:1.5rem; margin-top:1.5rem; justify-content:center;
}
.sobre .card{
  background:var(--surface); border:1px solid var(--line); border-radius:16px;
  box-shadow:var(--shadow-sm); text-align:center; padding:1.5rem 1rem;
  transition:transform .25s ease, box-shadow .25s ease; flex:0 1 240px; max-width:320px;
}
.sobre .card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.sobre .card .avatar img{ width:100%; height:220px; object-fit:cover; border-radius:14px; margin-bottom:1rem; }
.sobre .card .name{ font-weight:600; margin-bottom:.3rem; color:#111827; }
.sobre .card .role{ color:var(--muted); font-size:.9rem; }

/* ------------------ Responsive ------------------ */
@media(max-width:900px){
  .sobre .mision-vision{ grid-template-columns:1fr; }
  .sobre .ubicacion-container{ grid-template-columns:1fr; }
}
