@import url('../global.css');

@import url("https://fonts.googleapis.com/css?family=Merriweather|Montserrat|Shadows+Into+Light");

body {
  background-color: var(---color_fondo_primario);
}


/* HERO */
.Hero_inicio{ 
  Height: 100vh;
  Width: 100%;
}

.fondo-hero-experiencia {
  position: relative;
  overflow: hidden;
  opacity: 0.8; 
  transform: scaleX(-1); 
  Width: 100%;
  Height: 100vh;

}
#video-fondo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
}


#hero{
  
  Width: 100%;
  Height: 100vh;
  background: linear-gradient(to left, rgba(0, 0, 255, 1) 0%, rgba(0, 0, 255, 0) 100%);
  mask: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  
}


@media (max-width: 831px){
  .Hero_inicio{
    
    Width: 100%;
    Height: 70vh;
  }
  #hero{
  
    Width: 100%;
    Height: 70vh;
    background: transparent;
    mask:none;
    
  }

  #video-fondo {
    display: none;
  }
  .fondo-hero-experiencia {
    
    Width: 100%;
    Height: 70vh;
    background: linear-gradient(45deg, #2b7ffd29, #1e6adb49, #f5f5f5, #f5f5f5),
    url('/assets/hero/hero4.jpg'); /* Aquí añades tu imagen */
    background-size: cover; /* Asegura que la imagen cubra todo el contenedor */
    background-position: center;
  }
  
}


.text-shadows {
  text-shadow: 3px 3px 0 #609ffc, 6px 6px 0 #7a78f5, 9px 9px 0 #9d60fc, 12px 12px 0 #b545f7;
  font-size: 76px;
  letter-spacing: 10px;
  text-align: center;
  margin: 0;
  animation: shadows 1.2s ease-in infinite;
}

@keyframes shadows {
  0% {
    text-shadow: none;
  }

  10% {
    transform: translate(-3px, -3px);
    text-shadow: 3px 3px 0 #609ffc;
  }

  20% {
    transform: translate(-6px, -6px);
    text-shadow: 3px 3px 0 #609ffc, 6px 6px 0 #7a78f5;
  }

  30% {
    transform: translate(-9px, -9px);
    text-shadow: 3px 3px 0 #609ffc, 6px 6px 0 #7a78f5, 9px 9px 0 #9d60fc;
  }

  40% {
    transform: translate(-12px, -12px);
    text-shadow: 3px 3px 0 #609ffc, 6px 6px 0 #7a78f5, 9px 9px 0 #9d60fc, 12px 12px 0 #b545f7;
  }

  50%,
  60% {
    text-shadow: 3px 3px 0 #609ffc, 6px 6px 0 #7a78f5, 9px 9px 0 #9d60fc, 12px 12px 0 #b545f7;
  }

  70% {
    text-shadow: 3px 3px 0 #609ffc, 6px 6px 0 #7a78f5, 9px 9px 0 #9d60fc;
  }

  80% {
    text-shadow: 3px 3px 0 #609ffc, 6px 6px 0 #7a78f5;
  }

  90% {
    text-shadow: 3px 3px 0 #609ffc;
  }

  100% {
    text-shadow: none;
  }
}

#sd-container {
  display: flex;
  flex-direction: column;   
  justify-content: center; 
  align-items: center;      
  position: relative;      
  opacity: 1;             
  
}


.arrow {
  position: relative;
  width: 42px;
  height: 16px;
  opacity: 0;
  display: block;
  
}

.arrow::before,
.arrow::after {
  content: "";
  width: 21px;
  height: 2px;
  background-color: #e48cff;
  border-radius: 2px;
  display: inline-block;
}

.arrow::before {
  transform: rotate(45deg) translateX(25%);
}

.arrow::after {
  transform: rotate(-45deg) translateX(-25%);
}

.arrow:nth-child(1) {
  top: -80px;
  opacity: 1;
  animation: arrow2 1s ease 0s infinite;
}

.arrow:nth-child(2) {
  top: -45px;
  animation: arrow1 1s ease 0.25s infinite;
}

@keyframes arrow1 {
  from {
    opacity: 0;
    top: -85px;
  }
  
  to {
    opacity: 0;
    top: -55px;
  }
  
  50% {
    opacity: 1;
  }
}

@keyframes arrow2 {
  from {
    opacity: 0;
    top: -75px;
  }
  
  to {
    opacity: 0;
    top: -30px;
  }
  
  50% {
    opacity: 1;
  }
}







.titulo-h01 {
  margin-top: 140px;
  margin-bottom: 80px;
  color: var(---color_texto_titulos_3);
  
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: rgb(0, 10, 125);
  font-family: Rubik, serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 90px;
  letter-spacing: 0.4rem;
  max-width: 100%; 
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: 1.2; 
  transform: scaleX(-1); 
  z-index: 500;
}

