/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #ffffff;
}

/* NAVBAR COMPLETA CON BOTÓN CONTACTO AJUSTADO */

/* ============================
   NAVBAR COMPLETA
============================ */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: white;
  position: fixed;
  width: 100%;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Logo alineado a la izquierda */
.logo {
  flex: 1;
  display: flex;
  align-items: center;
}
.logo img {
  height: 50px;
}

/* Enlaces centrados en desktop */
.nav-links {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* Botón contacto separado */
.btn-contacto {
  background-color: #3f82ff;
  color: white !important; /* fuerza el color si estaba heredando */
  padding: 10px 20px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: inline-block;
}

.btn-contacto:hover {
  background-color: #2a65d6;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}



/* Enlaces de navegación */
/* --- Navbar base --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: white;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

/* --- Logo --- */
.logo img {
  height: 50px;
}

/* --- Enlaces escritorio --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:not(.btn-contacto)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #333;
  transition: width 0.3s ease;
}

.nav-links a:not(.btn-contacto):hover::after {
  width: 100%;
}

.btn-contacto {
  background-color: #3f82ff;
  color: white;
  padding: 10px 20px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.btn-contacto:hover {
  background-color: #2a65d6;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* --- Hamburguesa --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}

/* --- Animación al abrir --- */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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


  .nav-links.active {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .nav-links a {
    color: #333;
    font-size: 18px;
  }
}


.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  backdrop-filter: blur(4px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}




/* ============================
   RESPONSIVE NAVBAR
============================ */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 10px;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 30px;
    width: 70%;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    height: calc(100vh - 70px);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    gap: 25px;
    z-index: 99;
  }

  .nav-links a {
    font-size: 18px;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .btn-contacto {
    align-self: flex-start;
  }

  .hamburger {
    display: flex;
  }
}

@media (min-width: 769px) {
  .nav-links {
    display: flex;
    align-items: center;
  }

  .btn-contacto {
    margin-left: auto;
  }
}


@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-contacto {
    margin-top: 20px;
    align-self: stretch;
    text-align: center;
    width: 100%;
  }
}



/* Hero with video background */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.overlay {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: left;
}

.hero-content {
  text-align: left;
  max-width: 800px;
  padding: 20px 20px 20px 70px; /* top, right, bottom, left */
}



.hero-content h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
  color: white;
}

.btn-demo {
  background-color: #3f82ff;
  color: white;
  padding: 14px 28px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}


/*SECCION 02*/


.tech-section {
  background-color: #2f2f2f;
  padding: 60px 40px;
  color: white;
    scroll-margin-top: 100px;
}

