body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: #0b0f19;
  color: #e5e7eb;
}

a { text-decoration: none; color: inherit; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(11,15,25,0.85), rgba(2,6,23,0.9)),
    url("../assets/images/hero-bg.jpg") center/cover no-repeat;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links a {
  margin-left: 24px;
  font-size: 0.95rem;
}

.btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid #374151;
  transition: all .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.primary {
  background: #2563eb;
  border: none;
}

.secondary {
  background: transparent;
}

.hero-content {
  max-width: 820px;
  margin: 120px auto 0;
  text-align: center;
  padding: 0 20px;
}

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

.hero-content p {
  font-size: 1.15rem;
  color: #cbd5f5;
}

.hero-buttons {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

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

.section.dark {
  background: #020617;
}

.section h2 {
  font-size: 2.2rem;
}

/* ---------- GRID ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.card {
  background: #111827;
  padding: 28px;
  border-radius: 16px;
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

.card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
}

.card h3 {
  margin: 10px 0;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 30px;
  text-align: center;
  font-size: 0.9rem;
  background: #020617;
  color: #9ca3af;
}
