html, body {
    overflow-x: hidden;
  }
 
  nav {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap; /* <-- Esto permite que los items bajen si no caben */
padding: 10px 20px;
}
nav ul {
display: flex;
flex-wrap: wrap; /* <-- También acá */
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
margin-left: 20px;
}
header {
background: linear-gradient(to right, #0f2027, #203a43, #2c5364); /* O el fondo que usas */
padding: 10px 20px;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap; /* <-- Esto ayuda muchísimo */
}

  nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #007acc;
    font-weight: bold;
    cursor: pointer;
  }
  nav a:hover {
    color: #005f99;
  }
  .section {
    display: none;
    padding: 80px 20px;
    min-height: 80vh;
  }
  .active {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero img {
    width: 300px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: 48px;
    color: #007acc;
  }
  .hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 20px auto;
  }
  .buttons {
    margin-top: 30px;
  }
  .buttons a {
    text-decoration: none;
    background-color: #007acc;
    color: white;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  .buttons a:hover {
    background-color: #005f99;
  }
  .info-empresa h2 {
    font-size: 36px;
    color: #007acc;
    margin-bottom: 30px;
  }
  .info-empresa h3 {
    font-size: 28px;
    color: #007acc;
    margin-top: 40px;
  }
  .info-empresa p, .info-empresa ul {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
  }
  .info-empresa ul {
    padding-left: 20px;
  }
  footer {
    background-color: #e0f7fa;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #007acc;
  }
  .contenedor-nosotros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.card h3 {
  color: #007acc;
  margin-bottom: 20px;
  font-size: 24px;
}
.card p, .card ul {
  text-align: justify;
  font-size: 18px;
  color: #555;
  line-height: 1.7;
}
.card ul {
  padding-left: 20px;
}

.contenedor-servicios {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  text-align: center;
}

.contenedor-servicios h2 {
  font-size: 36px;
  color: #007acc;
  margin-bottom: 40px;
}

.lista-servicios, .hosting {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 30px;
  margin-bottom: 30px;
  text-align: left;
}

.lista-servicios ul, .hosting ul {
  list-style: none;
  padding: 0;
}

.lista-servicios ul li, .hosting ul li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 18px;
  color: #555;
  text-align: justify;
}

.lista-servicios ul li:last-child, .hosting ul li:last-child {
  border-bottom: none;
}

.hosting h3 {
  font-size: 28px;
  color: #007acc;
  margin-bottom: 20px;
}
/* ANIMACIONES bienvenida */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blink-caret {
  50% { border-color: transparent; }
}
@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* CUANDO EL BODY CARGA */
body.fade-in {
  animation: fadeIn 2s ease forwards;
}
@keyframes zoomIn {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}
/* animacion fusion */
@keyframes zoomOut {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: scale(0) rotate(-360deg);
    opacity: 0;
  }
}
/* animacion inicio */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap'); /* fuente de Google Futurista */

@keyframes fondoAnimadoHeader {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}

header nav a:hover {
color: #8a2be2;
transform: scale(1.1);
}
/* Servicios */
@keyframes fondoAnimado {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}

@keyframes brillar {
0% { opacity: 1; }
100% { opacity: 0.7; }
}

/* lista de servicios */
.lista-servicio {
    display: none;
    max-width: 700px;
    margin: 30px auto;
    padding: 0;
    list-style: none;
    font-size: 20px;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
  }

  .lista-servicio li {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 12px;
    transition: background 0.3s;
  }

  .lista-servicio li:hover {
    background: rgba(0, 195, 255, 0.2);
  }

  .icono {
    margin-right: 12px;
    font-size: 26px;
  }

  .texto {
    flex: 1;
  }
/* ESTILOS DEL INICIO */
#inicio {
background: linear-gradient(135deg, #0a0a23, #1f1f5a, #00c3ff);
background-size: 600% 600%;
animation: fondoAnimado 20s ease infinite;
color: #ffffff;
text-align: center;
padding: 260px 20px 80px 20px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
box-sizing: border-box;
overflow: hidden;
font-family: 'Poppins', 'Outfit', sans-serif;
}

