/************************************** FONTS *******************************************/

*{
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: initial;
  overflow-x: hidden;
  overflow-y: auto;
}

html, body {
    width: 100%;
    min-height: 100%;
    background: white;
}

#pageTransitionOverlay{
  position: fixed;
  inset: 0;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  z-index: 999999;
}
#indexEnterOverlay{
  position: fixed;
  inset: 0;
  background: var(--white);
  opacity: 1;
  pointer-events: none;
  z-index: 999999; /* por debajo del overlay de salida si quieres */
}

.seo-h1 {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}



/********************************************* ESTILOS GENÉRICOS ***********************************************/

.overflow-container{
    overflow: hidden;
    position: relative;
}
.orange-text{
    color: var(--orange);
}
.big{
    font-size: 3vw;
}
button{
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
}
p{
    font-size: 17px;
}
.text-reveal{
    top: 0;
    position: relative;
}
:root{
    --black: #18171c;
    --white: #ECECEC;
    --orange: #FF3928;
}

.white-screen{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: var(--white);
    top: 0;
    left: 0;
    z-index: 30;
    pointer-events: none;
}
.line-down{
    display: none;
}


/*********************************************** CUSTOM CURSOR ***************************************************/

.cursor{
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    background-color: var(--orange);
    z-index: 3;
}

/************************************************** PRELOADER *****************************************************/

#preloader{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    z-index: 20;
    background: white;
    flex-direction: column;
    pointer-events: none;
}
#percent{
    color: var(--black);
    opacity: 0.2;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 17px;
}



/************************************************** HEADER *****************************************************/

#header-container{
    height: 200vh;
}
#header{
    width: 100vw;
    height: 200vh;
    background: url(https://res.cloudinary.com/dqzbqx9ob/image/upload/v1770313256/familia-header_fzdozm.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    position: relative;
}
.opacity-div{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
}
#opacity-div-header{
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
}
#title-header-container{
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}
#title-header-h2-container{
    width: 100vw;
    height: auto;
    position: relative;
    padding: 3%;
}
#title-header-container h2{
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 8vw;
    line-height: 8.6vw;
    margin: 0;
}
.overflow-container span{
    position: relative;
    bottom: 0;
}
.white-line{
    width: 100vw;
    height: 1px;
    background-color: white;
}
#header-line{
    position: absolute;
    top: 0;
    left: 0;
}
#header-info{
    width: 94vw;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    position: absolute;
    top: -140px;
}
#proindiviso-word{
    line-height: 3vw;
}
#header-info-text{
    text-align: right;
    position: relative;
    top: 20px;
}
#header-info p{
    margin: 0;
}
#header-info h6{
    margin: 0;
    font-size: 15px;
}
#section1Btn{
    width: 250px;
    height: 250px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 10%;
    left: calc(50% - 125px);
    transition: background 500ms ease;
    background-color: rgba(0,0,0,0);
    opacity: 1;
}
#section1Btn:hover img{
   height: 45%;
}
#section1Btn:hover h6{
    opacity: 0;
 }
#section1Btn:hover{
    background: rgba(0,0,0,0.2);
}
#section1Btn img{
    height: 60%;
    transition: all 500ms ease;
}

#section1Btn h6{
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    position: absolute;
    top: -50px;
    transition: all 200ms ease;
}
#contact-header{
    width: 30%;
    opacity: 1;
}
#contact-header h3{
    font-family: 'DM Sans', sans-serif;
    color:white;
    font-size: 3vw;
}
.button-header-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
#header-call-button{
    padding: 5px 20px;
    background:var(--orange);
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: color 100ms ease;
    border: 1px solid var(--orange);
    transition: all 300ms ease;
}
#header-call-button:hover{
    color: var(--black);
    border: var(--white);
}
#header-call-button:hover::before{
    top: 0;
}
#header-call-button::before{
    content: 'Llamar';
    color: var(--black);
    width: 100%;
    height: 100%;
    background: var(--white);
    position: absolute;
    top: -100%;
    left: 0;
    transition: all 500ms ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
#header-mail-button{
    padding: 5px 20px;
    background: rgba(0,0,0,0);
    color: var(--white);
    border: 1px solid var(--black);
    margin-left: 10px;
    transition: color 100ms ease;
    border: 1px solid var(--white);
    overflow: hidden;
    position: relative;
    transition: all 300ms ease;
}
#header-mail-button:hover{
    color: var(--white);
}
#header-mail-button:hover::before{
    top: 0;
}
#header-mail-button::before{
    content: 'Mandar Email';
    color: var(--black);
    width: 100%;
    height: 100%;
    background: var(--white);
    position: absolute;
    top: -100%;
    left: 0;
    transition: all 500ms ease;
    display: flex;
    justify-content: center;
    align-items: center;
}