@media (min-width:1121px) and (max-width: 1200px){
  .titulo-h01{
    font-size: 2.4rem;

  }
}

@media (min-width:831px) and (max-width: 1121px){
  .titulo-h01{
    font-size: 2rem; 

  }
}

@media (max-width: 831px) {
  .titulo-h01 {
    font-size: 1.6rem;
    text-align: center; 
    color: var(---color_texto_titulos_4);
    
    -webkit-text-stroke-width: 0px;
    -webkit-text-stroke-color: rgba(0, 0, 0, 0.282);
  }
  
  .col-hero-texto  {
    width: 100%; 
  }
  .parrafo-g01,
  .titulo-s02{
    text-align: center !important;
  
  }


}

@media (min-width:487px) and (max-width:769px){
  .hidden-br{
    display: none;
  }
}

@media (min-width: 769px) {
  .titulo-h01 .hidden-br {
    display: none;
  }
}

@media (max-width:400px){
  .text-shadows{
    font-size: 50px;
  }
}

@media (max-width:991px){
  .parrafo-e01{
    margin-top: 20px;
  }
}

.header-box {
  background: transparent;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
  margin-top: 40px;
}



.computador-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.3));
}


@media (max-width: 768px) {
  .col-hero-image{
    display: none;
  }
}

/* Clase para activar la animación */
.header-box.visible {
  transform: translateY(0);
  opacity: 1;
}



/* SEPARADOR HERO */
.editorial {
  position: relative;
  width: 100%;
  height: 60px;
  max-height: 60px;
  margin: 0;
  z-index: 5;
  bottom: 45px;
  left: 0px;
  float: left;
}

/* EXPERIENCIA */

.experiencia-bandera {
  margin-right: 30px;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.contenedor-banderas {
  margin-top: 40px;
  margin-bottom: 20px;
  display: flex;
}

.titulo-e01 {
  margin-top: 30px;
  color: #000000;
  font-size: 40px;
}



.parrafo-e01 {
  font-size: 19px;
  color: #000000;
}






.parallax1>use {
  animation: move-forever1 10s linear infinite;

  &:nth-child(1) {
    animation-delay: -2s;
  }
}

.parallax2>use {
  animation: move-forever2 8s linear infinite;

  &:nth-child(1) {
    animation-delay: -2s;
  }
}

.parallax3>use {
  animation: move-forever3 6s linear infinite;

  &:nth-child(1) {
    animation-delay: -2s;
  }
}

.parallax4>use {
  animation: move-forever4 4s linear infinite;

  &:nth-child(1) {
    animation-delay: -2s;
  }
}

@keyframes move-forever1 {
  0% {
    transform: translate(85px, 0%);
  }

  100% {
    transform: translate(-90px, 0%);
  }
}

@keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes move-forever3 {
  0% {
    transform: translate(85px, 0%);
  }

  100% {
    transform: translate(-90px, 0%);
  }
}

@keyframes move-forever4 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}



/* CLIENTES */

.titulo-c01{
  color: #000000;
  font-size: 40px;
}

#clientes{
  height: 70vh;
  margin-top: 60px;
}



.clients-slider img {
  width: 100%;
  max-width: 300px;
  height: auto;
  max-height: 300px;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.clients-slider img:hover {
  filter: none;
  transform: scale(1.05);
}











.reche{
  max-width: 180px !important;
  max-height: 180px !important;
   
}


  
.clients-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
}






















/* SERVICIOS */
.titulo-s01 {
  background: linear-gradient(to right, #0066cc, #8a2be2, #5020ff);
  /* Degradado más fuerte de azul a morado */
  -webkit-mask-image: linear-gradient(to right, #0066cc, #8a2be2, #5020ff);
  mask-image: linear-gradient(to right, #0066cc, #8a2be2, #5020ff);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  color: transparent;
  -webkit-background-clip: text;
  margin-top: 60px;
  font-size: 30px

}

#servicios{
  margin-top: 80px;
}

@media (min-widht: 764px){
  #servicios,
  #clientes{
    height: 100vh;
  }
}


@media (min-height:513px) and (max-height: 725px){
  #clientes{
    margin-bottom: 150px !important;
  }
}

@media (min-height:375px) and (max-height:513px) {
  #clientes{
    margin-bottom: 250px !important;
  }
}

@media  (max-height:375px) {
  #clientes{
    margin-bottom: 400px !important;
  }
}


.titulo-s02 {
  margin-bottom: 30px;
  color: rgb(0, 0, 0);
  font-size: 18px;
  font-weight: bold;
  word-break: break-word;
  /* Rompe las palabras largas para evitar desbordes */
  text-align: justify;
  /* Justifica el texto para un aspecto más ordenado */
}