.logo-flotante {
width: 220px;
height: 220px;
object-fit: cover;
border-radius: 50%;
animation: flotar 6s ease-in-out infinite;
margin-bottom: 30px;
/* QUITAMOS EL BORDE CELESTE Y EL SOMBREADO */
border: none;
box-shadow: none;
}

.titulo-principal {
font-family: 'Orbitron', sans-serif;
font-size: 58px;
font-weight: 700;
text-transform: uppercase;
color: #00f9ff;
letter-spacing: 3px;
text-shadow: 0 0 12px #00f9ff80, 0 0 18px #0088ff80;
margin-bottom: 20px;
}

.descripcion-principal {
font-family: 'Orbitron', sans-serif;
font-size: 22px;
max-width: 750px;
margin-top: 10px;
color: #b0e0ff;
font-weight: 500;
line-height: 1.5;
text-shadow: 0 0 8px #00c3ff60;
}

.boton-principal {
text-decoration: none;
background: linear-gradient(90deg, #00c3ff, #8a2be2);
border: none;
color: #ffffff;
padding: 15px 40px;
border-radius: 50px;
font-size: 18px;
font-weight: 600;
box-shadow: 0 0 15px #00c3ff80;
transition: 0.4s ease;
margin: 10px;
display: inline-block;
}

.boton-principal:hover {
background: linear-gradient(90deg, #8a2be2, #00c3ff);
box-shadow: 0 0 25px #8a2be280;
}

/* ESTILOS botones catalogo */
.btn-futurista {
  padding: 14px 30px;
  background: transparent;
  color: #00f9ff;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2em;
  border: 2px solid #00f9ff;
  border-radius: 15px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 0 8px #00f9ff, 0 0 20px #00f9ff inset;
}
.btn-futurista::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(0,249,255,0.5), transparent);
  transform: rotate(45deg);
  transition: all 0.5s ease;
}
.btn-futurista:hover::before {
  left: 100%;
  top: 100%;
}
.btn-futurista:hover {
  background: #00f9ff;
  color: #0f0f2d;
  box-shadow: 0 0 15px #00f9ff, 0 0 30px #00f9ff, 0 0 45px #00f9ff;
  transform: scale(1.08);
}
/* ESTILOS botones PAQUETES */
.btn-futurista {
padding: 14px 30px;
background: transparent;
color: #00f9ff;
font-family: 'Orbitron', sans-serif;
font-size: 1.2em;
border: 2px solid #00f9ff;
border-radius: 15px;
cursor: pointer;
text-transform: uppercase;
letter-spacing: 2px;
position: relative;
overflow: hidden;
transition: all 0.4s ease;
box-shadow: 0 0 8px #00f9ff, 0 0 20px #00f9ff inset;
}
.btn-futurista::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(120deg, transparent, rgba(0,249,255,0.5), transparent);
transform: rotate(45deg);
transition: all 0.5s ease;
}
.btn-futurista:hover::before {
left: 100%;
top: 100%;
}
.btn-futurista:hover {
background: #00f9ff;
color: #0f0f2d;
box-shadow: 0 0 15px #00f9ff, 0 0 30px #00f9ff, 0 0 45px #00f9ff;
transform: scale(1.08);
}

.boton-principal {
display: inline-block;
padding: 14px 40px;
margin: 10px;
font-size: 1.2rem;
font-family: 'Orbitron', sans-serif; /* Fuente futurista */
font-weight: bold;
color: #00f0ff;
background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 25%, transparent 25%, transparent 50%, rgba(0, 240, 255, 0.1) 50%, rgba(0, 240, 255, 0.1) 75%, transparent 75%, transparent);
background-size: 200% 200%;
border: 2px solid #00f0ff;
border-radius: 30px;
text-transform: uppercase;
letter-spacing: 2px;
text-decoration: none;
transition: all 0.4s ease;
position: relative;
overflow: hidden;
box-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff, inset 0 0 10px #00f0ff;
}

