@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;600;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #4f4f4f;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: #eee;
  padding: 1px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
}

.logo img {
  height: 75px;
  width: auto;
}

.menu_hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.menu {
  display: flex;
  list-style: none;
  gap: 25px;
}

.menu li {
  position: relative;
}

.menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  line-height: 65px;
  text-decoration: none;
  color: #1f1f1f;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
}

.menu a:hover {
  background: #133392;
  color: #fff;
}

/* Submenú */
.dropdown {
  position: relative;
}

/* Submenú estilo base */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 15px 0;
  list-style: none;
  border-radius: 5px;
  min-width: 200px;
  box-shadow: 3px 10px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #2c2c2c;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: #133392;
  color: #fff;
}

/* Mostrar submenu en escritorio con hover */
.dropdown:hover .dropdown-menu {
  display: block;
}


.img-nosotros {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.contenedor {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.redes {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.redes a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #333;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

.redes a:hover {
  transform: scale(1.1) translateY(-5px);
}

.redes a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.apptiktok { background: #000000; }
.appgmail { background: #D44638; }
.appinstagram { background: #E1306C; }
.appfacebook { background: #3b5998; }

footer {
  text-align: center;
  padding: 20px;
  font-size: 16px;
  color: #000000;
  margin-top: auto;
  font-weight: bolder;
}   

.contenedor-principal {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0px;
  padding: 0px;
}

.columna-izquierda {
  width: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;

}

.columna-izquierda img {
  width: 100%;
  height: 100vh;
  object-fit: contain;
  vertical-align: top;
}


.columna-derecha {
  width: 50%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0,0,0,0.7)), url('../img/codigo1.jpg') center/cover no-repeat;
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
}


/* --- TEXTO IZQUIERDO --- */
.info-contenedor {
  max-width: 600px;
}

.info-contenedor h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: #fff;
}

.info-contenedor ul {
 list-style: disc;
  padding-left: 20px;
  font-size: 0.5rem;
  line-height: 1.8;
}

.info-contenedor ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.descripcion-codigo-red {
  font-size: 1rem; 
  margin-top: 15px;
  line-height: 1.6;
}


.boton-cotizar {
  margin-top: 30px;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  background-color: #0075f5;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
  justify-content: center;
}


.boton-cotizar:hover {
  background-color: #004f9f;
}


/* BOTÓN */
.btn-cotizar {
  background-color: #0066cc;
  color: white;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-cotizar:hover {
  background-color: #004a99;
}

@media (max-width: 768px) {

  .contenedor-principal {
    flex-direction: column;
    padding: 0px;
  }

  .columna-izquierda,
  .columna-derecha {
    width: 100%;
  }

  .columna-derecha img {
    margin-top: 0px;
  }

  /* Menú hamburguesa */
  .menu_hamburger {
    display: flex;
    margin-left: auto;
    align-items: center;
  }

  .menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 10px;
    width: 90%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    border-radius: 8px;
  }

  .menu.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    background-color: #fff;
    box-shadow: none;
    padding: 0;
    display: none;
  }

  .dropdown-menu.active {
    display: block;
  }

  .dropdown-toggle {
    width: 100%;
    text-align: center;
  }
}
