* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

:root {
    --main-orange-color: rgb(225, 167, 0, 1);
    --second-orange-color: rgb(166, 133, 28, 1);
    --main-gray-color: #727176;
    --second-gray-color: #4a4a4a;
    --main-black-color: black;
  }

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

/*estilos generales*/
body{
    /*font-family: 'DIN Alternate', sans-serif;*/
    font-family: din-2014, sans-serif;
    color: var(--main-gray-color);
    font-size: 1.8rem;
    line-height: 2.4em;
    margin: 0;
}

h1{
    font-size: 5.2rem;
    line-height: 1.2em;
    margin-bottom: 10px;
}


h2{
    font-size: 2.4rem;
    line-height: 1.3em;
    font-weight: bolder;
    white-space: pre;
    text-align: left;
    color: black;
}

p {
    margin-bottom: 2.4rem;
    font-weight: 300;
}

main {
    padding-top: 8rem;
}

.resaltar{
    font-weight: bolder;
    color: var(--main-orange-color);
}

.container{
    width: 90%;
    max-width: 950px;
    margin: 0px auto 0px auto;
    overflow: hidden;
    padding: 95px 0px 20px 0px;
}

.container_logo{
    width: 90%;
    max-width: 950px;
    margin: 0 auto;
    overflow: hidden;
}

.container_logo img{
    width: 100%;
    margin-top: 10px;
}

/* Pop UP*/

.container-all{
    width: 100%;
    height: 100%;
    padding: 40px;
    visibility: hidden;
    opacity: 0;
    transition: all 600ms;
    position: fixed;
    color: black;
}


.container-all:target{
    visibility: visible;
    opacity: 1;
}

.container-all:target .popup{
    top: 50%;
    left: 50%;
    transform: rotate(0deg) translate(-50%, -50%);
    visibility: visible;
}


.popup{
    width: 100%;
    max-width: 600px;
    height: auto;
    position: fixed;
    display: flex;
    background: white;
    visibility: hidden;
    top: -80%;
    left: -80%;
    transform: rotate(90deg) translate(-150%, 230%);
    transition: all 600ms;

    border-radius: 0px 130px 0px 130px;
    box-shadow: 10px 5px 10px rgba(0, 0, 0, 0.2);
}


.container-text{
    width: 100%;
    padding: 50px;
    overflow-y: auto;
}


.container-text h1{
    font-size: 30px;
    border-bottom: 5px solid var(--main-orange-color); 
    padding-bottom: 5px;
}

.container-text p{
    margin-top: 20px;
    font-size: 1.6rem;
    line-height: 1.4;
    text-align: justify; /* Justificar el texto */

}

.container-text ul{
    padding: 0 0 0 20%;
    line-height: 1.2;
}


.btn-close-popup{
    width: 50px;
    height: 50px;
    position: absolute;
    right: -20px;
    top: 0px;
    padding: 20px;
    background: black;
    color: white;
    border-radius: 50%;
    line-height: 10px;
}


/*header fijo*/
.header{
    background: var(--main-black-color);
    color: white;
    padding: 1rem 0;

    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 100;
}

    .header a {
        color: black;
        text-decoration: none; 
    }

.logo-nav-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.navigation ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

    .navigation ul li{
        display: inline-block;
    }

    .navigation ul li a{
        display: block;
        transition: all 0.6s linear;
        background-color: white; /*fondo botón*/
        border-radius: 20px;
        padding: 5px 10px;
        margin: 0px;
        font-size: 1.4rem;
        line-height: 2.2rem;
    }

    .navigation ul li a:hover{
        background: var(--second-gray-color);
    }

.menu-icon{
    display: none;
}

/*Slider Manual con JS*/

/*.slider_contenedor{
    width: 100%;
    position: relative;
    overflow: hidden;
}*/

.container-slider{
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.slider{
    display: flex;
    width: 400%;
    height: auto;
    margin-left: -100%;
}

.slider__section{
    width: 100%;
}

.slider__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider__btn {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255,0.7);
    top: 30%;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
}

.slider__btn {
    background: white;
}
.slider__btn--left {
    left: 10px;
}
.slider__btn--right {
    right: 10px;
}


/* efecto de ola*/
.ola-wave{
    height: 150px; 
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: -135px;
    bottom: 0;
    left: 0;
}

.ola-wave svg{
    height: 100%; 
    width: 100%;
}

.ola-wave svg path{
    stroke: none; 
    fill: white;

}

