* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #0f172a;
  color: #e5e7eb;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* ===== HEADER ===== */
.header {
  background: #020617;
  height: 80px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  max-height: 60px;
}

/* ===== NAV DESKTOP ===== */
nav {
  display: flex;
  gap: 20px;
}

nav a {
  font-size: 14px;
}

.btn {
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid #22c55e;
}

.primary {
  background: #22c55e;
  color: #020617;
  font-weight: 600;
}

/* ===== MENU TOGGLE ===== */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
}

.hero p {
  font-size: 18px;
  margin: 20px 0;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 80px;
    right: 16px;
    background: #020617;
    padding: 20px;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
  }

  nav.active {
    display: flex;
  }
}
.hero h1,
.hero p,
.hero .btn {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* BOTÓN HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #020617;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav.active {
    right: 0;
  }
}