.tech-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tech-box {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.tech-icon {
  height: 40px;
  flex-shrink: 0;
  margin-top: 5px;
}

.tech-text p {
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
}


/*INTERFAZ 03*/

.sobre-nosotros {
  background-color: #fff;
  padding: 80px 40px;
  text-align: center;
  color: #333;
    scroll-margin-top: 100px;
}

.sobre-nosotros h2 {
  font-size: 36px;
  margin-bottom: 30px;
  font-weight: 700;
}

.sobre-nosotros .azul {
  color: #3f82ff;
}

.sobre-nosotros .descripcion {
  max-width: 850px;
  margin: 0 auto 50px auto;
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}

.valores {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.valor {
  font-weight: 600;
  color: #444;
  text-align: center;
  max-width: 280px;
}

.separator {
  width: 4px;
  height: 40px;
  background-color: #3f82ff;
}


@media (max-width: 768px) {

    .separator {
display: none;
}
}



/*INTERFAZ 04*/

.productos-destacados {
  background-color: #fff;
  padding: 40px 40px;
  color: #333;
  text-align: center;
      font-size: 15px;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.6;
    scroll-margin-top: 100px;
    flex-direction: row;
}

.productos-destacados h2 {
  font-size: 36px;
  margin-bottom: 50px;
  font-weight: 700;
}



.productos-destacados .azul {
  color: #3f82ff;
}

.productos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}

.producto {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  width: 300px;
  min-height: 360px; /* Ajusta según contenido */
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
}



.icono-producto {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 20px;
}

.btn-mas {
  margin-top: auto; /* ✅ Esto empuja el botón al final */
  background-color: #3f82ff;
  color: white;
  padding: 10px 20px;
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-mas:hover {
  background-color: #2a65d6;
  transform: translateY(-2px);
}



/* Tarjeta interna del acordeón */
.tarjeta-diseno {
  background: linear-gradient(135deg, #3f82ff, #3c7de8);
  border-radius: 32px;
  color: white;
  padding: 60px;
  display: flex;
  flex-wrap: nowrap;
  gap: 60px;
  width: 90%;
  max-width: 2000px;
  box-sizing: border-box;
}

.lado-izquierdo, .lado-derecho {
  flex: 1 1 50%;
}

.lado-izquierdo img {
  max-width: 80px;
  margin-bottom: 20px;
}

.lado-derecho ul {
  list-style: none;
  padding: 0;
}

.lado-derecho li::before {
  content: "✅ ";
  margin-right: 6px;
    
}

/* Responsive */
@media (max-width: 768px) {
  .tarjeta-diseno {
    flex-direction: column;
    padding: 30px;
    gap: 30px;
  }

  .lado-izquierdo, .lado-derecho {
    flex: 1 1 100%;
  }
}

.lado-derecho {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ✅ Alinea contenido a la izquierda */
  justify-content: center;
  text-align: left;        /* ✅ Asegura que el texto no esté centrado */
}

.lado-derecho ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;        /* ✅ Justificación del contenido */
}

.lado-derecho li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;        /* ✅ Aplica a cada item */
}







/* Fondo del pop-up */
.popup {
 position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  overflow-y: auto; /* permite scroll si hay mucho contenido */
}

/* Contenido del pop-up */
.popup-contenido {
   background: linear-gradient(135deg, #3f82ff, #3c7de8);
  color: #333;
  border-radius: 20px;
  padding: 0px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Botón cerrar */
.popup-cerrar {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  font-weight: bold;
}

/* Tarjeta dentro del pop-up (reusa estilo existente) */
.popup .tarjeta-diseno {
  background: linear-gradient(135deg, #3f82ff, #3c7de8);
  border-radius: 24px;
  color: white;
  padding: 60px;
  display: flex;
  flex-wrap: nowrap;
  gap: 60px;
  box-sizing: border-box;
}

.popup.active {
  display: flex;
}

/* Responsivo */
@media (max-width: 768px) {
  .popup .tarjeta-diseno {
    flex-direction: column;
    padding: 30px;
    gap: 30px;
  }
}

/* Animación */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}






/*INTERFAZ 05*/
.productos-netsa {
  background-color: #fff;
  padding: 40px 40px;
  text-align: center;
  color: #333;
      color: #333;
  text-align: center;
      font-size: 15px;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.6;
     position: relative;
}

.productos-netsa h2 {
  font-size: 36px;
  margin-bottom: 50px;
  font-weight: 700;
}

.productos-netsa .azul {
  color: #3f82ff;
}


.producto-body {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
}

.producto-body p {
  font-size: 15px;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.6;
}

.producto-body .btn-mas {
  margin-top: auto;
}




.tarjeta-diseno h3 {
  font-size: 28px;
  font-weight: 700;
}

.tarjeta-diseno p {
  font-size: 16px;
  line-height: 1.6;
}

.tarjeta-diseno ul {
  list-style: none;
  padding: 0;
}

.tarjeta-diseno li::before {
  content: "✅ ";
  margin-right: 6px;
}



/*INTERFAZ 06*/

.nuestros-servicios {
  background-color: #fff;
  padding: 40px 40px;
  text-align: center;
  color: #333;
    scroll-margin-top: 100px;
}

.nuestros-servicios h2 {
  font-size: 36px;
  margin-bottom: 50px;
  font-weight: 700;
}

.nuestros-servicios .azul {
  color: #3f82ff;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.servicio {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.icono-servicio {
  width: 24px;
  height: 24px;
  margin-top: 5px;
}

.servicio p {
  font-size: 16px;
  line-height: 1.5;
  color: #444;
}


/*INTERFAZ 07*/

.contacto {
  background-color: #fff;
  padding: 80px 40px;
  color: #333;
  text-align: center;
    scroll-margin-top: 100px;
}

.container-contacto {
  max-width: 1200px;
  margin: 0 auto;
}

.texto-contacto {
  margin-bottom: 50px;
}

.texto-contacto h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.subtexto {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

.contenido-contacto {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.ilustracion img {
  max-width: 100%;
  width: 700px;
  height: auto;
}

.formulario {
  flex: 1;
  min-width: 320px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: stretch;
}

form input,
form textarea {
  padding: 12px 16px;
  border: 2px solid #3f82ff;
  border-radius: 24px;
  font-size: 15px;
  outline: none;
  color: #333;
  font-family: 'Segoe UI', sans-serif;
}

form textarea {
  resize: none;
  border-radius: 16px;
}

form button {
  background-color: #3f82ff;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
  align-self: flex-start;
}

/*INTERFAZ 08*/

.footer {
  background-color: #3f82ff;
  color: white;
  padding: 40px 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
     color: white;
}

.footer-info {
  flex: 1;
}

.footer-logo {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 20px;
}

.footer-logo img {
  max-height: 60px;
  display: block;
}










html {
  scroll-behavior: smooth;
}

