@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


.header{
    position: fixed;
    width: 100%;
    z-index: 9999;
    background-color: rgba(21, 34, 54, 0); /* Fondo transparente por defecto */
    transition: background-color 0.3s ease; /* Para suavizar el cambio */
}

body{
    font-family: 'montserrat', serif;
}

h1{
    font-weight: 700;
    font-size: 3em;
}
  
h2 {
    font-weight: 400;
    font-size: 3em;
}
  
h3{
    font-weight: 300;
    font-size: 2em;
}

h4{
    font-weight: 300;
    font-size: 1.5em;
    margin: 0px 0px 0px 0px;
}

p{
    font-weight: 500;
    font-size: 1.3em;
}

.seccion{
    text-align: center;
}

.color1{
    background-color: #dddddd;
    color: #8a1b20 !important;
}

.color2{
    background-color: #152236;
    color: #ffffff !important;
}

.color3{
    background-color: #8a1b20;
    color: #e2eaf3;
}

.color4{
    background-color: #8a1b20;
    color: #222222;
}

.color5{
    background-color: #fff7d6;
    color: #152236;
}

.color6{
    background-color: #fff7d6;
    color: #222222;
}

.color7{
    background-color: #e2eaf3;
    color: #152236;
}

.color8{
    background-color: #e2eaf3;
    color: #222222;
}

.color9{
    background-color: #ffffff;
    color: #e2eaf3;
}

.azul{
    color: #222222 !important;
}

.amarillo{
    color: #8a1b20 !important;
}

.gris{
    color: #e2eaf3;
}

.cornsilk{
    color: #fff7d6  !important;
}

.fondoclaro{
    background-image: url('media/foto/fondo-claro.jpg'); /* Reemplaza con tu imagen */
}


.fondopared{
    background-image: url('media/fondoparedv.jpg'); /* Reemplaza con tu imagen */
}

/* paralax en seccion */
.parallax {
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
}  
/* paralax en seccion */

.seccion-privacy{
    background-color: #dddddd;
    line-height: 2.5em;
}

a{
    color: #ffffff;
    text-decoration: none;
}

a:hover{
    color:#333333;
    text-decoration: underline;
}

.boton{
    font-weight: bold;
    border-radius: 20px;
    font-size: 23px;
    border: none;
    cursor: pointer;
    transition:background-color 0.3s ease, color 0.3s ease;
    padding: 1em;
    margin: auto;
}

.boton:hover{
    background-color: #444444;
    color: #eeeeee;
    text-decoration: none;
}

.button-container{
    display: flex;
}

.imagen{
    border-radius: 30px;
}

.logo-superior{
    height: 4em;
}

.texto-costos{
    list-style-type: none;
    padding-left: 0px;
    text-align: center;
}

.divider{
    margin: 0px;
}

.carousel{
    height: 50vh;
} 



.grid-testimonios{
    text-align: left;   
}


.texto-testimonio-long{
   line-height: 1.3em;
   text-align: left;
}

.texto-testimonio-short{
    font-size: 1.4em;
    line-height: 1.4em;
    text-align: left;
}

.boton-wa{
    position: fixed;
    bottom: 1.5em;
    right: 1em;
    z-index: 9999;
    width: 4em;
}

.socialmedia{
    text-align: center;
}

.iconos{
    width: 2em;

}

.logo-footer{
    height: 3em;
}
.icono-footer{
    text-align: center;
}

footer a {
  color: #8a1b20;
}

#glass {
  overflow: hidden;
  background-color: #11111199;
  color: #ffffff;
  text-align: center;
  width: 100%;
  aspect-ratio: 16/8;
  position: fixed;
}
  

.video-background {
    position: relative;
    width: 100%;
    aspect-ratio: 16/8;
    background-color: #152236;
  }


.video-background iframe {
    width: 100%;
    pointer-events: none; /* Evita interacción con el video */
    aspect-ratio: 16/9;
    position: absolute;
    filter: blur(5px);
}

#bannertest{
    background-color: #152236;
    z-index: -1;
    position: relative;

}

.swiper-container{
    overflow: hidden;
    height: 100%;
}

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

