/* ================== ARSVISIO · pages/equipo.css ================== */

/* Sección de perfil */
.perfil {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

/* Contenedor del perfil (foto + texto) */
.contenedor-perfil {
  display: flex;
  flex-wrap: wrap;
  background: var(--c-deep);
  padding: 0;
  gap: 0;
  align-items: stretch;
  max-width: var(--max-width);
  width: 100%;
  color: var(--c-text);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contenedor-perfil:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 207, 255, 0.15);
}

/* Foto de perfil */
.foto-perfil {
  width: 250px;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  transition: filter 0.25s ease;
  filter: brightness(0.9);
}

.contenedor-perfil:hover .foto-perfil {
  filter: brightness(1);
}

/* Texto del perfil */
.texto-perfil {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1rem;
  line-height: 1.6;
}

/* Nombre del miembro */
.nombre-perfil {
  background: var(--c-cyan);
  color: #000;
  display: inline-block;
  padding: 0.4rem 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border-radius: var(--radius);
  margin-left: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contenedor-perfil:hover .nombre-perfil {
  background: var(--c-cyan-dark);
  color: var(--c-text);
}

.texto-perfil p {
  margin: 0;
}

.texto-perfil strong {
  color: var(--c-cyan);
}

/* ================== Responsive ================== */
@media (max-width: 768px) {
  .contenedor-perfil {
    flex-direction: column;
  }

  .foto-perfil {
    width: 100%;
    height: 250px;
    min-height: auto;
  }

  .texto-perfil {
    padding: 1.5rem;
  }

  .nombre-perfil {
    font-size: 1.25rem;
  }
}
