/* 🎨 Estilos generales */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #222;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0099cc;
  color: #fff;
  padding: 1rem;
}

.main-header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.nav-links a {
  color: #fff;
  margin-left: 1rem;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  text-align: center;
  padding: 2rem;
  background: #00ccff;
  color: #fff;
}

.hero h2 {
  margin: 0;
  font-size: 2rem;
}

.section {
  padding: 2rem;
}
.section h2 {
  margin-bottom: 1rem;
  color: #0099cc;
}

/* 🔧 Ajuste de secciones */
.section {
  margin: 0;        /* eliminamos márgenes por defecto */
  padding: 0;       /* quitamos padding superior */
}

/* 🎲 Contenedor del cubo 3D */
.feature-cube {
  width: 100%;
  height: 500px;     /* 🔧 esta línea controla la altura del cubo en pantalla */
  margin: 0;         /* sin margen arriba/abajo */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* border: 3px dashed red;  guía temporal */
  background-color: #00ccff; /* 🔧 fondo negro */
}

/* 📋 Beneficios */
.benefits {
  background: #e9f7fb;
  border-radius: 8px;
  margin-top: -40px; /* 🔧 esta línea controla cuánto sube el bloque Beneficios */
  padding: 2rem;
}

.benefits h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.benefits ul {
  list-style: none;
  padding: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.benefits li {
  margin-bottom: 0.8rem;
  padding-left: 1.2rem;
  position: relative;
}

.benefits li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0099cc;
}

/* 📞 Contacto */
#contact a {
  color: #0099cc;
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

/* 📱 Responsivo */
@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    text-align: center;
  }
  .nav-links {
    margin-top: 1rem;
  }
  .hero h2 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .feature-cube {
    height: 500px; /* 🔧 altura del cubo en tablet */
  }
}
@media (max-width: 480px) {
  .benefits {
    margin-top: -20px; /* 🔧 separación en móvil */
    padding: 1.5rem;
  }
  .benefits h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  .benefits ul {
    font-size: 0.95em;
    line-height: 1.6;
  }
  .benefits li {
    margin-bottom: 0.8rem;
  }
  .feature-cube {
    height: 400px; /* 🔧 altura del cubo en móvil */
    margin-bottom: 0;    /* 🔧 elimina espacio extra debajo del cubo */
  }
}

/* ⚓ Footer */
.main-footer {
  text-align: center;
  padding: 1rem;
  background: #0099cc;
  color: #fff;
}

