* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #ffffff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(rgba(8, 33, 63, 0.85), rgba(8, 33, 63, 0.85)),
    url("https://images.unsplash.com/photo-1553413077-190dd305871c?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 100vh;
  padding-bottom: 60px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 5%;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  text-decoration: underline;
}

.hero-content {
  width: 90%;
  max-width: 800px;
  margin: 120px auto 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.7rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: #f5b400;
  color: #111;
  text-decoration: none;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.9;
}

.section {
  padding: 70px 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.section p {
  font-size: 1rem;
  text-align: center;
}

.bg-light {
  background-color: #f4f7fb;
}

.bg-dark {
  background-color: #0f223d;
  color: white;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 35px;
}

.card {
  background: white;
  color: #222;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-bottom: 12px;
  color: #0f223d;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 35px;
}

.feature {
  background: #ffffff;
  padding: 25px;
  border-left: 5px solid #f5b400;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.feature h3 {
  margin-bottom: 10px;
  color: #0f223d;
}

.contact-section p {
  margin-bottom: 20px;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.respuesta {
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
}

.footer {
  background: #091525;
  color: white;
  text-align: center;
  padding: 20px;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    justify-content: center;
  }
}