/*____________________ PÁRRAFOS ____________________*/
p {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/*____________________ ENLACES GENERALES fuera del menú ____________________*/
a {
  color: #3399ff;
  text-decoration: underline;
  transition: color 0.3s ease;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
}

a:hover {
  color: #66ccff;
}


/*____________________ LISTAS ____________________*/
ul, ol {
  margin: 1rem 0 1rem 1.5rem;
  padding: 0;
  color: #ccc;
}

li {
  margin-bottom: 0.5rem;
}

/*____________________ TABLAS ____________________*/
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  color: #ccc;
  background-color: #1a1a1a;
}

th, td {
  border: 1px solid #444;
  padding: 0.75rem;
  text-align: left;
}

th {
  background-color: #222;
  color: #fff;
}

/*____________________ FORMULARIOS ____________________*/
input, textarea, select {
  background-color: #222;
  color: #eee;
  border: 1px solid #555;
  padding: 0.6rem;
  border-radius: 5px;
  width: 100%;
  margin-bottom: 1rem;
  font-family: inherit;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #3399ff;
  box-shadow: 0 0 5px #3399ff88;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  color: #bbb;
  font-weight: 500;
}

/*____________________ BOTONES GENERALES ____________________*/
button {
  background-color: #444;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #666;
}

/*____________________ IMÁGENES ____________________*/
img {
  max-width: 100%;
  height: auto;
  border-radius: 0.3rem;
}

/*____________________ CÓDIGO ____________________*/
code, pre {
  font-family: monospace;
  background-color: #1e1e1e;
  color: #00ff99;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
}

pre {
  overflow-x: auto;
  margin-bottom: 1rem;
}

/*____________________ LISTA DE SERVICIOS ____________________*/

.servicios-lista {
  list-style: square;
  padding-left: 1.5rem;
  color: #ccc;
  font-size: 1rem;
  line-height: 1.8;
}

/*____________________ Div con imagenes ____________________*/


.fondo-oscuro {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.fondo-oscuro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.546); /* gris oscuro semitransparente */
  z-index: 1;
}

.fondo-oscuro > * {
  position: relative;
  z-index: 2;
}

/*____________________ Textos y titulos para fondos claros ____________________*/


/* Tipografía general para textos sobre fondo claro */
.texto-claro {
  color: #111; /* Gris muy oscuro */
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

/* Estilos para encabezados sobre fondo claro */
.titulo-claro-h1 {
  color: #0a0a0a;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.titulo-claro-h2 {
  color: #1a1a1a;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.titulo-claro-h3 {
  color: #222;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.titulo-claro-h4 {
  color: #2b2b2b;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* h5 llamativo y profesional */
.titulo-claro-h5 {
  color: #2b2b2b;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-left: 4px solid #0e1a40;
  padding-left: 0.75rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

/* Párrafos sobre fondo claro */
.parrafo-claro {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.recuadro-blanco {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 40%;
  aspect-ratio: 1 / .8; /* Mantiene forma cuadrada */
  float: left; /* Se alinea a la izquierda */
  border-radius: 1rem;
  padding: 1rem;
  box-sizing: border-box;
  margin: 1rem;
}

/* Responsivo para pantallas medianas y pequeñas */
@media (max-width: 1024px) {
  .recuadro-blanco {
    width: 60%;
  }
}

@media (max-width: 600px) {
  .recuadro-blanco {
    width: 90%;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
}

/*____________________ Recuadro inicial de tuweb.html ____________________*/
/*_________________________________________
  INFO BOX - Contenedor principal y secundarios
_________________________________________*/
.info-box {
  background-color: var(--color-fondo);
  color: var(--color-claro);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  margin: 2rem auto;
  max-width: 900px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.info-box-secundario {
  background-color: #444; /* fondo gris claro */
  color: white; /* texto blanco */
  padding: 1.5rem;
  border-radius: 0.8rem;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  margin-top: 1.5rem;
  font-size: 1rem;
}

.info-box-secundario .subtitulo,
.info-box-secundario .lista-servicios li {
  color: white;
}


/*_________________________________________
  ANIMACIÓN DE ENTRADA
_________________________________________*/
.animar-entrada {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*_________________________________________
  TITULARES Y SUBTÍTULOS
_________________________________________*/
.titulo-principal {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  animation: pulseText 2s infinite;
}

@keyframes pulseText {
  0% { color: var(--color-azul); }
  50% { color: var(--color-verde); }
  100% { color: var(--color-azul); }
}

.subtitulo1 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.subtitulo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #FFFF;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/*_________________________________________
  PÁRRAFOS
_________________________________________*/
.parrafos1 {
  color: var(--color-muy-oscuro); /* texto oscuro pero no negro absoluto */
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-weight: 400;
}

/*_________________________________________
  LISTAS
_________________________________________*/
.lista-servicios {
  list-style: disc inside;
  padding-left: 1rem;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.lista-servicios li {
  margin-bottom: 0.4rem;
  color: inherit;
}
/*____________________ Recuadros de servicios redes.html ____________________*/
.contenedor-principal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  background-color: #FFFF; /* fondo claro */
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  max-width: 75%;
  margin: 2rem auto;
  transition: transform 0.3s ease;
  color: #333; /* texto negro */
}

.contenedor-principal:hover {
  transform: scale(1.05);
}

.imagen-box {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1rem;
  aspect-ratio: 1 / .8; /* cuadrado */
}

.texto-box {
  flex: 1;
  padding: 1rem;
  border-radius: 1rem;
  background-color: transparent;
  color: #333; /* texto negro */
  overflow-y: auto;
}
/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
  .contenedor-principal {
    flex-direction: column;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1568212188246-8a6a6eb95c10?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;         /* hace que la imagen cubra todo el contenedor */
    background-position: center;    /* centra la imagen */
    background-repeat: no-repeat;   /* evita que se repita */
  }

  .imagen-box,
  .texto-box {
    width: 100%;
    aspect-ratio: auto; /* Deja que la imagen se ajuste si es necesario */
  }
}