.fade-in {
    opacity: 0; /* Empieza invisible */
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

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

.message {
    background-color: #ededed;
    color: #152236;
    font-size: 1rem;
    width: 200px;
    height: 130px;
    display: flex;
    text-align: center;
    align-items: center;
    border-radius: 25px;
    box-shadow: 5px 5px 5px #152236;
    position: fixed;
    right: 40px;
    bottom: 60px;
    z-index: 9998;
    border: 3px solid #152236;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}


.contenedor-imagen {
    position: relative;
    display: inline-block;
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
}

.servicio {
    position: relative;
    transition: transform 0.3s ease-in-out,background-image 0.3s ease-in-out,filter 0.3s ease-in-out;
    width: 100%;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0px;
}

.servicio:hover {
    transform: scale(1.05);
    filter: saturate(150%);
}

.texto_servicio {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffe159;
    font-size: 35px;
    font-weight: 300;
    padding: 10px 20px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    text-align: center;
    width: 100%;
    pointer-events: none; /* Evita que el texto bloquee el hover */
}

.contenedor-imagen:hover .texto_servicio {
    opacity: 1;
}

.audiovisual {
    background-image: url('media/audiovisual.jpg');
}

.producto {
    background-image: url('media/product.jpg');
}

.servicioredes {
    background-image: url('media/socialmedia.jpg');
}

.webdesign {
    background-image: url('media/webdesign.jpg');
}

.audiovisual:hover {
    background-image: url('media/audiovisual-hover.jpg');
}

.producto:hover {
    background-image: url('media/product-hover.jpg');
}

.servicioredes:hover {
    background-image: url('media/socialmedia-hover.jpg');
}

.webdesign:hover {
    background-image: url('media/webdesign-hover.jpg');
}

.video-container {
    position: relative;
    width: 300px; /* Ajusta según tu necesidad */
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 30px;
    transition: transform 0.3s ease-in-out;
    box-shadow: 5px 5px 6px #15223690;
}

.video-thumbnail{
    filter: grayscale(100%);
}

.video-thumbnail,
.video-hover {
    opacity: 1;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease-in-out;
}

.video-hover {
    opacity: 0; /* Ocultar video al inicio */
    pointer-events: none; /* Evitar que el video interrumpa el hover */
}

.video-container:hover{
    transform: scale(1.05);
}

.video-container:hover .video-hover {
    opacity: 1; /* Mostrar el video en hover */
}

.video-container:hover .video-thumbnail {
    opacity: 0; /* Ocultar la miniatura en hover */
}

.texto-video{
    color: #152236;
    margin-top: 1.5rem;
    transition: color 0.3s ease-in-out;
    font-weight: 700;
}

.video-container:hover + .texto-video {
    color: #ffe159; /* Cambiar el color del texto al hacer hover */
}

.serviciofoto{
    height: 500px;
}

/* inicia scrollx */

html.lenis {
    height: auto;
  }
  
  .lenis.lenis-smooth {
    scroll-behavior: auto;
  }
  .lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
  }
  .lenis.lenis-scrolling iframe {
    pointer-events: none;
  }
  .lenis.lenis-stopped {
    overflow: hidden;
  }
  
  .section {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 120px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
  }

  .section.four {
    background-image: url(media/foto/fondo.png);
    z-index: 4;
    background-size: cover;
    background-position: left; /* Inicia centrado */
    background-repeat: no-repeat;
    

  }
  .section.four * {
    color: #0A0A0A;
  }
  .section.four.section_to-pin {
    height: 50vh;
    left: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
  }
  .section.four.section_to-pin .section_pin {
    height: 50vh;
    padding: 120px 12vw 23px 12vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  .section.four.section_to-pin .section_pin .content_wrapper {
    text-align: left;
    min-width: 777px;
    padding: 0vw 0vw 0vw 0vw;
  }
  .section.four.section_to-pin .section_pin .image_wrapper {
    min-width: 60vw;
    padding: 0vw 6vw 0vw 6vw;
    position: relative;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.51, 0.18, 0, 0.88);
  }
  .section.four.section_to-pin .section_pin .image_wrapper .image {
    width: 100%;
    height: auto;
    max-height: 90vh; /* Ajusta según necesidad */
    object-fit: cover;
    object-position: center;
  }
  .section.four.section_to-pin .section_pin .image_wrapper.active {
    opacity: 1;
  }

  .section .grid-container {
    width: 100%;
  }

  

  @media screen and (max-width: 576px) {
    #section_to-pin,
    #pin-spacer {
      display: none;
    }
  }