.header-info-mobile{
    display: none!important;
}
.header-info-screen{
    display: flex!important;
}


/************************************************** NAV *****************************************************/

#navbar{
    z-index: 11;
}
nav{
    width: 94vw; 
    padding: 2% 3% 0 3%;
    height: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    color: white;
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    transition: all 500ms ease;
}
nav a{
    text-decoration: none;
    color: white;
}
nav ul{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.menu-item{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 5px 10px;
    background-color: rgba(236, 236, 236, 0);
    border-radius: 20px;
}
nav .menu-item:hover .menu-item-circle{
    opacity: 0;
}
.menu-item svg {
    width: 30px;
    height: 20px;
}
.menu-item-circle{
    fill: none;
    stroke: white;
    stroke-width: 2px;
    margin: 0;
    stroke-dashoffset: 144.54;
    stroke-dasharray: 144.535;
    transition: opacity 300ms ease;
}


/************************************************ MOBILE NAV *****************************************************/

.mobile-header{
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    display:  none;
}
.header-row{
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-row-bottom{
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.menu-toggle{
    background: #F4DAE0;
    border: none;
    transition: transform 0.15s linear;
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.bar-1{
    transform: translateY(1.5px);
}
.bar-3{
    transform: translateY(-1.5px);
}
.hamburger{
    fill: none;
}
#hamburger-blanco{
    stroke: #040637;
}
.fullpage-menu{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 12;
    display: none;
}
.fullpage-menu-inner{
    display: flex;
    align-items: center;
    height: 100%;
    padding: 150px 100px 80px 80px;
}
.menu-bg{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.menu-bg span{
    height: 25%;
    width: 100%;
    background-color: var(--orange);
    display: block;
}
.mobile-nav{
    position: relative;
    z-index: 10;
    width: 70%;
}
.mobile-nav ul{
    list-style-type: none;
}
.mobile-nav li{
    overflow: hidden;
    transition: all 600ms ease;
}
.mobile-nav li:hover a{
    transform: translateX(50px);
    color: rgba(255, 255, 255 ,0.3);
}
.mobile-nav li:hover{
    transform: translateX(50px);
}
.mobile-nav li + li{
    margin-top: 10px;
}
.mobile-nav li a{
    font-size: 80px;
    color: var(--white);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    display: inline-block;
    line-height: 1.2;
    position: relative;
}
.flecha-drch{
    transform: rotate(90deg);
    position: absolute;
    top: -10px;
    right: -25px;
}
.header-nav-footer{
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 40px 80px;
}
.fullpage-menu-inner p{
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    z-index: 1;
    font-size: 12px;
    line-height: 13px;
    position: relative;
    top: 130px;
}

@media screen and (max-width:767px){
    .header-row, .header-nav-footer{
        padding: 30px;
    }
    .fullpage-menu-inner{
        padding: 70px 30px;
    }
    #mobile-nav li a{
        font-size: 54px;
    }
}




/************************************************** SECTION 1 *****************************************************/


#section1{
    width: 100%;
    padding: 5% 3% 0 3%;
}
.section-name{
    color: var(--black);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    justify-content: flex-end;
    width: 95%;
}
.section-name .menu-item-circle{
    fill: rgba(255, 57, 40, 0);
    stroke: var(--orange);
}
#section1 .menu-item-circle{
    stroke-dashoffset: 144.54;
    stroke-dasharray: 0;
}
.info-container{
    width: 95vw;
    display: flex;
    justify-content: space-between;
    position: relative;
    flex-direction: column;
    margin-top: 100px;
}
.info-container:hover .menu-item-circle{
    fill: var(--black);
}
.title-info-container{
    position: relative;
    padding-bottom: 3%;
}
.title-info-container:after{
    content:'';
    position: absolute;
    width: 100%;
    height: .5px;
    background: var(--black);
    bottom: 0;
    left: 0;
    transition: all 300ms ease;
}
.text-info-container .menu-item p:after{
    background: var(--white);
}
.info-container h2{
    color: var(--black);
    font-size: 5vw;
    line-height: 5.3vw;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    margin: 0;
}
.overflow-container-section{
    overflow: hidden;
    position: relative;
}
.overflow-container-section span{
    position: relative;
    top: 0;
}
.text-info-container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 1%;
}
.text-info-container .menu-item p{
    width: 300px;
    text-align: left;
}
.text{
    width: 25%;
}
.text-info-container .menu-item-circle{
    stroke: var(--black);
    fill: rgba(35, 35, 35, 0);
}
.info-container p{
    color: var(--black);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    margin: 0;
    text-align: right;
}
.call-button{
    color: var(--black);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    padding: 5px 20px;
    border: 1px solid var(--black);
    border-radius: 30px;
    background: rgba(0,0,0,0);
    position: relative;
    overflow: hidden;
    transition: color 100ms ease;
}
.call-button:hover{
    color: var(--white);
}
.call-button:hover::before{
    top: 0;
}
.call-button::before{
    content: 'Concertar llamada';
    color: var(--white);
    width: 100%;
    height: 100%;
    background: var(--black);
    position: absolute;
    top: -100%;
    left: 0;
    transition: all 500ms ease;
    display: flex;
    justify-content: center;
    align-items: center;
}


