*{
    margin: 0;
    padding: 0;
    font-family: 'inter';
}

:root{
    --section_padding: 4.5rem 1.5rem;
    --red: #CD474B;
    --dark-grey: #34393F;
    --grey-text: #63686d;
}

#shadow-host-companion{
    display: none;
}
/* SPLASH SCREEN */

.splash{
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: #34393F;
    z-index: 9999999999;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.splash.hidden{
    opacity: 0;
    pointer-events: none;
    transition: 600ms;
}

.splash .logo-box{
    width: 9rem;
    overflow: hidden;
}

.splash span{
    display: block;
    color: white;
    font-weight: 700;
    font-size: 2rem;
    margin-top: 2rem;
}

.cls-1{
    fill: rgb(171, 171, 171);
    stroke: rgb(171, 171, 171);
    stroke-miterlimit: 10;
}

/***************************************************
 * Generated by SVG Artista on 10/23/2022, 1:40:35 PM
 * MIT license (https://opensource.org/licenses/MIT)
 * W. https://svgartista.net
 **************************************************/

 svg .svg-elem-1 {
    stroke-dashoffset: 737.8589477539062px;
    stroke-dasharray: 737.8589477539062px;
    fill: transparent;
    -webkit-transition: stroke-dashoffset 2.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0s,
                          fill 2.4s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s;
            transition: stroke-dashoffset 2.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0s,
                  fill 2.4s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s;
  }
  
  svg.active .svg-elem-1 {
    stroke-dashoffset: 0;
    fill: rgb(255, 255, 255);
  }
  
  svg .svg-elem-2 {
    stroke-dashoffset: 263.77996826171875px;
    stroke-dasharray: 263.77996826171875px;
    fill: transparent;
    -webkit-transition: stroke-dashoffset 2.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.12s,
                          fill 2.4s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s;
            transition: stroke-dashoffset 2.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.12s,
                  fill 2.4s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s;
  }
  
  svg.active .svg-elem-2 {
    stroke-dashoffset: 0;
    fill: rgb(255, 255, 255);
  }
  
  svg .svg-elem-3 {
    stroke-dashoffset: 525.4998779296875px;
    stroke-dasharray: 525.4998779296875px;
    fill: transparent;
    -webkit-transition: stroke-dashoffset 2.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.24s,
                          fill 2.4s cubic-bezier(0.47, 0, 0.745, 0.715) 1s;
            transition: stroke-dashoffset 2.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.24s,
                  fill 2.4s cubic-bezier(0.47, 0, 0.745, 0.715) 1s;
  }
  
  svg.active .svg-elem-3 {
    stroke-dashoffset: 0;
    fill: rgb(255, 255, 255);
  }
  
p{
    line-height: 1.5;
    z-index: 99;
    position: relative;
}

h2{
    text-transform: uppercase;
    font-size: 2rem;
    position: relative;
    margin-bottom: 2.5rem;
}

h3{
    font-size: 1.7rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.h2-before,
.footer-heading{
    text-transform: uppercase;
    margin-bottom: .5rem;
    display: block;
    color: #c9c9c9;
}

h2 > span,
h1 > span{
    font-weight: 300;
}

h1,h2{
    letter-spacing: 2px;
}

a{
    text-decoration: none;
}

li{
    list-style: none;
}

img{
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    position: relative;
}
#hero img,
#service-hero img{
    box-shadow: none;
}

.grid{
    display: grid;
}

.logo-link{
    position: relative;
    font-size: 0;
    display: block;
    width: 60px;
    height: 60px;
    background-image: url(./assets/img/logo-main.png);
    background-size: cover;
    background-position: center;
    z-index: 999;
}

section{
    padding: var(--section_padding);
}

.container{
    max-width: 540px;
    margin: auto;
}

/* HEADER */

header{
    position: fixed;
    z-index: 9999;
    top: 0;
    width: 100%;
}
header.scrolled{
    background-color: #1b1a1aea;
    transition: 500ms ease;
    padding: 0;
}

header .upper-header{
    color: white;
    display: none;
}

.upper-header{
    border-bottom: 1px solid rgba(236, 236, 236, 0.685);
}

.upper-header span{
    font-size: .8rem;
}

header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 100%;
}

nav{
    position: fixed;
    background-color: black;
    z-index: 99;
    display: flex;
    padding-left: 1.5rem;
    align-items: center;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    transition: .7s cubic-bezier(0.76, 0, 0.24, 1);
}

nav.active{
    transform: translateY(0);
}

nav ul{
    display: grid;
    gap: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: .7s ease .6s;
}