/* ESTILOS catalogo y paquetes Botones Futuristas */
.boton-neon {
display: inline-block;
padding: 16px 20px; /* <-- más espacio interno */
background: transparent;
color: #00f9ff;
font-family: 'Orbitron', sans-serif;
font-size: 1.2em; /* <-- letras un poquito más grandes */
font-weight: bold;
border: 2px solid #00f9ff;
border-radius: 20px;
cursor: pointer;
text-transform: uppercase;
letter-spacing: 2px;
position: relative;
overflow: hidden;
text-decoration: none;
transition: all 0.4s ease;
box-shadow: 0 0 8px #00f9ff, 0 0 20px #00f9ff inset;
white-space: nowrap;
min-width: 370px; /* <-- botón mínimo más ancho para textos largos */
}

.boton-neon::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(120deg, transparent, rgba(0,249,255,0.5), transparent);
transform: rotate(45deg);
transition: all 0.5s ease;
}

.boton-neon:hover::before {
top: 100%;
left: 100%;
}

.boton-neon:hover {
background: #00f9ff;
color: #0f0f2d;
box-shadow: 0 0 15px #00f9ff, 0 0 30px #00f9ff, 0 0 45px #00f9ff;
transform: scale(1.08);
}

/* INCIO Y CONTENIDO */
@keyframes moverCarrusel {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
  }
  
  .carrusel {
    overflow: hidden;
    width: 100%;
    margin-top: 60px;
  }
  
  .carrusel-contenido {
    display: flex;
    gap: 40px;
    animation: moverCarrusel 35s linear infinite;
  }
  
  /* Estilo de las tarjetas */
  .tarjeta {
    flex: 0 0 auto;
    background: linear-gradient(135deg, #ffffff, #f7f9fa);
    color: #333;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.15);
    width: 320px;
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  .tarjeta:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0px 18px 40px rgba(0, 0, 0, 0.25);
  }
  
  .tarjeta-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
  }
  
  .tarjeta-header img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    border: 3px solid #00f9ff;
  }
  
  .tarjeta-header strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #0f0f2d;
  }
  
  .tarjeta-header span {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    display: block;
  }
  
  .tarjeta p {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
  }

  /* Estilo de CATALOGO */
  .catalogo-img {
    width: 280px;
    height: 180px;
    border-radius: 50px; /* Ovaladas */
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0,255,255,0.4);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .catalogo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0,255,255,0.7);
  }

  #modal {
    display: flex; /* 👈 para centrar imagen */
    animation: fadeIn 0.5s ease;
  }

  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Orbitron', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0f0f2d, #1f1f3d);
    color: #333;
  }
  

  /* Estilo de PAQUETES */
  .btn-futurista {
    padding: 14px 30px;
    background: transparent;
    color: #00f9ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2em;
    border: 2px solid #00f9ff;
    border-radius: 15px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 0 8px #00f9ff, 0 0 20px #00f9ff inset;
    margin: 10px;
  }
  .btn-futurista::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(0,249,255,0.5), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
  }
  .btn-futurista:hover::before {
    left: 100%;
    top: 100%;
  }
  .btn-futurista:hover {
    background: #00f9ff;
    color: #0f0f2d;
    box-shadow: 0 0 15px #00f9ff, 0 0 30px #00f9ff, 0 0 45px #00f9ff;
    transform: scale(1.08);
  }

  @keyframes fondoAnimado {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
  }
  @keyframes brillar {
    0% {
      text-shadow: 0 0 10px #00ffff, 0 0 20px #00c3ff, 0 0 30px #8a2be2;
    }
    100% {
      text-shadow: 0 0 20px #00c3ff, 0 0 30px #8a2be2, 0 0 40px #00ffff;
    }
  }

  /* Estilos responsivos generales adaptacion de pantallas*/