/************************************************** SECTION 2 *****************************************************/


#section2{
    width: 95%;
    padding: 5% 5% 0 3%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#section2 h3{
    color: var(--black);
    font-size: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    position: absolute;
    text-align: center;
    z-index: 1;
}
.lol{
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid var(--black);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.lol-circle{
    width: 15px;
    height: 15px;
    background: var(--black);
    transform: translateX(-50%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0px;
}
.lol-circle-2{
    width: 15px;
    height: 15px;
    background: var(--orange);
    transform: translateX(-50%);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: -8px;
}





/************************************************** SECTION 3 *****************************************************/


#section3{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    width: 94%;
    padding: 10% 3% 0 3%;
    position: relative;
}
#section3-image-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}


#section3-image-container:hover > .image-section3::after {
    opacity: 1;
}
.image-section3:hover::before {
    opacity: 1;
}
.image-section3::before,
.image-section3::after {
    border-radius: inherit;
    content: "";
    height: 100%;
    left: 0px;
    opacity: 0;
    position: absolute;
    top: 0px;
    transition: opacity 500ms;
    width: 100%;
}
.image-section3::before {
    background: radial-gradient(
      1300px circle at var(--mouse-x) var(--mouse-y), 
      rgba(255, 255, 255, 0.1),
      transparent 30%
    );
    z-index: 3;
    transition: all 300ms ease;
  }
  
.image-section3::after {  
    background: radial-gradient(
      900px circle at var(--mouse-x) var(--mouse-y), 
      rgba(255, 255, 255, 0.1),
      transparent 30%
    );
    z-index: 1;
    transition: all 300ms ease;
  }
  
.image-section3{
    width: 33%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}
#section3 .image{
    width: 100%;
    height: 80vh;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 15px;
    transition: all 500ms ease;
}


/********** ESTILO INFO IMAGENES SECCION 3 ORDENADOR *********/ 


.image-text-container{
    position: absolute;
    bottom: -60px;
    z-index: 10;
    width: 100%;
    height: 130px;
    transition: all 800ms ease;
    overflow: hidden;
}
.image-text-container h2{
    font-family: 'DM Sans', sans-serif;
    color: white;
    font-size: 45px;
    padding-left: 20px;
}
.image-text-container p{
    font-family: 'DM Sans', sans-serif;
    color: white;
    font-size: 17px;
    font-weight: 300;
    padding: 10px 20px 20px 20px;
    opacity: 0;
    transition: all 800ms ease;
}
.image-text-container .line{
    width: 0%;
    height: 1px;
    background: white;
    transition: all 800ms ease;
}


/****************************************************/


#section3 .opacity-div{
    border-radius: 15px;
    background-color: rgba(0,0,0,0.4);
}
.blur-effect{
    backdrop-filter: blur(30px);
    transition: all .5s ease;
}
#image1-section3{
    background-image: url(https://res.cloudinary.com/dqzbqx9ob/image/upload/v1770312387/image-1_usclvi.jpg);
    background-position: center;
}
#image2-section3{
    background-image: url(https://res.cloudinary.com/dqzbqx9ob/image/upload/v1770313256/image-2_rtpqyf.jpg);
}
#image3-section3{
    background-image: url(https://res.cloudinary.com/dqzbqx9ob/image/upload/v1770313257/image-3_b4kt4d.jpg);
    background-position: center;
}






/************************************************** SECTION 4 *****************************************************/


#section4{
    width: 100%;
    padding: 5% 3% 0 3%;
}
#section4 .menu-item-circle{
    stroke-dashoffset: 144.54;
    stroke-dasharray: 0;
}




/************************************************** SECTION 5 *****************************************************/