nav.active ul{
    opacity: 1;
    transform: translateY(0);    
}

nav a{
    display: block;
    font-size: 2.6rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;

}

.burger-box{
    width: 43px;
    height: 43px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    z-index: 999;
    position: relative;
}

.burger-box div,
.burger-box div::after,
.burger-box div::before{
    display: block;
    text-align: center;
    height: 4px;
    width: 100%;
    background-color: white;
    position: relative;
    line-height: 0;
    transition: 350ms ease .2s;
}


.burger-box div:after,
.burger-box div::before{
    content: '';
    position: absolute;
}

.burger-box.clicked div{
    background: transparent;

}

.burger-box div::after{
    top: 11px;
}
.burger-box div::before{
    bottom: 11px;
}

.burger-box.clicked div::before{
    bottom: 0;
    transform: rotate(45deg);
}
.burger-box.clicked div::after{
    top: 0;
    transform: rotate(-45deg);
}




/* HERO */

#hero{
    padding: var(--section_padding);
    position: relative;
    padding-block: 8rem;
}

#hero .container{
    position: relative;
    z-index: 99;
}

#hero h1{
    color: white;
    font-size: 2.2rem;
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: 800;
    font-size: 0!important;
}

.anim-heading{
    font-size: 2.2rem;
    width: 100%;
    color: white;
    text-transform: uppercase;
}

.anim-heading .anim-box{
    display: inline-block;
    margin-inline: .3rem;
}

.anim-box{
    overflow: hidden;
}

.anim-box span{
    display: block;
}

.anim-heading > span:first-of-type,
.anim-heading > span:last-of-type{
    font-weight: bolder;
}

#hero .content p{
    color: white;
    margin-top: 1rem;
}

video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 0;
}

#hero::before,
#service-hero::before{
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.426);
    z-index: 9;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.form-box{
    z-index: 999;
    position: absolute;
    bottom: -42rem;
    background-color: white;
    text-align: left;
    width: -webkit-fill-available;
    padding: 2rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.form-box h3{
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: .5rem;
    font-weight: 900;
}

.form-box p{
    margin-bottom: 1.8rem;
}

.form-box form{
    display: grid;
    gap: 1rem;    
}

form input,
textarea{
    display: block;
    padding: .6rem;
    border: .5px solid grey;
}

input[type="submit"]{
    background-color: var(--red);
    border: 0;
    color: white;
    text-transform: uppercase;
    padding: 1rem;
    cursor: pointer;
}

/* Services Section */

#services{
    padding-top: 37rem;
}

#services picture img{
    aspect-ratio: 2/2;
    object-fit: cover;
    object-position: right;
}

h2::before{
    content: url(./assets/img/red-cross.svg);
    display: block;
    width: 100%;
    display: inline;
    margin-right: 1.3rem;
}

#services h3::before{
    display: block;
    margin-bottom: 1rem;
}


.painting h3::before{
    content: url(./assets/img/painting.svg);
}
.waterproofing h3::before{
    content: url(./assets/img/waterproofin.svg);
}
.stucco h3::before{
    content: url(./assets/img/stucco.svg);
}
.parking h3::before{
    content: url(./assets/img/parking.svg);
}

#services ul{
    display: grid;
    gap: 3rem;
}

#services .grid{
    gap: 3rem;
}

.service-link::after{
    content: url(./assets/img/red-cross.svg);
    transform: scale(.55);
    line-height: .5;
}

#services picture{
    overflow: hidden;
}



#services p{
    color: var(--grey-text);
}

.service-link{
    text-transform: uppercase;
    padding-bottom: .3rem;
    border-bottom: 1px solid var(--red);
    display: flex;
    align-items: center;
    font-weight: 700;
    color: black;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    width: 10ch;
}

/* Us */

#us{
    background: var(--dark-grey);
    color: white;
}

#us .container{
    display: grid;
    gap: 3rem;
}

#us .content p:first-of-type{
    margin-bottom: 1.5rem;
}

#us .content p:last-of-type{
    margin-bottom: 2.9rem;
}

#us h2{
    margin-bottom: 2rem;
}

#us .proyect-link{
    box-shadow: rgb(201 201 201 / 10%) 0px 10px 15px -3px, rgb(201 201 201 / 10%) 0px 4px 6px -2px;
    padding: 1rem 2rem;
}

#us picture{
    box-shadow: rgb(201 201 201 / 10%) 0px 10px 15px -3px, rgb(201 201 201 / 10%) 0px 4px 6px -2px;
}

/* Proyects */

