*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}

body {
  font-family: Arial, sans-serif;
  cursor: none;
}

/* este es el estilo del Efecto del cursor*/
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: rgb(243, 99, 9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor-outline {
  position: fixed;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 255, 255, 0.2); /* Fondo color con opacidad */
    border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
}


/* Este es el style de la cabecera de navegacion de la pagina*/
.header_navegador {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffffec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 100px;
  width: 100%;
  height: 100px;
  box-shadow: 0 2px 8px rgba(75, 255, 255, 0.262);
  box-sizing: border-box;
}

.logo img {
  width: 160PX;
  height: auto;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.nav ul li a {
  text-decoration: none;
  color: #595959;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav ul li a:hover {
  color: #00aaff;
}

.contacto {
  display: flex;
  align-items: center;
  gap: 15px;
}

.telefono-icono {
  width: 60px;
  height: 60px;
  background: #00aaff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.telefono-icono img {
  width: 50px;
  height: 50px;
}

.telefono-texto span {
  display: block;
  color: #6e7b8a;
  font-size: 16px;
}

.telefono-texto strong {
  color: #0a1e3f;
  font-size: 25px;
}

/* Botón hamburguesa (oculto en pantallas grandes) */
.menu-toggle {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  color: #595959;
  cursor: pointer;
}

/* ---------------------- */
/* Estilos responsive     */
/* ---------------------- */

@media (max-width: 768px) {
  .header_navegador {
    flex-wrap: wrap;
    padding: 15px 20px;
    height: auto;
  }

  .contacto {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    width: 100%;
    overflow: hidden;
    max-height: 0;
    transition: max-height 1.2s ease-in-out;
  }

  .nav.show {
    max-height: 500px; /* Ajusta si tu menú tiene más enlaces */
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin: 0;
  }

  .nav.show {
    display: block;
  }
  .logo img {
    width: 130px;
  height: auto;
}
}

/* (para la pagina actual) */
.nav ul li a.activo {
  color: #00aaff;
  border-bottom: 2px solid #00aaff;
  padding-bottom: 5px;
}


/* style del banner de nosotros*/
.servicios-banner {
  position: relative; /* Necesario para posicionar el pseudo-elemento */
  color: rgba(255, 255, 255, 0.844);
  text-align: center;
  overflow: hidden; /* Asegura que el pseudo-elemento no se salga */
}

.servicios-banner img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.servicios-banner::before {
  content: ""; /* Necesario para que el pseudo-elemento se renderice */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ff03b87a; /* Un morado semitransparente (ajusta el color y la opacidad) */
  /* Otra opción sería usar un degradado semitransparente:
  background-image: linear-gradient(rgba(103, 58, 183, 0.3), rgba(103, 58, 183, 0.7)); */
}

.servicios-banner h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2em;
  margin: 0;
  padding: 10px 20px;
  z-index: 1; /* Asegura que el texto esté por encima de la capa semitransparente */
}

.servicios-banner h1::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin: 10px auto 0 auto;
  background-color: white;
  border-radius: 2px;
  animation: expandLine 1s ease-out forwards;
}

/* Animación única */
@keyframes expandLine {
  to {
    width: 170px; /* Valor por defecto: móvil */
  }
}

/* En pantallas grandes el ancho final cambia */
@media (min-width: 768px) {
  @keyframes expandLine {
    to {
      width: 290px; /* Valor en escritorio */
    }
  }
}
/* style de de la seccion acerca de la empresa*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    
}

.content-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
    position: relative;
    overflow: visible;
}

.image-column {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 700px; /* AUMENTADO de 600px a 700px */
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(102, 101, 101, 0.1);
}

.experience-badge {
    position: absolute;
    top: -30px; /* Subido un poco menos */
    left: -30px;
    background-color: #00aaff;
    color: #fff;
    padding: 20px 25px; /* REDUCIDO el tamaño */
    border-radius: 5px;
    text-align: center;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.experience-number {
    font-size: 3.2em; /* Antes 4em */
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.experience-text {
    font-size: 1em; /* Antes 1.2em */
    font-weight: 400;
    margin-top: 10px;
    line-height: 1.5;
}

.text-column {
    flex: 1;
    padding: 20px;
}

.subtitle {
    font-size: 0.9em;
    font-weight: 600;
    color: #ff03b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.main-title {
    font-size: 3.5em;
    font-weight: 700;
    color: #1f1f20;
    line-height: 1.1;
    margin: 0 0 20px 0;
}

.description {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    word-spacing: 4px;
}

/* Media Queries para responsividad */
@media (max-width: 992px) {
    .content-section {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 40px 20px;
    }

    .image-column {
        justify-content: center;
        align-items: center;
        margin-bottom: 5px;
    }

    .image-container {
        max-width: 95%; /* Aumentado un poco en tablets */
    }

    .experience-badge {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        padding: 18px 25px;
    }

    .main-title {
        font-size: 2.2em;
    }

    .subtitle {
        font-size: 0.95em;
    }

    .description {
        font-size: 1em;
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size:40px;
    }

    .subtitle {
        font-size: 0.9em;
        margin-bottom: 20px;
    }

    .description {
        font-size: 16px;         
        line-height: 1.7;       
        text-align: left;       
        word-spacing: normal;   
        color: #444;            
        font-size: 0.97em;
    }

    .experience-badge {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto 20px auto;
        padding: 15px 20px;
        display: inline-block;
    }

    .experience-number {
        font-size: 2.8em;
    }

    .experience-text {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .container {
    overflow: clip;
  }
    .main-title {
        font-size: 1.6em;
    }

    .subtitle {
        font-size: 0.85em;
    }

    .description {
        font-size: 0.9em;
    }

    .experience-badge {
        padding: 12px 18px;
    }

    .experience-number {
        font-size: 2.5em;
    }

    .experience-text {
        font-size: 0.9em;
    }
}

/* Fondo abstracto con formas */
.content-section::before,
.content-section::after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    background-color: #777777;
    opacity: 0.2;
    pointer-events: none;
    max-width: 100vw;
}

.content-section::before {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -200px;
}

.content-section::after {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
}


/* sección por qué elegirnos */
.elegirnos {
  position: relative; /* necesario para el fondo animado */
  padding: 40px 20px;
  background-color: #673AB7;
  text-align: center;
  overflow: hidden; /* oculta exceso del fondo */
}

.elegirnos::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.126) 20%, transparent 70%),
              radial-gradient(circle, rgba(234, 170, 7, 0.092) 15%, transparent 60%),
              radial-gradient(circle, rgba(255, 255, 255, 0.085) 25%, transparent 70%);
  background-size: 400px 400px, 600px 600px, 800px 800px;
  animation: moverFondos 15s linear infinite;
  z-index: 0;
}