.icono-servicio {
  margin-bottom: 20px;
  font-size: 34px;
  background: linear-gradient(to right, #007bff, #00bcd4, #0099ff); /* Degradado moderno en tonos azules */
  -webkit-mask-image: linear-gradient(to right, #007bff, #00bcd4, #0099ff);
  mask-image: linear-gradient(to right, #007bff, #00bcd4, #0099ff);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  color: transparent; /* Asegura que el color del icono venga del fondo */
  -webkit-background-clip: text;
}



.btn-modern {
  margin-top: 20px;
  font-size: 14px; /* Tamaño más pequeño */
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 10px;
  background: linear-gradient(to right, #007bff, #00bcd4); /* Azul moderno degradado */
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
}

.btn-modern:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 188, 212, 0.5); /* Sombra en tono azul */
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(50px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.card-servicios {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100%;
  padding: 20px;
  border-right: 1px solid #ddd;
  opacity: 0; 
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;

}
@media (max-width: 1200px) {
  .card-servicios {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100%;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1); 
    background-color: white; 
    background-image: url('https://img.freepik.com/vector-premium/fondo-abstracto-cuadrados_23-2148995948.jpg'); /* Patrón sutil */
    background-repeat: repeat; /* Hace que el patrón se repita */
    width: 96%;
    margin: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    border-radius: 8px; /* Bordes redondeados para más estilo */
  }
  .parrafo-g01{
    padding: 20px;
  }

}




.titulo-index{
  color: var(---color_primario_1) !important;
}






.post {
  border-bottom: 1px solid #ccc;
  margin: 4rem auto;
  padding-bottom: 4rem;
  position: relative;  
  width: 80%;
}

/* Add little circle in the middle after each post */
.post:after {
  content: "";
  display: block;

  /* The circle */
  width: 7px;
  height: 7px;
  background: #FFF;
  border: 1px solid #aaa;
  box-shadow: #ffffff3e 0 0 0 10px;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  
  position: absolute;
    bottom: -5px;
    left: 50%;
  margin-left: -5px;
}



@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.animacion-dedicatoria {
  opacity: 0; /* Inicialmente invisible */
  transform: translateY(20px); /* Empieza un poco más abajo */
  transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}




#ofrecemos-soporte {
  position: relative;        /* Para controlar el pseudo-elemento dentro */
  width: 100%;
  min-height: 400px;
  overflow: hidden;    
     
}

/* Usamos ::before para crear la "capa de pintura" que se irá expandiendo */
#ofrecemos-soporte::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;                  /* Se ancla al lado derecho */
  bottom: 0;
  width: 0;                  /* Inicia con 0 de ancho */
  
  /* Tu imagen de pintura */
  background-image: url('/assets/index/pintura5.png');
  background-size: 140% 140% !important;
  background-position-x: 0%;
  background-position-y: 30%;
  background-repeat: no-repeat;

  /* Animación en pasos para simular pinceladas */
  animation: trazoDePintura 3s steps(10) forwards;
}

/* Definimos la animación */
@keyframes trazoDePintura {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}





#ofrecemos-desarrollo {
  position: relative;        /* Para controlar el pseudo-elemento dentro */
  width: 100%;
  min-height: 400px;
  overflow: hidden;    
  transform: scaleX(-1);

}

/* Usamos ::before para crear la "capa de pintura" que se irá expandiendo */
#ofrecemos-desarrollo::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;                  /* Se ancla al lado derecho */
  bottom: 0;
  width: 0;                  /* Inicia con 0 de ancho */
  
  /* Tu imagen de pintura */
  background-image: url('/assets/index/pintura5.png');
  background-size: 140% 140% !important;
  background-position-x: 0%;
  background-position-y: 30%;
  background-repeat: no-repeat;

  /* Animación en pasos para simular pinceladas */
  animation: trazoDePintura 3s steps(10) forwards;
}

/* Definimos la animación */
@keyframes trazoDePintura {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}


#ofrecemos-soporte .titulo-index{
  color: #ffffff !important;
  margin-top: 160px;
  margin-left: 260px;
  z-index: 9999; /* Esto asegura que esté por encima de la imagen */
  position: relative;

}

#ofrecemos-soporte .btn-modern{
  margin-left: 950px;
  z-index: 9999; /* Esto asegura que esté por encima de la imagen */
  position: relative;
}


@keyframes bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-10px); }
  50%  { transform: translateY(0); }
  70%  { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

#palabra-rebote span {
  display: inline-block;
  animation: bounce 1s ease infinite;
  color: #ffe09e;
}
