
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #e0f7fa, #e1bee7);
  color: #333;
}

/* Topbar estilo Mac */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  padding: 6px 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.topbar .dot {
  width: 12px; height: 12px; border-radius: 50%;
  display: inline-block;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

/* Encabezado */
.encabezado {
  margin-top: 70px;
  display: flex; gap: 25px; align-items: center;
  padding: 30px;
  background: #ffffffcc;
  backdrop-filter: blur(5px);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.foto-perfil {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #4a90e2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 6px;
  color: #2c3e50;
}

.puesto {
  color: #4a90e2;
  font-weight: bold;
  margin-bottom: 10px;
}

.contacto {
  list-style: none;
  font-size: 0.95rem;
}
.contacto li {
  margin-bottom: 5px;
}

/* Layout */
.layout {
  display: flex;
  gap: 20px;
  padding: 20px;
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Sidebar */
.sidebar {
  flex: 0 0 260px;
  background: #ffffffee;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  height: fit-content;
}
.sidebar h2 {
  margin-bottom: 10px;
  color: #4a90e2;
  font-size: 1.2rem;
}
.sidebar ul {
  margin-bottom: 20px;
  list-style: none;
}
.sidebar li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

/* Principal */
.principal {
  flex: 1;
  background: #ffffffee;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.principal h2 {
  margin: 20px 0 10px;
  color: #4a90e2;
  font-size: 1.4rem;
}
.principal p {
  margin-bottom: 12px;
}
.principal .meta {
  font-size: 0.9rem;
  color: #777;
}

.marcos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.marcos figure {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
  background: #fafafa;
}
.marcos img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.marcos figcaption {
  padding: 8px;
  font-weight: bold;
  color: #333;
}

/* Footer */
.pie {
  text-align: center;
  padding: 20px;
  background: #ffffffcc;
  margin-top: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.redes {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}
.redess {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.redess:hover {
  transform: scale(1.1);
}
