* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #0E1A2B;
  color: #fff;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 80px 0;
}

header {
  background: #0B1625;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

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

nav a {
  margin-left: 20px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.logo h1 {
  color: #C5A75D;
  font-size: 32px;
}

.logo span {
  font-size: 12px;
  letter-spacing: 2px;
}

.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
              url('img/sj13.jpg') center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.btn {
  background: #C5A75D;
  padding: 12px 30px;
  color: #0E1A2B;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 32px;
}

.service {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.service.reverse {
  flex-direction: row-reverse;
}

.service img {
  width: 100%;
  max-width: 500px;
  border-radius: 5px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.card {
  background: #122338;
  padding: 20px;
  text-align: center;
}

.card img {
  width: 100%;
  margin-bottom: 20px;
}

.dark {
  background: #122338;
}

.center {
  text-align: center;
}

footer {
  background: #0B1625;
  text-align: center;
  padding: 20px;
}

/* Animaciones */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media(max-width: 768px) {
  .service {
    flex-direction: column;
  }

  .hero h2 {
    font-size: 28px;
  }

  .container {
    padding: 60px 0;
  }
}


/* ===== MENU HAMBURGUESA ===== */

.menu-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

/* MODO MOVIL */
@media(max-width: 768px) {

  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 20px;
    background: #122338;
    width: 220px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  }

  nav.active {
    display: flex;
  }

  nav a {
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
  }

}