/*
Theme Name: DDT Chile
Author: SA Publicidad
Author URI: https://www.sapublicidad.cl/
Description: Este diseño ha sido creado por SA Publicidad de manera exclusiva para usted.
Version: 1.0
License: Privada
Tags: minimalista, responsive, modern, full width

Este tema tiene una licencia privada y el uso de esta es exclusiva de SA Publicidad.
*/


*{
    font-family: "Red Hat Display", sans-serif;
    padding: 0;
    margin:0;
}

.wrap{
    width: 90%;
    max-width: 1200px;
    margin:auto;
}

:root{
    --color: #06506B;
    --color2: #21BFBF;
}

::selection{
    background-color: var(--color);
    color: #ffffff;
}

/* header */
header{
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: var(--color);
    transition: all .3s ease;
}

header.stick{
    position: fixed;
    transform: translateY(-100%);
}

header.show{
    transform: translateY(0);
    box-shadow: 0 5px 30px rgba(0,0,0,.1);
}

@media(max-width:800px){
    header, 
    header.stick,
    header.show{
        position: fixed !important;
        transform: translateY(0) !important;
        box-shadow: none !important;
    }
}

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

header .wrap .logo{
    width: 200px;
    transition: all .3s ease;
}

header.stick .logo{
    width: 130px;
}

header .wrap .logo img{
    width: 100%;
    margin:0 0 -5px 0;
}


#btn-nav{
    display: none;
}

@media(max-width:800px){
    header{
        position: relative;
    }
    header label{
		position: absolute;
		display: block;
		width: 45px;
		height: 45px;
		top:50%;
        transform: translateY(-50%);
		right: 35px;
		border-radius: 3px;
		cursor: pointer;
		outline: none;
		border-radius: 5px;

	}

	header label span{
		width: 50%;
		height: 3px;
		background: var(--color2);
		border-radius: 5px;
		display: block;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		transition: all .3s ease;
	}

	header label span:nth-child(1){
		top:14px;
	}

	header label span:nth-child(2){
		bottom:14px;
	}

	#btn-nav:checked ~ label span:nth-child(1){
		transform: translateX(-50%) rotate(-45deg);
		top:21px;
	}

	#btn-nav:checked ~ label span:nth-child(2){
		transform: translateX(-50%) rotate(45deg);
		top:21px;
	}
}


header nav{
    width: 80%;
}

header nav ul{
    display: flex;
    justify-content: right;
    gap:3%;
    list-style-type: none;
}

header nav ul li a{
    display: block;
    text-decoration: none;
    color: #ffffff;
    font-size: 17px;
    line-height: 45px;
    position: relative;
}

header nav ul li a:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color2);
    left: 0;
    bottom: -2px;
    transform: rotateY(90deg);
    transition: all .3s ease;
    opacity: 0;
}

header nav ul li:hover a:after{
    transform: rotateY(0);
    opacity: 1;
}

header nav ul li:last-child a{
    background-color: var(--color2);
    padding: 0 20px;
    text-align: center;
    border-radius: 50px;
    font-weight: 700;
    color: var(--color);
}


header nav ul li:last-child a:after{
    display: none;
}



@media(max-width:800px){
    header nav{
        width: 60%;
        position: absolute;
        background: var(--color);
        z-index: 999;
        left: 0;
        top:0;
        margin:0 0 0 0;
        transform: translateY(-50%);
        opacity: 0;
        pointer-events: none;
        transition: all .3s ease;
    }
    
    #btn-nav:checked ~  nav{
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }
    
    header .wrap nav ul{
        display: block;
    }
    
    header .wrap nav ul li a{
        line-height: 50px;
        padding: 0 10px;
    }
    
    header nav ul li ul{
        position: static;
        width: 100%;
        transform: translateY(0);
        max-height: 0px;
        overflow: hidden;
    }
    
    header nav ul li:hover ul{
        max-height: 400px;
    }

    header nav ul li:last-child a{
        border-radius: 0;
    }
}
/* slider */
.slider{
    position: relative;
}
.slider .single{
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #212121;
}

.slider .single img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top:0;
    left: 0;
    opacity: .7;
}

.slider .single .single-content{
    position:relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 50px 0 0 0;
    box-shadow: inset 0 0 100px 100px rgba(0, 0, 0, 0.5);
}