#section5{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* overflow: hidden; */
    position: relative;
}
#circle-animated-container{
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--orange);
    border-radius: 200px;
    width: 10px;
    height: 10px;
}
#section5 h2{
    font-family: 'DM Sans', sans-serif;
    color: var(--white);
    font-size: 4vw;
    line-height: 4vw;
    font-weight: 300;
    width: 60%;
    text-align: left;
    position: absolute;
    left: 16%;
    z-index: 1;
}
#section5-circle-button{
    width: 250px;
    height: 250px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 500ms ease;
    background-color: rgba(0,0,0,0);
    opacity: 1;
    position: absolute;
    right: 16%;
}

#section5-circle-button img{
    height: 60%;
 }




/************************************************** FOOTER *****************************************************/


footer{
    width: 100vw;
    height: 50vh;
    background: var(--black);
    position: relative;
    margin-top: 10%;
    border-top: 1px solid var(--orange);
}
footer h2{
    font-family: 'DM Sans', sans-serif;
    font-size: 12vw;
    color: var(--orange);
    overflow: hidden;
}
#footer-bottom{
    position: absolute;
    top: -12vw;
    left: 0;
    width: 100%;
    padding-left: 3%;
}
#footer-container{
    width: 95%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--white);
    z-index: 1;
    padding: 0 3% 0 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}
.footer-column{
    display: flex;
    flex-direction: column;
    position: relative;
}
footer .menu-item{
    padding: 5px 0;
}
#footer-container h3{
    font-family: 'DM Sans', sans-serif;
    font-size: 5vw;
    color: var(--black);
}
#footer-container p{
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    color: var(--black);
}
.button-footer-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
footer a{
    text-decoration: none;
}
footer .menu-item:hover .menu-item-circle{
    opacity: 0;
}



/**** FOOTER BUTTON ****/

.footer-button{
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    border-radius: 30px;
    text-decoration: none;
    width: 45%;
    text-align: center;
}
.desktop-footer-mail-button{
    display: block;
}
.mobile-footer-mail-button{
    display: none;
}
#footer-call-button{
    padding: 5px 20px;
    background: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: color 100ms ease;
    border: 1px solid var(--black);
    transition: all 300ms ease;
}
#footer-call-button:hover{
    color: var(--black);
    border: var(--orange);
}
#footer-call-button:hover::before{
    top: 0;
}
#footer-call-button::before{
    content: 'Llamar';
    color: var(--white);
    width: 100%;
    height: 100%;
    background: var(--orange);
    position: absolute;
    top: -100%;
    left: 0;
    transition: all 500ms ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer-mail-button{
    padding: 5px 20px;
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
    margin-left: 10px;
    transition: color 100ms ease;
    border: 1px solid var(--black);
    overflow: hidden;
    position: relative;
    transition: all 300ms ease;
}
#footer-mail-button:hover{
    color: var(--white);
}
#footer-mail-button:hover::before{
    top: 0;
}
#footer-mail-button::before{
    content: 'Mandar Email';
    color: var(--white);
    width: 100%;
    height: 100%;
    background: var(--orange);
    position: absolute;
    top: -100%;
    left: 0;
    transition: all 500ms ease;
    display: flex;
    justify-content: center;
    align-items: center;
}


/**********************/


footer .menu-item-circle{
    stroke: var(--black);
}
footer h4{
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    color: var(--black);
}
.footer-list{
    margin-top: 15px;
}
#column-2{
    display: flex;
    flex-direction: row;
    position: relative;
    margin-top: 30px;
}
#footer-list-container-1{
    margin-right: 100px;
}
.footer-text-overflow-container{
    position: relative;
    overflow: hidden;
}
.footer-text-reveal{
    position: relative;
    top: 0;
}
#footer-vertical-line{
    width: 1px;
    height: 100%;
    position: absolute;
    left: -100px;
    background-color: var(--black);
}








/************************************************** NOSOTROS *******************************************************/

.nosotros-nav a{
    text-decoration: none;
    color: var(--black);
    font-weight: 400;
}
.nosotros-nav{
    color: var(--black);
    font-weight: 400;
}
.nosotros-nav circle{
    stroke: var(--black);
}
#nosotros-body{
    transition: all 500ms ease;
    background: var(--white);
}
.nosotros-nav .menu-item{
    background: var(--white);
}


/******************************** SECTION 1 *****************************/