* 
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Ajustes para tablets (≤ 1024px) */
  @media screen and (max-width: 1024px) {
    .hero h1 {
      font-size: 38px;
    }
    .tarjeta {
      width: 100%;
      margin-bottom: 20px;
    }
  }
  
  /* Ajustes para móviles grandes (≤ 768px) */
  @media screen and (max-width: 768px) {
    nav ul {
      flex-direction: column;
      align-items: center;
    }
    .hero h1 {
      font-size: 30px;
    }
    .hero p {
      font-size: 18px;
    }
    .btn-futurista,
    .boton-principal {
      font-size: 16px;
      padding: 12px 24px;
    }
    .catalogo-img {
      width: 90%;
      border-radius: 25px;
    }
  }
  
  /* Ajustes para móviles pequeños (≤ 480px) */
  @media screen and (max-width: 480px) {
    .hero h1 {
      font-size: 24px;
    }
    .hero p {
      font-size: 16px;
    }
    .btn-futurista,
    .boton-principal {
      font-size: 14px;
      padding: 10px 20px;
    }
    .tarjeta-header img {
      width: 50px;
      height: 50px;
    }
  }
  
  /* === Responsive Design para todas las pantallas === */

/* Laptops y pantallas medianas (entre 1024px y 1440px) */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .hero h1 {
      font-size: 42px;
    }
    .hero p {
      font-size: 20px;
      max-width: 700px;
    }
    .tarjeta {
      width: 45%;
      margin: 20px auto;
    }
    .catalogo-img {
      width: 260px;
      height: auto;
    }
    .btn-futurista,
    .boton-principal {
      font-size: 18px;
      padding: 14px 32px;
    }
    nav {
      padding: 15px 40px;
    }
  }
  
  /* Tablets (entre 768px y 1023px) */
  @media screen and (max-width: 1023px) {
    .hero h1 {
      font-size: 36px;
    }
    .hero p {
      font-size: 18px;
    }
    nav ul {
      flex-direction: column;
      gap: 10px;
    }
    .tarjeta {
      width: 90%;
    }
    .catalogo-img {
      width: 85%;
      border-radius: 25px;
    }
    .btn-futurista,
    .boton-principal {
      font-size: 16px;
      padding: 12px 24px;
    }
  }
  
  /* Móviles grandes (481px – 767px) */
  @media screen and (max-width: 767px) {
    .hero h1 {
      font-size: 28px;
    }
    .hero p {
      font-size: 16px;
    }
    .tarjeta {
      width: 100%;
    }
    .btn-futurista,
    .boton-principal {
      font-size: 14px;
      padding: 10px 22px;
    }
    header {
      flex-direction: column;
      padding: 10px 20px;
    }
  }
  
  /* Móviles pequeños (hasta 480px) */
  @media screen and (max-width: 480px) {
    .hero h1 {
      font-size: 24px;
    }
    .hero p {
      font-size: 14px;
    }
    .tarjeta-header img {
      width: 50px;
      height: 50px;
    }
    .btn-futurista,
    .boton-principal {
      font-size: 12px;
      padding: 10px 18px;
    }
    .catalogo-img {
      width: 90%;
      border-radius: 20px;
    }
  }

  /* Estilos responsivos para bienvenida */
@media (max-width: 768px) {
    #bienvenida h1 {
      font-size: 40px;
      letter-spacing: 2px;
    }
  
    #bienvenida-img {
      width: 250px;
      height: 250px;
      margin-bottom: 20px;
    }
  
    #bienvenida h2 {
      font-size: 24px;
      margin-bottom: 15px;
    }
  
    #bienvenida h1:last-of-type {
      font-size: 22px;
      width: 100%;
    }
  
    #bienvenida p {
      font-size: 16px;
      padding: 0 10px;
    }
  }
  
  /* Estilos responsivos para header */
  @media (max-width: 768px) {
    header {
      flex-direction: column;
      align-items: flex-start;
      padding: 10px 20px;
    }
  
    header img {
      width: 100px;
      margin-bottom: 10px;
    }
  
    header nav {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
  
    header nav a {
      font-size: 18px;
    }
  }
  /* Responsive adjustments for small screens */
  @media (max-width: 768px) {
    #bienvenida h1:last-of-type {
      font-size: 18px;
      width: 90%;
      white-space: normal;
      overflow: visible;
      border-right: none;
      animation: none;
    }
  }