/*Generales*/
.titulo{
    text-align: left;
}

/* Cards / Tarjetas */
.cards_contenedor{
    background-color: var(--main-orange-color);
    color: white;

}

.cards_clientes{
    background-color: white;
    color: var(--main-orange-color);

}

.content_cards{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.card{
    width: 30%;
    color: white;
    transform: scale(1);
    transition: transform 0.6s;
    padding-bottom: 20px;

}

.card i{
    margin: 20px 0 20px 0;
    font-size: 8.0rem;
}

.card p{
    line-height: 1.8;
}

.cards_clientes img{
    width: 80%;
    object-fit: cover;
    margin-bottom: 20px;
    display: inline;
    cursor: pointer;

}

/*estilo especial para que se vea el interlineado */

.card p.especial14 {
    line-height: 1.6;
}

.card p.especial12 {
    line-height: 1.4;
}

.card a{
    padding: 10px 15px 10px 15px;
    border: solid 1px white;
    text-decoration: none;
    color: white;
    transition: all 0.6s linear;
}

.card a:hover{
    padding: 10px 15px 10px 15px;
    border: solid 1px white;
    text-decoration: none;
    color: var(--main-orange-color);
    background-color: white;
}


/* Casos de éxito */


.contenedor-exito{

    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    overflow: hidden;
}

.exito-contenedor img{
    width: 30%;
    object-fit: cover;
    margin-bottom: 20px;
    display: inline;
    cursor: pointer;

}

/* Galeria */
.galeria{
    background: black;  
}

.galeria_colaboradores{
    background: var(--main-orange-color);  
}

.galeria-contenedor{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centra los elementos horizontalmente */
    align-items: flex-start;
    gap: 40px;
    overflow: hidden;
    color: white;
}



.galeria-contenedor article{
    width: 30%;
    text-align: center;
    padding: 10px 0px 10px 0px;
}


.galeria-contenedor p{
    line-height: 1.8;
}

.galeria-contenedor h2{
    color: white; 
    text-align: center; 
    border-bottom: 5px solid var(--main-orange-color); 
    padding-bottom: 5px;
}


.galeria-contenedor h3{
    font-size: 2.0rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.galeria-contenedor img{
    width: 70%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    display: block;
    box-shadow: 0 0 3px 0;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid white;
    transition: all 0.2s linear; 
}

.galeria-contenedor img:hover{
    outline: 8px solid white;
}

.galeria-contenedor a{
    color: white;
    text-decoration: none;
}

.galeria-contenedor ul{
    line-height: 1.4;
    font-size: 1.6rem;
    list-style: none;
}

.galeria-contenedor ul li::before {
    content: "\2022";
    color: var(--main-orange-color);
    font-weight: bold;
    font-size: 20px;
    display: inline-block; 
    width: 1.4rem;
    margin-left: -1em;
  }


.oscura{
    color: white;
}

/* Mapa */

.contenedor-mapa{
    width: 100%;
    display: flex;
    overflow: hidden;
}

.galeria-contenedor iframe{
    width: 100%;
}

/*Formulario*/
.contacto {
    background: var(--main-orange-color);
    color: white;
}

.contacto p{
    line-height: 1.2;
}

.contacto-contenedor {
    background: var(--main-orange-color);
    color: white;
    display: flex;
    flex-wrap: wrap;

}

.contacto .contenedor-izquierdo{
    width: 35%;
    align-items: center;
    padding-right: 10px;

}

.contacto .contenedor-izquierdo a{
    text-decoration: none;
    color: white; 
    font-weight: bolder;
    padding-top: -30px;
}

.contacto .contenedor-izquierdo a img{
    width: 7%;
   
}

.contacto .contenedor-izquierdo p{
    margin-bottom: -2px;
}

.contacto .contenedor-izquierdo h3{
    margin-bottom: -10px;
}

.contacto .contenedor-izquierdo h4{
    margin-bottom: -10px;
}

.contacto .contenedor-derecho{
    width: 65%;
}

.form{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

input, textarea{
    background: transparent;
    border: 0;
    color: white;
    outline: none;
    border-bottom: 1px solid white;
    padding: 20px 10px;
    font-size: 16px;
}

input::placeholder, textarea::placeholder{
    color: white;
    font-family: 'DIN Alternate', sans-serif;
}

input[type="text"], input[type="email"]{
    display: inline-block;
    width: 49%;
    margin-bottom: 30px;
}

input[type="email"]{
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
}

input[type="submit"]{
    width: 120px;
    text-align: center;
    padding: 14px 0;
    background-color: black;
    border-radius: 20px;
    border: solid 1.0 black;
    float: right;
    transition: all 0.6s linear;
}

input[type="submit"]:hover{
    background-color: white;
    color: var(--main-gray-color);
    cursor: pointer;

}

textarea{
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;

}

/* Textos somos*/
.somos_textos{
    margin-bottom: 10px;
}

.descripcion p{
    text-align: left;
    line-height: 1.6;
    color: black;
}

.descripcion ul {
    padding: 0; /* Quitar el padding de la lista */
    margin-left: 20px; /* Añadir margen a la izquierda para el alineamiento */
}

.descripcion ul li{
    /*padding: 0 8% 0 8%;*/
    text-align: left;
    line-height: 1.6;
    color: black;
    text-align: justify;
}

.descripcion h2{
    margin-top: 10px;
    color: black;
}

.descripcion h1{
    color: black;
}

/*parallax*/
.parallax{
    background: white fixed no-repeat 50% 50%;
}


#seccion_especial{
    background-image: url('../img/fondo_parallax.jpg');
    background-size: cover;
      /* Preserve aspect ratio */
  min-width: 100%;
  min-height: 100%;
}

.parallax img {
    display: flex;
    margin: 0px auto;
    max-width: 80%;
    align-items: center;
    justify-content: center;
}

.pleca{
    width: 90%;
    max-width: 800px;
    background-color: rgb(225, 169, 0, 0.8);
    padding: 80px;
    border-radius: 130px 0px 130px 0px;
    color: white;
    position: absolute;
    z-index: 90;
    float: left;
    box-shadow: 10px 5px 10px rgba(0, 0, 0, 0.2);
}
.pleca_2{
    width: 90%;
    max-width: 400px;
    min-height: 375px;
    background-color: rgb(255, 255, 255, 1);
    padding: 80px;
    border-radius: 130px 0px 130px 0px;
    color:  white;
    position: relative;
    float: right;
}



/*efecto texto*/
.Iam {
    padding: 3rem 5rem;
    color: #999;
    font-size: 32px;
  }
  .Iam p {
    height: 50px;
    float: left;
    margin-right: 0.3em;
    font-weight: 700;
  }
  .Iam b {
    float: left;
    overflow: hidden;
    position: relative;
    height: 40px;
    top: 0px;
    font-weight: bolder;
  }
  .Iam .innerIam {
    display: inline-block;
    color: var(--main-orange-color);
    position: relative;
    white-space: nowrap;
    top: 0;
    left: 0;
  
  
  /*animation*/
  -webkit-animation:move 5s;
     -moz-animation:move 5s;
      -ms-animation:move 5s;
       -o-animation:move 5s;
          animation:move 5s;
  /*animation-iteration-count*/
  -webkit-animation-iteration-count:infinite;
     -moz-animation-iteration-count:infinite;
      -ms-animation-iteration-count:infinite;
       -o-animation-iteration-count:infinite;
          animation-iteration-count:infinite;
  /*animation-delay*/
  -webkit-animation-delay:1s;
     -moz-animation-delay:1s;
      -ms-animation-delay:1s;
       -o-animation-delay:1s;
          animation-delay:1s;
  }
  @keyframes move{
    0%  { top: 0px; }
    16% { top: -45px; }
    33% { top: -90px; }
    49% { top: -135px; }
    66% { top: -180px; }
    83% { top: -225px; }
  }
  
  @-webkit-keyframes move {
    0%  { top: 0px; }
    16% { top: -45px; }
    33% { top: -90px; }
    49% { top: -135px; }
    66% { top: -180px; }
    83% { top: -225px; }
  }
  @-moz-keyframes move {
    0%  { top: 0px; }
    16% { top: -45px; }
    33% { top: -90px; }
    49% { top: -135px; }
    66% { top: -180px; }
    83% { top: -225px; }
  }
  @-o-keyframes move {
    0%  { top: 0px; }
    16% { top: -45px; }
    33% { top: -90px; }
    49% { top: -135px; }
    66% { top: -180px; }
    83% { top: -225px; }
  }
  @keyframes move {
    0%  { top: 0px; }
    16% { top: -45px; }
    33% { top: -90px; }
    49% { top: -135px; }
    66% { top: -180px; }
    83% { top: -225px; }
  }

/* Footer nuevo */
.footer{
    background: white;
}

.footer-contenedor{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    overflow: hidden;
    color: black;
}

.footer-contenedor .caja__footer{
    width: 45%;
    text-align: center;
    padding: 10px 10px 10px 10px;
    display: flex;
    flex-direction: row;
    margin-top: -6.4rem;
    align-items: center;

}

.footer-contenedor p{
    line-height: 2.4;
    padding: 5px;
}


.footer-contenedor h3{
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.footer-contenedor a{
    color: black;
    text-decoration: none;
    line-height: 2.4;

}

.caja__footer img{
    max-width: 40px;
    display: flex;
    flex-direction: row;
    padding: 5px;
}

.footer-contenedor .empresa{
    margin-top: 30px;
}

/* Barras de progreso */
.container-progressbar {
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, var(--main-orange-color) 50%, white 50%);
    overflow-x: hidden;
}

.progressbar{
    width: 0%;
    background: black;
    height: 100%;
    border-radius: 0 15px 15px 0;

}

.container-progressbar2 {
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, white 50%, black 50%);
    overflow-x: hidden;
}

.progressbar2{
    width: 0%;
    background: var(--main-orange-color);
    height: 100%;
    border-radius: 0 15px 15px 0;

}

.container-progressbar3 {
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, white 50%, rgb(0,0,0,0.1) 50%);
    overflow-x: hidden;
}