#nosotros-section1{
    width: 100vw;
    height: 80vh;
    position: relative;
}
#nosotros-h2-container{
    position: sticky;
    bottom: 15%;
    right: 3%; 
    transform-origin: right bottom;
}
.nosotros-overflow{
    overflow: hidden;
    position: relative;
}
.inner-nosotros-overflow{
    position: relative;
    bottom: -100px;
}
#nosotros-section1 h2{
    font-family: 'DM Sans', sans-serif;
    color: var(--black);
    font-size: 5vw;
    line-height: 5.35vw;
    font-weight: 500;
    text-align: right;
    position: relative;
}
#nosotros-section1 .orange-text{
    transition: all 500ms ease;
}
#nosotros-section1-line-container{
    position: sticky;
    bottom: 10%;
    right: 3%;
}
#nosotros-section1-line{
    height: 1px;
    width: 93vw;
    background-color: var(--black);
    opacity: 0;
}
#nosotros-section1-line-container h6{
    font-family: 'DM Sans', sans-serif;
    color: var(--black);
    font-size: 15px;
    margin-bottom: 30px;
}
.description2{
    margin-top: 100px;
}
.description { white-space: normal; }
.description .word { white-space: nowrap; }
.description span { opacity: 1; }     /* importante: neutraliza el .description span {opacity:.1} viejo */
.description .char { display: inline-block; opacity: 0.1; will-change: opacity; }






/******************************** SECTION 2 *****************************/


#nosotros-section2{
    padding: 150px 3% 3% 3%;
}
#nosotros-section2 h4{
    font-family: 'DM Sans', sans-serif;
    font-size: 4vw;
    color: var(--white);
    line-height: 4vw;
    width: 70vw;
}


#close-section{
    width: 100%;
    height: 300px;
}



/************************************************** SERVICIOS *******************************************************/



/*********************** ESTILOS ANIMACION SERVICIOS *****************************/


.works-overflow{
    overflow: hidden;
    position: relative;
    transition: color 300ms ease;
}
.inner-works-overflow{
    position: relative;
    bottom: -50px;
}

/*********************************************************************************/



#works-section{
    width: 92vw;
    padding: 10% 3% 10% 3%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
#works-section-title h3{
    font-family: 'DM Sans', sans-serif;
    font-size: 2.3vw;
    line-height: 2.5vw;
    font-weight: 500;
}
#works-section-list{
    width: 60vw;
    position: relative;
}
.works-item{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    position: relative;
    padding: 3% 2% 3% 2%;
    overflow: hidden;
}
.works-item:before{
    content:'';
    background: var(--orange);
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -100%;
    left: 0;
    transition: all 300ms ease;
}
.works-item:hover:before{
    bottom: 0;
}
.works-item:hover .works-overflow{
    color: white;
}
.works-item h4{
    font-family: 'DM Sans', sans-serif;
    font-size: 2vw;
}
.work-item-black h4{
    color: var(--black);
}
.work-item-black p{
    color: var(--orange);
}
.works-item p{
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
}
.work-item-orange h4{
    color: var(--orange);
}
.work-item-orange p{
    color: var(--black);
}
.works-item-line{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background: var(--black);
}


/************************************************** CONTACTO *******************************************************/

.contact-nav{
    width: 48vw;
    z-index: 1;
}
.contact-nav circle{
    stroke: var(--black)
}
.contact-nav .menu-item{
    background: var(--white);
}
.contact-nav .menu-item p{
    color: var(--black);
}
#contact-body{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
}
#contact-section{
    background: var(--white);
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    overflow: hidden;
    position: relative;
}
#contact-photo-container{
    width: 53vw;
    height: 100vh;
    position: relative;
}
#contact-photo{
    background: url(https://res.cloudinary.com/dqzbqx9ob/image/upload/v1770312383/team-work_srmbpq.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    position: absolute;
    right: 0%;
    bottom: 0%;
    overflow: hidden;
}
#form-info-container{
    width: 47vw;
    padding: 7%;
}
#form-info-container h2{
    font-family: 'DM Sans', sans-serif;
    font-size: 4vw;
    line-height: 3.8vw;
}
#form-info-container p{
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    color: var(--black);
    margin-top: 30px;
    width: 550px;
}
#button-contact-container{
    margin-top: 50px;
}




/************************************ FORMULARIO *********************************/

