
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600&display=swap');

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: #0b0b0b;
  color: #e5e5e5;
}

/* HEADER */
.header {
  position: fixed;
  top: 20px;
  left: 30px;
  right: 30px;
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* NOMBRE */
.header a {
  color: #fff;
  text-decoration: none;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 1px;
}

/* NAV ARRIBA (NO CENTRO) */
.nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

/* BOTONES HEADER */
.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.85;
  transition: 0.3s;
}

.nav a:hover {
  opacity: 1;
}

/* HERO */
.hero {
  height: 100vh;
  min-height: 700px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background-image: url("images/hero.jpg");

  /* 👇 AJUSTE 10% MÁS ABAJO */
  background-size: cover;
  background-position: center 55%;

  position: relative;
}

/* overlay oscuro */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
}

/* fade inferior */
.hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #0b0b0b 100%);
}

/* CONTENIDO HERO */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 20px;
  text-align: center;
}

/* SECCIONES */
.section {
  padding: 140px 20px;
  max-width: 700px;
  margin: auto;
  text-align: left;
}

/* TEXTO */
p {
  font-weight: 300;
  line-height: 1.6;
  font-size: 16px;
  opacity: 0.9;
}

/* VIDEO */
.video iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .video iframe {
    height: 250px;
  }

  .header {
    left: 20px;
    right: 20px;
  }

  .header a {
    font-size: 28px;
  }

  .nav {
    gap: 15px;
  }
}