.progressbar3{
    width: 0%;
    background: var(--second-gray-color);
    height: 100%;
    border-radius: 0 15px 15px 0;

}

.container-progressbar4{
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, var(--main-orange-color) 50%, white 50%);
    overflow-x: hidden;
}

.progressbar4{
    width: 0%;
    background: black;
    height: 100%;
    border-radius: 0 15px 15px 0;

}

.container-progressbarA {
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, white 50%, rgb(0,0,0,0.1) 50%);
    overflow-x: hidden;
}

.progressbarA{
    width: 0%;
    background: var(--main-orange-color);
    height: 100%;
    border-radius: 0 15px 15px 0;

}

.container-progressbarB {
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, rgb(0,0,0,0.1) 50%, var(--main-orange-color) 50%);
    overflow-x: hidden;
}

.progressbarB{
    width: 0%;
    background: black;
    height: 100%;
    border-radius: 0 15px 15px 0;

}

.container-progressbarC {
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, rgb(0,0,0,0.1) 50%, var(--main-orange-color) 50%);
    overflow-x: hidden;
}

.progressbarC{
    width: 0%;
    background: var(--main-gray-color);
    height: 100%;
    border-radius: 0 15px 15px 0;

}

.container-progressbar5 {
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, black 50%, var(--main-orange-color) 50%);
    overflow-x: hidden;
}