.slider .single .single-content .wrap{
    max-width: 900px;
    color: #ffffff;
}

.slider .single .single-content h2{
    font-size: 4em;
    font-weight: 900;
}

.slider .single .single-content p{
    font-size: 1.4em;
    font-weight: 400;
    padding: 0 0 0 100px;
    position: relative;
}

.slider .single .single-content p:before{
    content: "";
    position: absolute;
    left: 0;
    top:50%;
    transform: translateY(-50%);
    width: 80px;
    height:2px;
    background-color: #ffffff;
}

@media(max-width:800px){
    .slider .single .single-content h2{
        font-size: 40px;
        text-align: center;
    }
    .slider .single .single-content p{
        font-size: 16px;
        padding:0 0 0 0;
        text-align: center;
    }

    .slider .single .single-content p:before{
        display: none;
    }
}

.slider .slidesjs-previous,
.slider .slidesjs-next{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    z-index: 10;
    font-size: 30px;
    text-decoration: none;
    color: #ffffff;
    margin:60px 0 0 0;
    opacity: .4;
    transition: all .3s ease;
}

.slider .slidesjs-previous:hover,
.slider .slidesjs-next:hover{
    opacity: 1;
}

.slider .slidesjs-previous{
    left: 5%;
}

.slider .slidesjs-next{
    right: 5%;
}

@media (max-width: 768px) {
    .slider .slidesjs-previous,
    .slider .slidesjs-next{
        display: none;
    }

    .slidesjs-container, 
    .slidesjs-control {
      width: 100% !important;
      height: 70vh !important;
    }
    .slidesjs-slide {
      height: 70vh !important;
    }
  }


/* wellcome */
.wellcome{
    padding: 80px 0;
}

.wellcome .wrap{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap:4%
}

.wellcome .wrap article{
    width: 48%;
}



.wellcome .wrap article img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    min-height: 400px;;
}

.wellcome .wrap article h2{
    font-size: 16px;
    text-transform: uppercase;
    color: var(--color);
    font-weight: 600;
    position: relative;
}

.wellcome .wrap article h2:after{
    content: "";
    position: absolute;
    width: 80px;
    height: 2px;
    background-color: var(--color);
    left: 0;
    bottom: -10px;
}

.wellcome .wrap article h1{
    font-size: 3em;
    line-height: 1.2;
    color: #313131;
    font-weight: 900;
    margin:20px 0;
}

.wellcome .wrap article p{
    font-size: 1.2em;
    line-height: 2;
    color: #313131;
    font-weight: 400;
    margin:20px 0;
}

.wellcome .wrap article ul{
    display: flex;
    margin:20px 0 0 0;
    flex-wrap: wrap;
    gap:2%;
}

@media(max-width:800px){
    .wellcome .wrap article{
        width: 100%;
        padding: 50px 0;
        text-align: center;
    }

    .wellcome .wrap article h2:after{
        left: 50%;
        transform: translateX(-50%);
    }

    .wellcome .wrap article h1{
        font-size: 40px;
    }

    .wellcome .wrap article ul{
        justify-content: center;
    }
}

.wellcome .wrap article ul li{
    width: 40%;
    max-width: 150px;
    text-align: center;
    list-style: none;
}

.wellcome .wrap article ul li a{
    display: block;
    line-height: 50px;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    border-bottom: solid 3px var(--color) !important;
    transition: all .3s ease;
}

.wellcome .wrap article ul li:nth-child(1) a{
    background-color: var(--color);
}

.wellcome .wrap article ul li:nth-child(2) a{
    color: var(--color);
    border:solid 1px var(--color);
}

.wellcome .wrap article ul li a:hover{
    background-color: var(--color);
    color: #ffffff;
}


/*stadistycs */
.stadistycs{
    margin:-80px 0 0 0;
    position: relative;
    z-index: 3;
}
.stadistycs .wrap{
    display: flex;
    background-color: var(--color);
    justify-content: space-between;
    border-radius: 10px;
    padding: 0 5%;
    max-width: 1050px;
    gap:2%;
}

.stadistycs .wrap article{
    text-align: center;
    padding: 75px 0;
}