/* termina scrollx */

.about {
    height: 400vh;
    display: flex;
  }
  
  .about-title {
    padding: 0 70px 0 140px;
    width: 50%;
    height: 100vh;
    display: flex;
    justify-content: left;
    align-items: center;
    font-size: 21px;
    margin: 0 !important;
    text-align: left;
  }
    
  .about-pages {
    padding-right: 6%;
    width: 50%;
    margin-top: 40%;
  }
  
  .about-pages div {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #8a1b20;
  }

  .about-pages div>h1 {
   font-size: 51px;
  }

  
  .about-pages div>p {
    width: 80%;
    font-size: 32px;
    line-height: 47px;
    padding: 0 50px 0 50px;
    color: #152236;
  }

  .highlight-todo, .highlight-crecer {
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#seccion-video .row > div,
#seccion-video .row > h1 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#seccion-video .row > div.visible,
#seccion-video .row > h1.visible {
    opacity: 1;
    transform: translateY(0);
}

#seccion-video {
    position: relative;
    height: 100vh;
    overflow: hidden; /* Evita que el pseudo-elemento sobresalga */
}

#seccion-video::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(media/video/fondo11.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(0px); /* Sin desenfoque al inicio */
    transform: scale(1.13); /* Sin escala al inicio */
    transition: filter 1s ease-in-out, transform 1s ease-in-out; /* Transiciones suaves */
}

#seccion-video.blurred::before {
    filter: blur(10px);
    transform: scale(1.04); /* Aumenta el tamaño con el desenfoque */
}


#disciplinas {
  display: block;
  position: relative;
}

#disciplinas .row {
  background-image: url(media/fondos/Azul.jpg);
}

.tarjeta1 {
    background-color: #737373;
    color: #ffffff;
}

.tarjeta2  {
    background-color: #5d1616;
    color: #ffffff;
}

.tarjeta3  {
    background-color: #737373;
    color: #ffffff;
}

.tarjeta4  {
    background-color: #ea3572;
    color: #84002c;
}

.tarjeta5  {
    background-color: #ed3739;
    color: #ffabad;
}

.tarjeta6  {
    background-color: #f17a36;
    color: #953700;
}

.tarjeta7 {
    background-color: #fcc630;
    color: #654a00;
}


#areas h2 {
  font-size: clamp(2rem, 5vw, 4rem); 
  margin-bottom: 2rem; /* Espacio debajo del título */
}

.disciplinas p {
  font-size: xx-large;
  margin-bottom: 2rem; /* Espacio debajo del título */
}

.disciplinas img {
border-radius: 30px;
}


/* #region Swiper Styling */
#areas {
  height: 100%;
  position: relative;
  top: 0;
  width: 100%;
  padding: 20px;
  display: flex;
}

.tarjeta0{
    background-color: #171717;
    color: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.swiper {
  padding-bottom: 40px;
}

.swiper-slide {
  width: auto;
  min-height: 50vh;
  border-radius: 30px;
  padding: 20px;
}

/* Estilos opcionales para flechas */
.swiper-button-prev,
.swiper-button-next {
  color: #ffffff;
}
/* #endregion */


#que-hacemos {
  min-height: 150vh; /* más alto para dar tiempo */
  display:block ;
}

.que-hacemos .glass {
height: 100vh;
width: 100%;
}

.que-hacemos .container {
height: 100vh;
display: flex;
}


.que-hacemos h2 span {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px); /* aparece desde abajo */
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: pre;
}

.que-hacemos .parallax-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url(media/taza/Foto11.JPG);
  background-size: cover;
  background-position: top;
  background-attachment: fixed;
  z-index: -1;
  transform: scale(1.2);      /* estado inicial */
  transform-origin: top center;
  filter: blur(0px);
}

#hero {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

#que-hacemos {
  min-height: 150vh; /* más alto para dar tiempo */
  display:block ;
}

.que-hacemos .glass {
height: 100vh;
width: 100%;
}

.que-hacemos .container {
height: 100vh;
display: flex;
}

.sticky-card {
    position: sticky;
    top: 0;
    min-height: 100vh;
    z-index: 2; /* Asegura que el sticky esté por encima del fondo */
    background-color: #ececec; /* Fondo para la sección sticky */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

.video-background iframe {
  pointer-events: none;
}