/* =========================
   PALETA VERSABOLD
========================= */
:root {
  --vb-primary: #0B3C5D;     /* Azul profundo */
  --vb-secondary: #0E73B8;   /* Azul tecnológico */
  --vb-accent: #38BDF8;     /* Azul claro */
  --vb-dark: #0F172A;       /* Fondo oscuro */
  --vb-gray: #E5E7EB;       /* Texto secundario */
  --vb-light: #F8FAFC;      /* Blanco suave */
}

/* =========================
   HEADER / NAVBAR
========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--vb-primary),
    var(--vb-secondary)
  );
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================
   LOGO
========================= */
.logo a {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vb-light);
  text-decoration: none;
}

.logo span {
  color: var(--vb-accent);
}

/* =========================
   NAV LINKS
========================= */
.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-list a {
  color: var(--vb-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-list a:hover {
  color: var(--vb-accent);
}

/* =========================
   BOTÓN CONTACTO
========================= */
.btn-nav {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--vb-accent);
  border-radius: 6px;
  color: var(--vb-light);
}

.btn-nav:hover {
  background-color: var(--vb-accent);
  color: var(--vb-dark);
}

/* =========================
   MENÚ MÓVIL
========================= */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--vb-light);
  cursor: pointer;
}







.elementos{
  display: flex;
  flex-direction: column;
}



.section-title {
  font-size: 2rem;
  color: var(--vb-light);
  margin-bottom: 1rem;
  text-align: center;
}

h2{
  font-size: 2rem;
  color: var(--vb-light);
  margin-bottom: 1rem;
  text-align: center;
}

li{
  color: var(--vb-gray);
  margin-bottom: 0.5rem;
}

p{
  color: var(--vb-gray);
  margin-bottom: 1rem;
  font-size: 2rem;
  text-align: center;

}

a{
  color: var(--vb-accent);
  text-decoration: none;
font-size: 1.3rem;
}






/*Primera section*/
.contenido{
  display: flex;
  flex-direction: row;
  background-color: #0E73B8;
}



.contenido img{
  width: 15vw;
  height: auto;
}

.texto-contenido{
  flex: 1;
  padding: 20px;
}




/*Seccion Quienes Somos*/
.quienes-somos {
  background-color: #0E73B8;
}



/*Seccion Servicios*/
.section {
  padding: 6rem 1rem;
  background-color: #0F172A;
}



.contenido-servicios{
  display: flex;
  flex-direction: column;
}



.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--vb-light);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--vb-gray);
  margin-bottom: 3rem;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* Cards */
.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card h3 {
  color: var(--vb-accent);
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card li {
  margin-bottom: 0.6rem;
  color: var(--vb-gray);
}

/* Hover elegante */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(14, 115, 184, 0.25);
}



.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}






/*Seccion marketing*/
.marketing {
  background-color: #0B3C5D;
  color: var(--vb-light);
  padding: 4rem 1rem;
  text-align: center;
} 

.part1{
  width: 25vw;
}

.part2{
  width: 25vw;
  margin-right: 50px;
}




.elementos p{
  font-size: 1rem;
  text-align: center;
  color: var(--vb-dark);
}




#chat{
  width: 25vw;
  margin: auto;
  border: solid 2px var(--vb-accent);
  padding: 10px;
  
}



#ventanaChat{
  height: 200px;
  border: solid 1px var(--vb-accent);
  margin-bottom: 10px;
  overflow-y: scroll;
  background-color: var(--vb-light);
}




#contenidoDinamico{
  display: flex;
  flex-direction: column;
  background-color:#0F172A;
  
}

#contenidoDinamico h3{
  font-size: 1.6rem;
}

#contenidoDinamico p{
  font-size: 1.5rem;
}


#contenidoDinamico article{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#contenidoDinamico h3{
  color: #F8FAFC;
}

#contenidoDinamico form{
  border: solid 1px #38BDF8;
  border-radius: 5px;
  width: 80vw;
  margin-top: 10px;
  margin-left: 50px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}


#contenidoDinamico form input{
  width: 30vw;
}


#contenidoDinamico form select{
  width: 10vw;
}

#contenidoDinamico form button{
  width: 100px;
  height: 30px;
  background-color: #38BDF8;
  font-weight: bolder;
}


#descripcion{
  background-color: #0F172A;
  display: none;
}

#descripcion li{
  list-style: none;
}



#cerrarSeccionDescripcion{
  width: 30px;
  height: 30px;
  background-color: #38BDF8;
  font-weight: bolder;
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  /* Menú móvil */
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--vb-primary);
    width: 100%;
    display: none;
  }

  .nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .btn-nav {
    margin-top: 0.5rem;
  }

  /* Contenido general */
  .contenido {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
  }

  .contenido img {
    width: 50vw; /* Imagen más grande proporcionalmente */
    margin-bottom: 1rem;
  }

  .texto-contenido {
    padding: 0;
  }

  /* Servicios */
  .contenido-servicios {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  /* Marketing */
  .marketing {
    padding: 2rem 1rem;
  }

  .part1,
  .part2 {
    width: 80%;
    margin: 1rem auto 0 auto;
  }

  /* Chat */
  #chat {
    width: 90%;
  }

  #ventanaChat {
    height: 150px;
  }

  /* Texto general */
  .section-title,
  h2 {
    font-size: 1.6rem;
  }

  p {
    font-size: 1rem;
  }

  a {
    font-size: 1rem;
  }
}

/* Para pantallas muy pequeñas (moviles < 480px) */
@media (max-width: 480px) {
  .section-title,
  h2 {
    font-size: 1.4rem;
  }

  p {
    font-size: 0.9rem;
  }

  .logo a {
    font-size: 1.2rem;
  }

  .contenido img {
    width: 70vw;
  }

  #ventanaChat {
    height: 120px;
  }
}
