body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #000 url("img/fondo-notas.jpg") no-repeat center/cover fixed;
  color: #fff;
}

/* ===== MENÚ ===== */
nav {
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .logo img {
  max-height: 140px;
  transition: transform 0.3s ease;
}

nav .logo img:hover {
  transform: scale(1.05);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

nav ul li a.active {
  color: #00e6e6;
}

nav ul li a:hover {
  color: #00e6e6;
}

/* ===== PORTADA ===== */
.hero {
  text-align: center;
  padding: 30px 20px 60px 20px; /* reducido espacio arriba */
  background: rgba(0,0,0,0.6);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.hero p {
  color: #ccc;
  font-size: 1.3rem;
}

/* ===== HERO DIVIDIDO INDEX ===== */
.hero-split {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px; /* control de separación */
  text-align: left;
  padding: 60px 20px;
}

.hero-split .hero-text {
  flex: 0 1 auto; /* no ocupa todo el ancho disponible */
  max-width: 500px; /* límite de ancho del texto */
}

.hero-split .hero-image {
  flex: 0 1 auto;
  text-align: center;
}

.hero-split .hero-image img {
  max-width: 200px; /* tamaño fijo más pequeño */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,255,200,0.3);
}

@media (max-width: 900px) {
  .hero-split {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .hero-split .hero-image img {
    max-width: 70%; /* un poco más grande en móvil */
  }
}

/* ===== SECCIONES ===== */
.section {
  padding: 40px 20px;
  text-align: center;
}

/* ===== LISTA SIMPLE DE PROYECTOS ===== */
.proyectos-lista-simple ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.proyectos-lista-simple li {
  margin: 8px 0;
}

.proyectos-lista-simple a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.proyectos-lista-simple a:hover {
  color: #00e6e6;
  transform: scale(1.05);
  background-color: rgba(0, 230, 230, 0.1);
  border-radius: 4px;
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
  color: #888;
}
