body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #050b14;
  color: #ffffff;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
  background: rgba(5, 11, 20, 0.75);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.header a {
  margin-left: 20px;
  color: #cfd8ff;
  text-decoration: none;
}

.header nav a {
  font-size: 0.9rem;
  opacity: 0.85;
}

.header nav a:hover {
  opacity: 1;
}

#contact {
  min-height: 300px;
}

.nav {
    position: absolute;
    top: 64px;
    right: 20px;
    background: rgba(5, 11, 20, 0.95);
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 160px;
    overflow: visible;
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    gap: 20px;
    padding: 0;

  }

  .nav a {
  position: relative;
  padding-bottom: 8px; /* aumentamos espacio */
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0; /* IMPORTANTE: antes estaba en -4px */
  width: 100%;
  height: 3px;
  background: #ffd700;
}

.nav {
  display: flex;
}

.hero {
  text-align: center;
  padding: 80px 20px 100px;

  background: url("../images/fondo_ok.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  #font-size: 3.2rem; /* antes ~2.8 */
  #font-weight: 600;
  #letter-spacing: -0.5px;
}

.hero p {
  color: #e6ecff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  #max-width: 700px;
  #margin: 20px auto;
  #color: #e6ecff;
  #font-size: 1.15rem;
  #line-height: 1.6;
  #text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.logo img {
  height: 68px;      /* enterprise, no enorme */
  width: auto;
  display: block;
}


.cta-buttons button {
  margin: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
}

.primary {
  background: linear-gradient(135deg, #4f7cff, #6A5ACD);
  box-shadow: 0 10px 30px rgba(79,124,255,0.35);
  font-weight: 500;
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(79,124,255,0.45);
}


.secondary {
  background: rgba(0, 0, 0, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  opacity: 1;
}

.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.value, .cta {
  margin-top: 40px;
  text-align: center;
  padding: 80px 20px;

}

.value::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #4f7cff;
  margin: 0 auto 30px;
  opacity: 0.6;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 80px 40px;
}

.card {
  background: rgba(255,255,255,0.06);
  padding: 36px;
  border-radius: 18px;
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
}


.value {
  padding: 100px 20px;
  background: radial-gradient(
    circle at top,
    rgba(79,124,255,0.08),
    transparent 60%
  );
}

.value h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.value p {
  max-width: 700px;
  margin: 20px auto;
  color: #b8c4ff;
  font-size: 1.15rem;
  line-height: 1.6;
}

.cta {
  padding: 120px 20px;
  background: radial-gradient(
    circle at center,
    rgba(79,124,255,0.12),
    transparent 65%
  );
}

.cta form {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.cta input {
  padding: 14px 20px;
  border-radius: 30px;
  border: none;
  min-width: 260px;
}

  /* pie de página */

.footer {
  text-align: center;
  padding: 30px;
  color: #7d8bbf;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;              /* ← aquí ajustas separación */
  margin-bottom: 12px;
}

.footer-links a {
  color: #7aa2ff;
  font-size: 14px;
  text-decoration: none;
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}


.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 20, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: #0b1220;
  border-radius: 18px;
  padding: 32px;
  width: 90%;
  max-width: 420px;
  text-align: center;
}

.modal-content h3 {
  margin-bottom: 10px;
}

.modal-content p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 24px;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-content input,
.modal-content textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #fff;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 920px;
  width: calc(100% - 40px);
  background: rgba(10, 18, 35, 0.95);
  color: #cbd5f5;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  z-index: 9999;
  font-size: 14px;
}

.cookie-banner a {
  color: #7aa2ff;
  text-decoration: underline;
}

.cookie-banner button {
  background: #5b7cfa;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-banner button:hover {
  opacity: 0.9;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}



  /* mobile styles aquí */

@media (max-width: 768px) {
  .hero {
    padding: 70px 20px 90px;
  }

  .hero h1 {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
    margin-top: 16px;
  }
  
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
  }

  .cta-buttons button {
    width: 100%;
  }
  
  .value {
    padding: 80px 20px;
  }

  .value h2 {
    font-size: 1.7rem;
  }

  .value p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
   .features {
    grid-template-columns: 1fr;
    padding: 60px 20px;
  }

  .card {
    padding: 28px;
  }

 .menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
  opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav {
    position: absolute;
    top: 64px;
    right: 20px;
    background: rgba(5, 11, 20, 0.95);
    border-radius: 12px;
    padding: 16px 20px;
    display: none;
    flex-direction: column;
    gap: 14px;
    min-width: 160px;
  }
  

  
}
