body {
  font-family: "Segoe UI", sans-serif;
  background: #f7f9fb;
  color: #1e293b;
  margin: 0;
  padding: 20px;
}

/* Cabecera */
header {
  text-align: center;
  margin-bottom: 30px;
}

h1 {
  font-size: 28px;
  color: #003878;
}

p {	
  text-align: justify;  
}


li {	
  text-align: justify;  
}

.lead {
  text-align: center;  
  font-size: 16px;
  color: #475569;
}

.director {
  display: flex;
  align-items: justify;
  justify-content: justify;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 900px;
  margin: 0 auto;
}

.foto-director {
  width: 200px;
  height: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #003878;
}

/* --- Acordeones --- */
.container-PerfilesFuncionarios {
    max-width: 900px;
    margin: 0 auto;
}

.zone {
  border: 1px solid #d0d7e2;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  transition: box-shadow 0.3s ease;
}

.zone.open {
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.zone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  color: #fff;
  cursor: pointer;
}

.zone-body {
  background: #fff;
  padding: 15px;
  display: none;
}

.zone.open .zone-body {
  display: block;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.card {
  background: #f9fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
}

/* 🎨 Colores personalizados */
.zone-azul .zone-header { background: #0051A5; }
.zone-verde .zone-header { background: #00923D; }
.zone-naranja .zone-header { background: #F74E11; }
.zone-rojo .zone-header { background: #FF8D00; }
.zone-purpura .zone-header { background: #AB2292; }
.zone-gris .zone-header { background: #495057; }

/* Colores de avatares coordinados */
.zone-azul .avatar { background: #0051A5; }
.zone-verde .avatar { background: #00923D; }
.zone-naranja .avatar { background: #F74E11; }
.zone-rojo .avatar { background: #FF8D00; }
.zone-purpura .avatar { background: #AB2292; }
.zone-gris .avatar { background: #495057; }