@keyframes moverFondos {
  0% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(-10%, -10%) rotate(180deg); }
  100% { transform: translate(0,0) rotate(360deg); }
}

.elegirnos h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: rgb(234, 170, 7);
  position: relative;
  z-index: 1; /* encima del fondo */
}

.ventajas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  position: relative;
  z-index: 1; /* encima del fondo */
}

.ventaja {
  background-color: rgba(232, 232, 232, 0.308);
  border-radius: 8px;
  padding: 20px;
  max-width: 250px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  transition: transform 0.3s;
}

.ventaja p {  
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 4px rgb(0, 0, 0);
  line-height: 1.4;
}

.ventaja:hover {
  transform: translateY(-5px);
}

.icono {
  font-size: 24px;
  color: #4caf50; /* color verde */
}


/* Style mision y vision */

.mision-vision-horizontal {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 16px;
}

.mision-vision-horizontal h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #696969;
}

/* Filas */
.fila-mv {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin-bottom: 40px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.fila-mv:hover {
  transform: translateY(-5px);
}

/* Imagen */
.imagen-mv {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  overflow: hidden;
}

.imagen-mv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contenido */
.contenido-total {
  flex: 2;
  display: flex;
  flex-direction: column;
}

.titulo-mv {
  background-color: #00aaff;
  color: #fff;
  padding: 20px;
  font-weight: bold;
  font-size: 1.4em;
  text-align: center;
}

.contenido-mv {
  padding: 25px;
  font-size: 1.1em;
  color: #333;
  line-height: 1.7;
}

/* ================== RESPONSIVE ================== */

/* Tablets (pantallas medianas) */
@media (max-width: 992px) {
  .mision-vision-horizontal {
    padding: 40px 15px;
  }

  .mision-vision-horizontal h2 {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .fila-mv {
    flex-direction: column;
    text-align: center;
  }

  .imagen-mv {
    max-width: 100%;
    min-width: auto;
  }

  .contenido-mv {
    font-size: 1em;
  }
}

/* Móviles (pantallas pequeñas) */
@media (max-width: 576px) {
  .mision-vision-horizontal {
    padding: 30px 10px;
  }

  .mision-vision-horizontal h2 {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .titulo-mv {
    font-size: 1.2em;
    padding: 15px;
  }

  .contenido-mv {
    padding: 15px;
    font-size: 0.95em;
    line-height: 1.5;
  }

  .fila-mv {
    margin-bottom: 25px;
  }
}


/* seccion de footer */

footer {
  width: 100%;
  padding: 10px 10px;
  background-size: cover;
  background-color: #00aaff;
  height: auto; /* El footer se ajustará a la altura de su contenido */
}

.container__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  margin-top: 10px;
}

.box__footer {
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.box__footer .logo img {
  width: 230px;
}

.box__footer .terms {
  max-width: 350px;
  margin-top: 20px;
  font-weight: 540;
  color: #09ffff;
  font-size: 18px;
}

.box__footer h2 {
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: 700;
}

.box__footer a {
  margin-top: 10px;
  color: #09ffff;
  font-weight: 550;
  text-decoration: none;
  transition: transform 0.2s ease-in-out; /* transición suave */
  display: inline-block; /* necesario para que transform funcione correctamente */
}

.box__footer a:hover {
  transform: scale(1.08); /* efecto de agrandado */
  opacity: 0.8;
  color: #eeeeee;
} 

.box__footer a img {
  vertical-align: middle;
  margin-right: 8px;
}


.box__footer a .fab {
  font-size: 20px;
}

.box__copyright {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  padding: 0 40px;
}

.box__copyright p {
  font-size: 14px;
  margin-top: 15px;
  color: #ffffff;
  word-spacing: 3px;
  letter-spacing: 0.5px;
}

.box__copyright hr {
  margin-top: 10px;
  border: none;
  height: 0.5px;
  background-color: #ffffff;
}


/* animacion de carga*/
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Ocultar cosas */
.ocultar {
  display: none !important;
}

.oculto {
  display: none;
}

    /* Loader animado carga */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.oculto {
  display: none;
}

    /* Loader de gotas CMYK */
.cmyk-loader {
  display: flex;
  gap: 16px;
}

.gota {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  animation: rebote 1.2s infinite ease-in-out;
}

    /* Colores CMYK */
.cyan {
  background-color: #00bfff;
  animation-delay: 0s;
}
.magenta {
  background-color: #ff00ff;
  animation-delay: 0.2s;
}
.yellow {
  background-color: #ffff00;
  animation-delay: 0.4s;
}
.black {
  background-color: #000000;
  animation-delay: 0.6s;
}

    /* Animación rebote */
@keyframes rebote {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}