.progressbar5{
    width: 0%;
    background: var(--main-gray-color);
    height: 100%;
    border-radius: 0 15px 15px 0;

}

.container-progressbar6 {
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, var(--main-orange-color) 50%, white 50%);
    overflow-x: hidden;
}

.progressbar6{
    width: 0%;
    background: black;
    height: 100%;
    border-radius: 0 15px 15px 0;

}

/* Estilos del carrusel */

.contenedor-exito .slider-pub{
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap; /* Permite que las tarjetas se envuelvan a la siguiente fila */
    justify-content: space-between; /* Espaciado entre las tarjetas */
  }
.contenedor-exito .slider-pub .card-pub{
    flex: 1 1 calc(33.33% - 20px); /*permite solo 3 elementos máximo*/
    margin: 0 10px 10px 10px;
    background: var(--main-orange-color);
    border-radius: 0 100px 0 100px;
    /*max-width: 300px; el tamaño máximo para que en caso de que haya 2 elementos, no se estirén de más*/
  }
  .contenedor-exito .slider-pub .card-pub .img{
    height: 200px;
    width: 100%;
  }
  .contenedor-exito .slider-pub .card-pub .img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0 100px 0 0;
    border: solid 2px var(--main-orange-color);
  }
  .contenedor-exito .slider-pub .card-pub .content{
    padding: 10px 20px;
  }
  .card-pub .content .title{
    font-size: 25px;
    font-weight: 600;
    color: black;
  }
  .card-pub .content .sub-title{
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    color: white;

  }
  .card-pub .content p{
    text-align: justify;
    line-height: 100%;
    margin: 10px 0;
    color: white;
    line-height: 20px;
  }
  .card-pub .content .btn{
    display: block;
    text-align: left;
    margin: 10px 0;
  }
  .card-pub .content .btn button{
    background: var(--main-black-color);
    color: #fff;
    border: none;
    outline: none;
    font-size: 17px;
    padding: 5px 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s;
  }
  .card-pub .content .btn button:hover{
    transform: scale(0.9);
  }
  