#proyects ul{
    display: grid;
    gap: 3rem;
}

#proyects h3{
    margin-bottom: .7rem;
}

.proyect-item{
    display: grid;
    gap: 1rem;
}

.proyect-item .content{
    order: 2;
}

.proyect-item p{
    margin-bottom: 1.4rem;
    color: var(--grey-text);
}

.proyect-link{
    color: white;
    background-color: var(--red);
    text-transform: uppercase;
    padding: .5rem;
}

.proyect-list .proyect-link{
    background-color: #a2a2a2;
    font-size: .6rem;
    padding: .4rem;
    display: inline-block;
    text-align: center;
}

.proyect-list .proyect-link:hover{
    background-color: var(--red);
}

#proyects .service-label-list{
    display: flex;
    gap: .3rem;
}



/* Testimonials */

#testimonials{
    background-color: #34393F;
    color: white;
    position: relative;
    overflow: hidden;
    padding-bottom: 4rem;
    position: relative;
}

#testimonials::before{
    content: url(./assets/img/testimonials-path.svg);
    left: 0;
    top: 0;
    position: absolute;
}

#testimonials h2{
    z-index: 99;
}

#testimonials > img{
    position: absolute;
    left: 0;
    bottom: 0%;
    width: 400%;
    z-index: 0;
    box-shadow: none;
}

#testimonials h3{
    margin-bottom: .3rem;
}

#testimonials .swiper-slide{
    background-color: #60687059;
    cursor:grab
}

#testimonials .swiper{
    padding-bottom: 50px;
}

#testimonials .swiper li{
    padding: 2rem;
    box-shadow: rgba(201, 201, 201, 0.1) 0px 10px 15px -3px, rgba(201, 201, 201, 0.1) 0px 4px 6px -2px;
}

#testimonials .swiper-slide .header{
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

#testimonials .swiper-slide .header .content{
    /* margin-left: 1rem; */
    order: 2;
}

#testimonials .swiper-slide img{
    border-radius: 50%;
    width: 30%;
}

#testimonials .swiper-pagination{
    bottom: 10px;
}

#testimonials .swiper-pagination .swiper-pagination-bullet-active{
    background-color: white;
} 

#testimonials .swiper-pagination-bullet{
    height: 10px;
    width: 10px;
}

/* Thank You Page */
#thank-you{
    min-height: 80vh;
    background-color: #34393F;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-block: 5rem;
    padding-inline: 1.5rem;
}

#thank-you path{
    transition: 3s;
}

#thank-you h1{
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 0;
}

#thank-you p{
    font-size: 1.7rem;
}

#thank-you span{
    display: block;
    margin-top: .6rem;
}

#thank-you a{
    display: block;
    width: fit-content;
    padding-inline: 2rem;
    padding-block: .7rem;
    margin: auto;
    margin-top: 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    transition: .3s;
}

#thank-you a:hover{
    background-color: black;
}

/* Footer */

footer{
    padding: var(--section_padding);
    background-color: #efefef;
}

footer span{
    display: block;
}

footer .logo-link{
    margin-bottom: 2rem;
    width: 80px;
    height: 80px;
}

footer a{
    color: #34393F;
    text-decoration: underline;
}

.footer-heading{
    color: var(--dark-grey);
    font-weight: 800;
    font-size: .8rem;
    margin-bottom: .3rem;
}

.footer-content span,
.footer-content{
    font-weight: 600;
}

.footer-content .footer-info{
    font-size: 1.1rem;
}

.footer-content{
    margin-bottom: 1.5rem;
}

.copyright{
    color: #ababab;
    margin-top: 2.5rem;
}

/* SERVICE-HERO */

#service-hero{
    position: relative;  
}

#service-hero::before{
    background-color: #0000008f;
}

#service-hero h1{
    z-index: 999;
    position: relative;
    color: white;
    text-transform: uppercase;
    text-align: center;
    padding-top: 4.5rem;
    padding-bottom: 1rem;
    font-size: 8vw;
}

#service-hero img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SERVICE-INFO */

#service-info{
    background-color: #34393F;
    color: white;
    position: relative;
    overflow: hidden;
}

#service-info .container{
    display: grid;
    gap: 3rem;
}

#service-info article{
    display: grid;
    gap: 2.5rem;
}

#service-info article .content,
#service-info article picture,
#service-info .form-box{
    z-index: 99;
}

#service-info .container > img{
    box-shadow: none;
    position: absolute;
    z-index: 0;
    width: 2000px;
}

#service-info article .form-box{
    position: relative;
    top: 0;
    color: black;
    margin: 0;

}

