body {
  margin: 0;
  font-family: system-ui, Arial, sans-serif;
  color: #eaf2ff;
  line-height: 1.6;

  /* Fondo base */
  background-color: #0b0f14;

  /* Imagen tecnológica */
  background-image: url('../img/bg-tech.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  background: rgba(10, 15, 20, 0.65);
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  color: #fff;
}

nav a {
  color: #d6eaff;
  margin-left: 20px;
  text-decoration: none;
}

/* ===== HERO ===== */
.hero {
  display: grid;	
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  min-height: 95vh;
  align-items: center;
  padding-top: 120px;

  /* NUEVO */
  background-image:
    linear-gradient(rgba(11,15,20,0.75), rgba(11,15,20,0.85)),
    url('../img/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

.hero p {
  opacity: .9;
}

.tech-panel {
  background: #111821;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 20px #00b4ff22;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  margin-top: 20px;
  background: #00b4ff;
  color: #001018;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

/* ===== SECTIONS ===== */
.grid,
.problem-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}

.card,
.problem-card {
  background: #121821;
  padding: 22px;
  border-radius: 12px;
  transition: .25s;
  text-decoration: none;
  color: #fff;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px #00b4ff33;
}

/* ===== STACK TAGS ===== */
.tags span {
  display: inline-block;
  margin: 6px;
  padding: 8px 14px;
  background: #121821;
  border-radius: 20px;
}

/* ===== FORM ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input, select, textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #111821;
  color: #fff;
}

/* ===== ANIMACIONES ===== */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s ease;
}

.fade.visible {
  opacity: 1;
  transform: none;
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #00b4ff;
  color: #001018;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 30px;
  background: #070a0f;
  color: #7f8b9c;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.about-grid img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 20px #00b4ff22;
}