/* Responsive 767px */
@media only screen and (max-width: 767px){

    main {
        padding-top: 8rem;
    }

.ola-wave, .textos{
    display: none;
}

/*Generales*/
.titulo{
    font-size: 50px;
    text-align: center;
}

h2{
    white-space: normal;
    text-align: center;
}

/* Estilos temporales*/
.cards_contenedor{
    background-color: var(--main-orange-color);
    color: white;
    margin-top: -15px;
    padding-top: 20px;

}

.container_logo img{
    width: 100%;
    margin-top: 10px;
}

/*Menú responsive*/
.navigation{
    width: 100%;
    margin-top: 1rem;
}
    .navigation ul{
        display: none;
    }

    .navigation ul.show{
        display: block;
    }

    .navigation ul li{
        display: block;
    }

    .navigation ul li a{
        display: block;
        padding: 0.5rem 0;
        transition: all 0.6s linear;
        background: black;
        color: white;
        padding: 5px 0px;
        margin: 0 5px;
    }

    .navigation ul li a:hover{
        background: var(--second-gray-color);
        border-radius: 0;
    }

.menu-icon{
    display: block;
    cursor: pointer;
    padding: 0.5rem 1rem;
}


/*Cards*/
.card{
    width: 90%;
    align-items: center;
    text-align: center;
}

/* Galería */
.galeria-contenedor article{
    width: 90%;
}

/*Casos de éxito*/
.exito-contenedor img{
    width: 48%;

}

/*Contacto*/
.contacto .contenedor-izquierdo{
    width: 98%;

}

.contacto .contenedor-derecho{
    width: 98%;
}

/*Slider*/
.slider_contenedor{
    width: 100%;
    position: relative;
    overflow: hidden;
    align-items: center;
}

/*Animacion somos*/

.Iam {
    padding: 1rem 1rem 5rem 1rem;
    color: #999;
    font-size: 32px;
  }

.Iam b {
    float: left;
    overflow: hidden;
    position: relative;
    height: 40px;
    top: -10px;
  }



/*Footer */
.footer .container{
    padding: 45px 0px 40px 0px;
    display: inline-block;
}

.footer-contenedor .caja__footer{
    width: 90%;
    text-align: center;
    padding: 10px 0px 10px 0px;
    display: flex;
    flex-direction: column;
    margin-top: 1.4rem;
}

.footer-contenedor .empresa{
    margin-top: 10px;
    text-align: center;
    width: 100%;
}

.pleca{
    width: 100%;
    position: relative;
    margin: auto;
    box-shadow: none;
    float: none;
    padding: 30px 20px 30px 20px;
    line-height: 1.4;
    border-radius: 20px 0px 20px 0px;
}
.pleca_2{
    display: none;
}


.contenedor-mapa{
    width: 100%;
    display: flex;
    overflow: hidden;
}

.galeria-contenedor iframe{
    width: 100%;
}

.contenedor-exito .slider-pub{
    max-width: 1100px;
    display: block;
  }


}



/* Responsive 960px */
@media only screen and (max-width: 960px){

    .navigation ul li a{
        display: block;
        border-radius: 20px;
        padding: 4px;
        margin: 0px;
        font-size: 1.4rem;
    }

    .slider_contenedor{
        margin-bottom: -20px;
    }


    .ola-wave, .textos{
        display: none;
    }

    .pleca{
        width: 80%;
        max-width: 700px;
    }
    .pleca_2{
        width: 80%;
        max-width: 400px;
        min-height: 420px;
    }

    
    .contenedor-mapa{
        width: 100%;
        display: flex;
        overflow: hidden;
    }
    
    .galeria-contenedor iframe{
        width: 100%;
    }

    /*Pop UP*/
    .popup{
        flex-direction: column;
        height: auto;
        padding: 0 10px 0 10px;
    }
    
    .container-text{
        width: 100%;
        height: 60%;
        padding: 30px;
    }

    /*Parallax*/
    .parallax img {

        max-width: 95%;
    }

    .contenedor-exito .slider-pub{
        max-width: 1100px;
        display: block;
      }

}