#name{
    margin-top: 60px;
}
input{
    background: none;
    display: block;
    width: 100%;
    padding: 10px 5px 10px 5px;
    margin-top: 30px;
    border: none;
    border-bottom: 1px solid var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
}
textarea{
    background: none;
    display: block;
    width: 100%;
    padding: 10px 5px 5px 5px;
    margin-top: 50px;
    border: none;
    border-bottom: 1px solid var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
}
.btn-primary{
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    padding: 5px 20px;
    border-radius: 30px;
    background: var(--orange);
    position: relative;
    overflow: hidden;
    transition: color 100ms ease;
    width: 100%;
    border: none;
    margin-top: 30px;
}
input:focus{
    outline: none;
    color: white;
}
textarea:focus{
    outline: none;
    color: white;
    transition: all 500ms ease;
    pointer-events: none;
}
.form-item{
    position: relative;
    width: 66%;
    margin-top: 30px;
}
#form-text-item{
    width: 80%;
}
.form-item label{
    position: absolute;
    left: 5px;
    bottom: 10px;
    font-family: 'DM Sans', sans-serif;
    color: var(--white);
    font-size: 17px;
    transition: all 500ms ease;
    pointer-events: none;
}
input:focus~label,
input:valid~label{
    color: var(--black);
    bottom: 45px;
    font-size: 12px;
}
textarea:focus~label{
    color: var(--black);
    bottom: 60px;
    font-size: 12px;
}
.bar{
    position: relative;
    display: block;
    width: 100%;
}
.bar:before{
    content: '';
    height: 1px;
    width: 0;
    bottom: 0;
    left: 0;
    position: absolute;
    background: var(--black);
    transition: all 500ms ease;
}
input:focus~.bar:before{
    width: 102%;
}
input:valid~.bar:before{
    width: 102%;
}

#hidden-form{
    width: 55vw;
    height: 100vh;
    background-color: var(--orange);
    position: absolute;
    left: 0;
    top: 0;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    transition: transform 1.5s ease;
    transform: translateX(-100%);
    z-index: 20;
}
#hidden-form-container{
    width: 55vw;
    height: 300vh;
    transition: transform 1s ease;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    overflow: hidden;
}
.form-section{
    width: 100%;
    height: 100vh;
    background: var(--orange);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.form-section h2{
    font-family: 'DM Sans', sans-serif;
    color: var(--white);
    font-size: 4vw;
    line-height: 4vw;
    margin-bottom: 5vw;
}



/********************** NUEVO BOTON ABRIR FORMULARIO *****************************/

.open-form{
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
}
.open-form h3{
    font-family: 'DM Sans', sans-serif;
    color: var(--black);
    font-size: 1.5vw;
}
#arrow-container{
    width: 35px;
    height: 35px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    position: relative;
    margin-left: 15px;
    transition: 300ms ease all;
}
#arrow-container img{
    height: 55%;
    position: absolute;
    left: 13px;
    top: 9px;
    transform: rotate(-90deg);
}
.open-form:hover #arrow-container{
    transform: translateX(10px);
}

#hide-form{
    width: 35px;
    height: 35px;
    position: fixed;
    top: 20px;
    right: 20px;
    border-radius: 50%;
    border: 1px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1;
}
#cross{
    width: 50%;
}

.move-button-container{
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 66%;
    position: relative;
}
#send-button-container{
    width: 80%;
}
.move-button-container .move-form-section{
    width: 48%;
    border: 1px solid var(--white);
    border-radius: 20px;
    padding: 5px 0 5px 0;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    overflow: hidden;
    position: relative;
    transition: all 500ms ease;
}
.move-button-container .move-form-section:before{
    width: 100%;
    height: 100%;
    position: absolute;
    top: -100%;
    left: 0;
    transition: all 500ms ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.siguiente{
    background: var(--white);
    color: var(--orange);
}
.anterior{
    background: var(--orange);
    color: var(--white);
}
.siguiente:before{
    content: 'Siguiente';
    color: var(--orange);
    background: var(--white);
}
.anterior:before{
    content: 'Anterior';
    color: var(--white);
    background: var(--orange);
}
.move-button-container .move-form-section:hover{
    color: var(--orange);
}
.move-button-container .move-form-section:hover::before{
    top: 0;
}
.enviar{
    background: var(--white);
    color: var(--orange);
    margin-top: 0;
}
.enviar:before{
    content: 'Enviar';
    color: var(--orange);
    background: var(--white);
}


/*********************** ANIMACIONES FORMULARIO ***************************/

.overflow-form{
    overflow: hidden;
    position: relative;
}
.overflow-form span{
    position: relative;
    bottom: -100px;
}
.reveal-form-1{
    opacity: 0;
}
.reveal-form-2{
    opacity: 0;
}
.reveal-form-3{
    opacity: 0;
}
#danos{
    margin-bottom: 0;
}
#ultimo{
    margin-bottom: 0;
}



/************************* RESPONSIVE *************************/

