/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9fafb;
  color: #333;
  line-height: 1.6;
}

/* Barra superior */
.barra-superior {
  background-color: #1a73e8; /* Azul corporativo más suave */
  color: #fff;
  padding: 12px 0;
  font-size: 0.9em;
  box-shadow: 0 2px 4px rgba(26, 115, 232, 0.3);
}

.barra-superior ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.barra-superior a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.barra-superior a:hover {
  color: #dbe9ff;
}

/* Cabecera */
.cabecera {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px 60px;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.logo {
  width: 150px;
  height: 150px;
  border-radius: 30%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Carrusel */
.carrusel-personalizado {
  max-height: 320px;
  overflow: hidden;
  margin: 30px auto;
  border-radius: 12px;
  max-width: 900px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.carrusel-personalizado img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carrusel-personalizado img:hover {
  transform: scale(1.05);
}

/* Menú principal */
.menu-principal {
  background-color: #111827; /* Gris oscuro profesional */
  padding: 15px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f9fafb;
  box-shadow: 0 3px 10px rgba(17, 24, 39, 0.6);
  border-radius: 0 0 12px 12px;
}

.menu-principal ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.menu-principal a {
  color: #f9fafb;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: color 0.3s ease;
}

.menu-principal a:hover {
  color: #3b82f6; /* Azul vivo */
}

.menu-principal input {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: border-color 0.3s ease;
  font-size: 1em;
}

.menu-principal input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 6px #3b82f6;
}

/* Foto perfil grande */
.foto-perfil-grande {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin: 20px 0;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.foto-perfil-grande:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Contenido */
.contenido {
  display: flex;
  gap: 30px;
  padding: 50px 60px;
  max-width: 1200px;
  margin: auto;
}

.articulos {
  flex: 3;
}

.articulos article {
  background: #fff;
  padding: 30px 25px;
  margin-bottom: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}

.articulos article:hover {
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* Sidebar */
.sidebar {
  flex: 1;
}

.widget {
  background: #fff;
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.widget h4 {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.2em;
  color: #1f2937;
}

.widget input, .widget button {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 1em;
  transition: all 0.3s ease;
}

.widget input:focus, .widget button:hover {
  border-color: #3b82f6;
  box-shadow: 0 0 8px #3b82f6;
  outline: none;
  cursor: pointer;
}

/* Footer */
footer {
  background-color: #111827;
  color: #94a3b8;
  text-align: center;
  padding: 25px 20px;
  font-size: 0.9em;
  letter-spacing: 0.05em;
  user-select: none;
}