.stadistycs .wrap article h2{
    font-size: 2.8em;
    font-weight: 800;
    color: #212121;
}

.stadistycs .wrap article p{
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2em;
}


/* services */
.services{
    padding: 100px 0;
    background-color: #f9f9f9;
}

@media(max-width:800px){
    .services{
        padding: 50px 0;
    }
}
/* banner-1 */
.banner-1{
    position: relative;
    background-color: #000000;
}

.banner-1 .wrap{
    display: flex;
    gap:2%;
    position: relative;
    z-index: 2;
    padding: 140px 0;
    align-items: center;
}

.banner-1 .wrap .info{
    width: 50%;
}

.banner-1 .wrap .form{
    width: 50%;
}

.banner-1 .wrap .form h4{
    font-size: 40px;
    color: #ffffff;
}

@media(max-width:800px){
    .banner-1 .wrap{
        flex-wrap: wrap;
        padding: 40px 0;
    }

    .banner-1 .wrap .info,
    .banner-1 .wrap .form{
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .banner-1 .wrap .info h2{
        font-size: 30px;
        margin:0 0 30px 0;
    }
}

.banner-1 .wrap .form input[type="text"],
.banner-1 .wrap .form input[type="email"],
.banner-1 .wrap .form textarea{
    -webkit-appearance: none;
    width: 98%;
    padding: 16px 2%;
    border:none;
    background-color: #ffffff;
    border-radius: 5px;
    outline: none;
    margin:0 0 10px 0;
    resize: vertical;
    font-size: 16px;
}

.banner-1 .wrap .form input[type="text"]::placeholder,
.banner-1 .wrap .form input[type="email"]::placeholder,
.banner-1 .wrap .form textarea::placeholder{
    color: #212121;
}

.banner-1 .wrap .form  input[type="submit"]{
    background-color:var(--color);
    color: #ffffff;
    padding: 16px 50px;
    border:none;
    outline: none;
    cursor: pointer;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.wpcf7 form.sent .wpcf7-response-output{
    background-color: var(--color2) !important;
    color: #ffffff !important;
    padding: 20px !important;
    border:none !important;
    font-size: 18px;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
    background-color: #c59e33 !important;
    color: #ffffff !important;
    padding: 20px !important;
    border:none !important;
    font-size: 18px;
}

.banner-1 img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top:0;
    left: 0;
    z-index: 1;
    opacity: .5;
}


.banner-1 h3{
    font-size: 1.2em;
    font-weight: 600;
    color: var(--color2);
    text-transform: uppercase;
}

.banner-1 h2{
    font-size: 3em;
    font-weight: 900;
    color: #ffffff;
    max-width: 800px;
}
/* faq */
.faq{
    background-color: #ffffff;
    padding: 150px 0;
}

.faq h2{
    text-align: center;
    font-size: 50px;
    font-weight: 700;
    margin:0 0 50px 0;
}

.faq .wrap{
    display: flex;
    justify-content: space-between;
    gap:2%;
}
.faq .wrap section {
    width: 50%;
    display: flex;
    flex-direction: column;
}

@media(max-width:800px){
    .faq .wrap{
        flex-wrap: wrap;
    }
    .faq .wrap section{
        width: 100%;
    }
}

.faq .faq-item {
    margin-bottom: 10px;
}

.faq .faq-toggle {
    width: 100%;
    padding: 20px 15px;
    text-align: left;
    background-color: #f2f2f2;
    color: var(--color);
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-weight: 700;
    border:solid 2px transparent;
    border-radius: 10px;
}


.faq .faq-item.active .faq-toggle{
    border-color: var(--color);
    background-color: transparent;
    color: var(--color);
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    transition: all .1s ease;
}

.faq .faq-content {
    padding:35px 25px;
    background-color: #ffffff;
    display: none;
    text-align: justify;
    line-height: 1.5;
}

.faq .faq-content p {
    margin: 0;
}


/* page-banner */
.page-banner{
    background-color: var(--color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpolygon fill='%23095f78' points='800 100 0 200 0 800 1600 800 1600 200'/%3E%3Cpolygon fill='%230c6e85' points='800 200 0 400 0 800 1600 800 1600 400'/%3E%3Cpolygon fill='%230f7e92' points='800 300 0 600 0 800 1600 800 1600 600'/%3E%3Cpolygon fill='%23138e9e' points='1600 800 800 400 0 800'/%3E%3Cpolygon fill='%23179ea9' points='1280 800 800 500 320 800'/%3E%3Cpolygon fill='%231caeb4' points='533.3 800 1066.7 800 800 600'/%3E%3Cpolygon fill='%2321BFBF' points='684.1 800 914.3 800 800 700'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .page-banner h1{
      margin:300px 0 100px 0;
      font-size: 30px;
      color: #ffffff;
      position: relative;
      text-align: center;
  }

  .page-banner h1 span{
    display: block;
    font-size: 20px;
  }
  
  .page-banner .image{
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    z-index: 1;
    opacity: .2;
  }
  
  .page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: color;
  }
  
  .page-banner .image img{
      top: 50%;
      height: auto;
      width: 100%;
      position: absolute;
      transform: translateY(-50%);
  }
  
  @media(max-width:800px){
        .page-banner{
            height: auto;
            padding: 100px 0 30px 0;
        }

      .page-banner h1{
        font-size: 30px;
        margin:0;
      }
      .page-banner .image img{
          width: 120%;
      }
  }
  
  

  /* content */
  .content{
    padding: 80px 0 80px 0;
}

@media(max-width:800px){
    .content{
        padding: 40px 0;
    }
}

.content input[type="text"],
.content input[type="email"],
.content input[type="tel"],
.content input[type="number"],
.content input[type="file"],
.content input[type="date"],
.content textarea,
.content select{
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    padding: 8px 2%;
    width: 96%;
    border:solid 1px #f0f0f0;
    border-radius: 5px;
    outline: none;
    resize: none;
    margin:0 0 10px 0;
    font-size: 15px;
    -webkit-appearance: none;
}

.content select{
    color: #313131;
    cursor: pointer;
}

.content label{
    font-size: 14px;
    font-weight: bold !important;
    color: #777777 !important;
}

.content input[type="text"]:focus,
.content input[type="email"]:focus,
.content input[type="tel"]:focus,
.content input[type="number"]:focus,
.content input[type="date"]:focus,
.content textarea:focus,
.content select:focus{
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    transition: all .3s ease;
}

.content input[type="text"]::placeholder,
.content input[type="email"]::placeholder,
.content input[type="tel"]::placeholder,
.content input[type="number"]::placeholder,
.content input[type="date"]::placeholder,
.content textarea::placeholder{
    color: #313131;
}

.content input[type="submit"]{
    background-color: var(--color);
    color: #ffffff;
    border:none;
    outline: none;
    cursor: pointer;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 30px;
    margin:0 0 20px 0;
    transition: all .3s ease;
    -webkit-appearance: none;
}

.content input[type="submit"]:hover,
.content input[type="submit"]:focus{
    color: #ffffff;
    background-color: var(--color2);
}

.not-found{
    padding: 100px 0;
}

.not-found h2{
    font-size: 100px;
    text-align: center;
    color: #313131;
    font-weight: 900;
}

.not-found h3{
    font-size: 24px;
    text-align: center;
    color: #313131;
    margin:auto;
    max-width: 500px;
    font-weight: 300;
}

@media(max-width:800px){
    .not-found{
        padding: 50px 0;
    }

    .not-found h2{
        font-size: 50px;
    }

    .not-found h3{
        font-size: 17px;
        width: 80%;
    }
}



/* category */
.category .wrap{
  display: flex;
  gap:2%;
  flex-wrap: wrap;
}

.category .wrap article{
  width: 23.5%;
  overflow: hidden;
  margin:0 0 40px 0;
}

.category .wrap article img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all .3s ease;
}

.category .wrap article:hover img{
  width: 120%;
  height: 200px;
}

.category .wrap article h2{
  font-size: 20px;
  font-weight: 600;
  padding: 10px;
  position: relative;
}

.category .wrap article h2:after
{
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: var(--color);
  bottom: -1px;
  left: 10px;
}
.category .wrap article p{
  font-size: 14px;
  line-height: 25px;
  color: #777777;
  padding: 10px;
  text-align: justify;
}

.category .wrap article .btn-more{
  display: table;
  margin:10px;
}

.category .wrap article .btn-more a{
  display: block;
  text-decoration: none;
  background-color: #1b203b;
  color: #ffffff;
  line-height: 45px;
  padding: 0 20px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  transition: all .3s ease;
}

.category .wrap article .btn-more a:hover{
  background: var(--color);
  color: #ffffff;
}



/* sub-footer */
.sub-footer{
    padding: 80px 0;
    color: var(--color2);
    background-color: #212121;
}

.sub-footer .wrap{
    display: flex;
    justify-content: space-between;
    gap:3%;
    flex-wrap: wrap;
}

.sub-footer .wrap article:nth-child(1){
    width: 30%;
}

.sub-footer .wrap article:nth-child(2){
    width: 11%;
}

.sub-footer .wrap article:nth-child(3){
    width: 25%;
}

.sub-footer .wrap article:nth-child(4){
    width: 25%;
}

@media(max-width:800px){
    .sub-footer{
        padding: 20px 0;
    }
    .sub-footer .wrap article:nth-child(1),
    .sub-footer .wrap article:nth-child(2),
    .sub-footer .wrap article:nth-child(3),
    .sub-footer .wrap article:nth-child(4){
        width: 100%;
        text-align: center;
        padding: 40px 0;
    }
}

.sub-footer .wrap article h2{
    color: #ffffff;
    font-size: 1.4em;
    font-weight: 800;
    margin:0 0 30px 0;
}

.sub-footer .wrap article p,
.sub-footer .wrap article a{
    color: #f9f9f9;
    text-decoration: none;
    font-size: 16px;
    line-height: 30px;
    transition: color .3s ease;
}

.sub-footer .wrap article ul.menu{
    line-height: 40px;
    list-style-type: none;
}

.sub-footer .wrap article ul.menu li a i{
    color: var(--color2);
}

.sub-footer .wrap article ul.menu li a:hover{
    color: var(--color2);
}

.sub-footer .wrap article ul.social{
    display: flex;
    gap:3%;
    list-style-type: none;
    margin:20px 0 0 0;
}

@media(max-width:800px){
    .sub-footer .wrap article ul.social{
        justify-content: center;
    }
}

.sub-footer .wrap article ul.social li a{
    display: block;
    line-height: 50px;
    width: 50px;
    background-color: #f9f9f9;
    color: #121212;
    text-align: center;
    font-size: 20px;
    border-radius: 50px;
    line-height: 50px;
    transition: all .3s ease;
}

.sub-footer .wrap article ul.social li a:hover{
    background-color: var(--color);
    color: #ffffff;
}

.sub-footer .wrap article input[type="email"]{
    -webkit-appearance: none;
    padding: 10px 2%;
    width: 96%;
    border:none;
    background-color: #ffffff;
    outline: none;
    font-size: 16px;
    border-radius: 20px;
}

.sub-footer .wrap article input[type="submit"]{
    -webkit-appearance: none;
    background-color: var(--color);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    border:none;
    font-size: 16px;
    cursor: pointer;
    margin:10px 0 20px 0;
    transition: all .3s ease;
}

.sub-footer .wrap article input[type="submit"]:hover,
.sub-footer .wrap article input[type="submit"]:focus{
    background-color: var(--color2);
    color: #212121;
}

@media(max-width:800px){
    .sub-footer .wrap article input[type="submit"]{
        width: 100%;
    }
}


/* footer */
footer{
    background-color: #212121;
    padding: 0 0 50px 0;
    text-align: center;
    font-size: 18px;
    color: #dedede;
}

footer a{
    color: #ffffff;
    text-decoration: none;
    transition: all .3s ease;
}

footer a:hover{
    color: var(--color2);
}

footer em{
    font-style: normal;
    display: inline;
    margin:0 10px;
}

@media(max-width:800px){
    footer .wrap{
    }
    footer em{
        display: none;
    }
}

.go-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    z-index: 99;
    cursor: pointer;
}

@media(max-width:800px){
    .go-top{
        bottom: 0;
        line-height: 50px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        width: 100px;
        border-radius: 100px 100px 0 0;
        text-align: center;
        background-color: rgba(0,0,0,.4);
    }

}

.go-top.visible {
    opacity: 1;
    visibility: visible;
}

.go-top:hover {
    opacity: 1;
}