@media (max-width: 1300px ){

#header{
    height: 100vh;
    border-bottom-right-radius: 0%;
    border-bottom-left-radius: 0%;
}
#opacity-div-header{
    border-bottom-right-radius: 0%;
    border-bottom-left-radius: 0%;
}
#header-container{
    height: 100vh;
}
#section1Btn{
    display: none;
}
}

@media (max-width: 1030px){

    .lol{
        width: 400px;
        height: 400px;
    }
    #section3 .image{
        height: 35vh;
    }
    .image-text-container{
        bottom: 30px;
    }
    .image-text-container p{
        opacity: 1;
    }
    #section3 .opacity-div {
        background-color: rgba(0,0,0,0.5);
    }
    #section5 h2 {
        font-size: 8vw;
        line-height: 5vw;
        width: 100%;
        text-align: center;
        left: 0;
        top: 35%;
    }
    #section5-circle-button {
        width: 350px;
        height: 350px;
        bottom: 30%;
        right: auto;
    }
    .text {
        width: 40%;
    }

    #name-circle{
        position: relative;
        bottom: 10px;
    }


    /**************** FOOTER ***************/

    footer{
        height: 30vh;
    }
    #footer-container p {
        width: 54%;
    }
    .button-footer-container {
        align-items: flex-start;
        margin-top: 20px;
        flex-direction: column;
    }
    #footer-mail-button{
        margin-left: 0;
        margin-top: 20px;
    }
    #footer-call-button{
        margin-top: 10px;
    }
    #footer-container h3 {
        margin-bottom: 10px;
    }


    /**************** NOSOTROS ***************/

    #works-section {
        margin-bottom: 200px;
    }



    /**************** CONTACTO ***************/

    #contact-photo-container {
        width: 100vw;
        height: 30vh;
        margin-top: 20px;
    }
    #contact-photo {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    #contact-section {
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-direction: column;
    }
    #form-info-container {
        width: 64vw;
        height: auto;
    }

    #contact-section .button-footer-container {
        flex-direction: row;
    }
    #contact-section #footer-call-button{
        margin-top: 0px;
        margin-right: 20px;
    }
    #contact-section #footer-mail-button{
        margin-top: 0px;
    }

    #hidden-form {
        width: 90vw 
    }
    #hidden-form-container {
        width: 68vw;
        padding-left: 10%;
    }
    #show-hide-form-button{
        bottom: 30%;
    }
}


@media (max-width: 1000px ){

    .lol{
        width: 365px;
        height: 365px;
    }

}

/********************************* MOBILE ******************************/

