/* ===== BASE ===== */

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #ffffff;
  color: #1f2937;
}

/* ===== NAVBAR PRO ===== */

.navbar{
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* marca */

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo{
  height: 36px;
}

.brand-name{
  font-weight: 600;
  font-size: 18px;
  color: #1f2937;
}

/* menu desktop */

.menu{
  display: flex;
  gap: 22px;
}

.menu a{
  text-decoration: none;
  color: #2563eb;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.menu a:hover{
  background: #eff6ff;
  color: #1e40af;
}

/* boton hamburguesa */

.menu-toggle{
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #1f2937;
}

/* ===== HERO ===== */

.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url("hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  color: #ffffff;
  padding: 20px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* ===== BOTONES ===== */

.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background-color: #f97316;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background .15s;
}

.btn-primary:hover {
  background-color: #ea580c;
}

/* ===== CONTENEDOR DE LECTURA ===== */

.container{
  max-width: 920px;
  margin: 0 auto;
  padding: 0 18px;
}

.container p{
  margin-bottom: 14px;
  line-height: 1.6;
}

.container h1,
.container h2,
.container h3{
  margin: 18px 0 10px;
  line-height: 1.25;
}

/* ===== MOBILE ===== */

@media (max-width: 720px){

  .menu-toggle{
    display: block;
  }

  .brand-name{
    display: none;
  }

  .menu{
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    flex-direction: column;
    gap: 0;
    display: none;
  }

  .menu a{
    padding: 14px 18px;
    border-top: 1px solid #f1f5f9;
  }

  .menu.show{
    display: flex;
  }

  .hero-content h1{
    font-size: 34px;
  }

  .hero-content p{
    font-size: 18px;
  }
}