@media screen and (min-width: 560px){
    #service-hero h1{
        font-size: 3.5rem;
    }
}

@media screen and (min-width: 760px) {
    .container{
        max-width: 	720px;
    }

    h2{
        font-size: 2.5rem;
    }

    #hero{
        padding-bottom: 0;
        padding-top: 8rem;
    }

    #hero .container{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 3rem;
    }

    textarea{
        height: 85px;
    }

    #hero h1{
        font-size: 2.4rem;
        padding-top: 6rem;
    }

    #hero .form-box{
        position: relative;
        margin-bottom: -3rem;
        bottom: 0;
    }

    #services{
        padding-top: 7rem;
    }

    #services ul{
        gap: 6rem;
    }

    #services .grid{
        grid-template-columns: 1fr 1.2fr;
        align-items: center;
        gap: 4rem;
    }

    #services li picture img{
        scale: 1.4!important;
    }

    #services li:nth-child(even) .grid{
        grid-template-columns: 1.2fr 1fr;
    }

   #services li:nth-child(even) .grid .content{
    order: 2;
   }

   #proyects ul{
    grid-template-columns: 1fr 1fr;
   }

   #service-info article{
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 4rem;
    }

    #service-info article .content{
        order: 2;
        padding-top: 3rem;
    }

    #service-info article .content h2{
        font-size: 1.5rem;
    }

    #service-info article .content h2::before{
        vertical-align: middle;
    }

    #service-info .form-box{
        order: 2;
    }
}

@media screen and (min-width: 920px){

    header{
        transition: transform 700ms ease;
    }
    .container,
    header .container{
        max-width: 960px;
    }

    header .upper-header{
        display: block;
    }

    .form-box{
        width: 70%;
    }

    .burger-box{
        display: none;
    }

    header.scrolled{
        transform: translateY(-52px);
        background-color: white;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    }

    header .logo-link{
        transition: 600ms;
    }

    header.scrolled .logo-link{
        width: 53px;
        height: 53px;
    }

    nav{
        transform: unset;
        position: relative;
        width: auto;
        height: auto;
        padding: 0;
        background: transparent;
        transition: unset;
    }

    nav ul{
        display: flex;
        opacity: 1;
        transform: unset;
        gap: 2.5rem;
        align-items: center;
    }

    nav ul li a{
        font-size: .9rem;
        font-weight: 600;
    }

    nav ul li a:hover{
        color: rgb(212, 212, 212);
        transition: 500ms ease;
    }

    nav ul li:last-of-type a{
        font-size: .9rem;
        font-weight: 500;
        padding: .8rem;
        background-color: #34393f;
    }

    header.scrolled nav ul li a{
        color: #34393F;
    }

    header.scrolled nav ul li:last-of-type a{
        color: white;
        background-color: #34393F;
    }

    .form-box{
        margin-top: 3rem;
    }
    #service-info .form-box{
        justify-self: center;
        width: 60%;
    }

    #service-info .container > img{
        width: 2200px;
    }

    #hero h1{
        padding-top: 9rem;
        font-size: 3rem;
    }

    #us{
        padding-bottom: 0;
    }

    #us .container{
        grid-template-columns: repeat(2,1fr);
        gap: 6rem;
    }

    #us picture{
        margin-bottom: -6rem;
    }
    
    #us .content{
        padding-bottom: 4rem;
    }

    footer{
        padding: 0;
    }

    footer .footer-flex-container{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-block: 3rem;
    }

    .footer-content,
    footer .logo-link{
        margin: 0;
    }

    footer .copyright{
        text-align: center;
        border-top: 1px solid #ababab;
        padding: 1rem;
        margin-top: 0;
        font-size: .8rem;
    }

    #service-hero{
        padding-top: 9.5rem;
    }

    #service-info .container{
        gap: 4rem;
    }

}

@media screen and (min-width:1200px) {

    h2{
        margin-bottom: 3rem;
    }

    .container,
    header .container{
        max-width: 1140px;
    }

    #services h3::before{
        margin-bottom: 1.5rem;
    }

    #proyects ul{
        grid-template-columns: repeat(3, 1fr);
        column-gap: 5rem;
        row-gap: 4rem;
        align-items: baseline;
    }
    
    #us .content{
        padding-bottom: 0;
    }

    #service-info .container > img{
        width: 2500px;
    }

    #thank-you h1{
        font-size: 5rem;
    }
    
}

@media screen and (min-width:1500px){
    .container,
    header .container{
        max-width: 1350px;
    }

    #us .container{
        align-items: center;
    }

}