@media (max-width: 767px){

    body{
        width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    }
    p{
        font-size: 20px;
    }
    .cursor{
        display: none;
    }
    .notario{
        position: relative;
        bottom: 1vh;
    }
    .para-vender{
        position: relative;
        bottom: 5px!important;
    }
    /******************* MENU MOBILE *****************/

    .mobile-header{
        display: block;
        width: 100%;
        z-index: 13;
    }
    #hamburger-blanco {
        stroke: var(--white);
        position: relative;
        top: 4px;
    }
    #navbar{
        padding: 6% 3% 0 3%;
        z-index: 11;
        display: flex;
    }
    .hide-nav-item{
        display: none;
    }
    .menu-toggle{
        background: rgba(0,0,0,0.5);
        border: 3px solid var(--white);
        width: 55px;
        height: 55px;
    }
    .mobile-nav li a {
        font-size: 30px;
    }
    .mobile-nav {
        width: 100%;
    }
    .fullpage-menu-inner p {
        font-size: 17px;
        line-height: 27px;
        position: absolute;
        bottom: 60px;
        height: 100px;
    }



    /******************* HEADER MOBILE *****************/

    .header-row, .header-nav-footer {
        padding: 20px 15px;
    }
    .header-mobile-1{
        padding: 20px 15px!important;
    }
    #header {
        background-position-x: center;
        position: absolute;
        top: 0;
        left: 0;
        height: 100vh!important;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }
    #header-info{
        flex-direction: column;
        justify-content: flex-start;
        top: -230px;
        align-items: flex-start;
    }
    #title-header-container h2 {
        font-size: 9vw;
        line-height: 11.6vw;
    }
    #contact-header h3 {
        font-size: 8vw;
    }
    #proindiviso-word {
        line-height: 13vw;
        text-align: left;
    }
    .big {
        font-size: 10vw;
    }
    #contact-header {
        width: 100%;
    }
    .header-info-mobile{
        display: flex!important;
    }
    .header-info-screen{
        display: none!important;
    }
    #title-header-h2-container {
        margin-bottom: 15px;
    }
    #header-info p {
        text-align: left;
    }
    #header-info-text {
        top: -90px;
    }

    /*************************** SECCION 1 **********************************/

    .info-container h2 {
        font-size: 7vw!important;
        line-height: 7.3vw!important;
    }
    .text-info-container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding-top: 1%;
        flex-direction: column;
    }
    .text {
        width: 85%;
    }
    .text p{
        padding: 2%;
    }
    .text-info-container .menu-item {
        padding: 20px 0px;
        display: none;
    }
    .info-container h2 {
        font-size: 7vw;
        line-height: 8.3vw;
    }
    .info-container p {
        color: var(--black);
        font-family: 'DM Sans', sans-serif;
        font-weight: 400;
        margin: 0;
        text-align: left;
        margin-top: 20px;
    }

    #section2 {
        flex-direction: column;
        margin-top: 50px;
    }
    #section2 h3 {
        font-size: 8vw;
    }
    .lol {
        width: 250px;
        height: 250px;
    }


        /*************************** SECCION 3 **********************************/

    .image-text-container p {
        font-size: 20px;
    }
    #section3 .orange-text{
        font-weight: 600;
    }
    #section3 .opacity-div{
        background: rgba(0,0,0,0.7);
    }
    .image-text-container {
        bottom: 0px;
        height: 175px;
    }
    #section3{
        margin-top: 50px;
    }
    #section3-image-container {
        flex-direction: column;
    }
    .image-section3 {
        width: 97%;
        height: 50vh;
        margin-top: 10px;
    }
    #section3 .image {
        height: 50vh;
    }

    #section5-circle-button {
        width: 200px;
        height: 200px;
        bottom: 30%;
        right: auto;
    }


    .section-name {
        display: none;
    }

    /********************* FOOTER ********************/

    footer {
        height: 90vh;
        margin-top: 0;
    }
    #column-2 {
        flex-direction: column;
        width: 100%;
    }
    #footer-container {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    #footer-container h3 {
        font-size: 8vw;
    }
    #footer-container p {
        width: 80%;
    }

    footer #footer-mail-button {
        margin-left: 0;
        margin-top: 10px;
        margin-left: 20px;
    }
    footer .button-footer-container {
        flex-direction: row;
    }
    #column-2 p {
        width: 100%;
    }
    #name-circle {
        bottom: 0px;
    }
    .footer-list-container{
        margin-top: 30px;
    }


    /********************** SECCION 5 *********************/

    #section5 h2 {
        font-size: 8vw;
        line-height: 9vw;
        top: 27%;
    }
    .line-down{
        display: block;
    }


    /********************** NOSOTROS **********************/

    #works-section-list {
        width: 105vw;
        margin-top: 30px;
    }
    .works-item{
        width: 90vw;
        height: 17vw;
    }
    #works-section {
        padding-top: 150px;
        margin-bottom: 0;
        flex-direction: column;
    }
    #works-section-title h3 {
        font-size: 6.3vw;
        line-height: 6.5vw;
    }
    .works-item h4 {
        font-size: 5.3vw;
        line-height: 5.4vw;
        text-align: right;
        width: 66vw;
    }
    .works-item p {
        font-size: 17px;
    }
    #nosotros-section2 h4 {
        font-size: 6vw;
        line-height: 6vw;
        width: 85vw;
    }
    .description2 {
        margin-top: 70px;
    }
    #close-section {
        height: 20vh;
    }



    /********************** CONTACTO **********************/


    .desktop-footer-mail-button{
        display: none;
    }
    .mobile-footer-mail-button{
        display: block;
    }
    #button-contact-container {
        margin-top: 30px;
    }
    #contact-section {
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-direction: column;
    }
    .proindivisos-item{
        width: 200px;
    }
    #form-info-container {
        width: 86vw;
    }
    #form-info-container p {
        width: 100%;
        margin-top: 20px;
    }
    #form-info-container h2 {
        font-size: 7vw;
        line-height: 6.8vw;
    }
    .open-form h3 {
        font-size: 5.5vw;
    }
    #contact-photo-container {
        width: 100vw;
        height: 30vh;
        margin-top: 0px;
    }
    #contact-photo {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    #hidden-form {
        width: 100vw;
        z-index: 20;
    }
    #hidden-form-container {
        width: 100vw;
        padding-left: 0;
    }
    .form-section h2 {
        font-size: 7vw;
        line-height: 7vw;
    }
    #hidden-form{
        transform: translateX(-110%);
    }
    .form-item {
        width: 80%;
    }
    .move-button-container {
        width: 80%;
    }
}
