/* This file is intentionally left blank. */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}

/* buttons */
.button01 {
    font-family: 'Raleway', 'Open Sans', sans-serif;
    font-weight: 800;
    background-color: #CBA859;
    color: #000000;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}
.button01:hover {
    background-color: #B38B4A;
}
.button02 {
    font-family: 'Raleway', 'Open Sans', sans-serif;
    font-weight: 800;
    background-color: #2D424E;
    color: #FFFFFF;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}
.button02:hover {
    background-color: #1F2A33;
}
.link {
    font-family: 'Raleway', 'Open Sans', sans-serif;
    font-weight: 800;
    background-color: transparent;
    border: none;
    color: #CBA859;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
}
.link:hover {
    color: #B38B4A;
}

.tit01 {
    font-family: 'Raleway', 'Open Sans', sans-serif;
    font-weight: normal;
    font-size: 32px;
    line-height: 40px;
    color: #333333;
}
.tit01--grey {
    color: #333333;
}
.tit01--white {
    color: #FFFFFF;
}
.tit02 {
    font-family: 'Raleway', 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 25px;
    color: #505050;
}
.tit02--grey {
    color: #333333;
}
.tit02--white {
    color: #FFFFFF;
}

.txt01{
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 26px;
}
.txt01--grey{
    color: #333333;
}
.txt01--white{
     color: #FFFFFF;  
}

.txt02 {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 24px;
    text-align: left;
}
.txt02--grey{
    color: #333333;
}
.txt02--white{
     color: #FFFFFF;  
}

.txt03 {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 20px;
    color: #505050;
}

.txt03--orange{
    color: #95461F;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background-color: #FFFFFF;
    box-shadow: #cccccc 0px 2px 4px 0px;
}
.header .center{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0;
}
.header .logo {
   display: block;
   width: 77px;
   height:40px;
   background-image: url('../img/relatta-color.svg');
   background-size: contain;
   background-repeat: no-repeat;
}
.header .nav-links {
    display: flex;
    gap: 1.5rem;
}
.header .menu {
    display: block;
    width: 24px;
    height: 24px;
    background-image: url('../img/ico-menu.svg');
    background-size: contain;
    background-repeat: no-repeat;

}
.header .menu[aria-expanded="false"]{
    background-image: url('../img/ico-menu.svg');
}
.header .menu[aria-expanded="true"]{
    background-image: url('../img/ico-cerrar-02.svg');
}
.header .nav {
    display: none;
}

/* Nav visible state (toggled by script) */
.header .nav.nav--open {
    display: block;
    position: absolute;
    top: 64px;
    right: 16px;
    background: #FFFFFF;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 10;
}

.header .close-nav {
    display: block;
    width: 24px;
    height: 24px;
    background-image: url('../img/ico-close.svg');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    position: absolute;
    top: 8px;
    right: 8px;
}

.header .list-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header .list-nav li {
    margin-bottom: 12px;
}

/* Modulos hero */
.hero {
    background-color: #EEECE1;
    text-align: center;
    padding: 96px 16px 48px;
}
.center {
    margin: 0 auto;
    max-width: 1080px;
    width: auto;
    padding: 48px 16px;
}
.hero .keywords {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.hero .keywords span::after{
    content: "•";
    margin-left: 8px;
    color: #505050;
}

.hero .keywords span:last-child::after {
    display: none;
}

.hero .button01 {
    margin-top: 32px;
}

/* Modulo fundadora */
.foundress {
    padding:0;
    text-align: center;
}

.center--foundress{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #2D424E;
    width: auto;
}
.center--foundress figure{
    display: block;
    width: 100%;
    max-width: 280px;
}
.center--foundress figure img{
    display: block;
    padding: 0;
    margin: 0 auto;
    width: 100%;
}
.center--foundress h2, .center--foundress p{
    color: #FFFFFF;
}
.center--foundress .button01 {
    margin-top: 32px;
}

/* Modulo que hacemos */
.queHacemos {

}

.queHacemos .right{
    border-radius: 8px;
    background-color: #EEECE1;
    padding: 16px 24px;
    margin-top: 32px;
}

/* Módulo como intervenimos */
.intervenimos {
    background-color: #EEECE1;
}
.intervenimos .itemsInterv {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;

}

.intervenimos .itemsInterv .tit02{
    text-align: left;
}

.intervenimos .itemsInterv .icoItem{
    display: block;
    width: 48px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;    
}

.intervenimos .itemsInterv .icoItem.activacion{
    background-image: url('../img/ico-activacion.svg');
}

.intervenimos .itemsInterv .icoItem.analisis{
    background-image: url('../img/ico-analisis.svg');
}

.intervenimos .itemsInterv .icoItem.arquitectura{
    background-image: url('../img/ico-arquitectura.svg');
}

.intervenimos .itemsInterv .icoItem.preparacion{
    background-image: url('../img/ico-preparacion.svg');
}

.intervenimos .itemsInterv .icoItem.impacto{
    background-image: url('../img/ico-impacto.svg');
}
.intervenimos .button01 {
    margin-top: 32px;
}

/* Módulo encrucijada */
.encrucijada {
}
.encrucijada .itemEncrus {
    background-color: #2D424E;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 16px;
}

/* Módulo imnpacto */
.impacto {
    background-color: #EEECE1;
}
.impacto .itemImpacto{
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    margin-top: 16px;
}
.impacto .button02 {
    margin-top: 48px;
}

/* Módulo servicios */
.servicios .tit01 {
    text-align: center;
}

.servicios .itemServicio{
    margin-top: 32px;
}
.servicios .itemServicio .left figure{
    display: block;
    width: 200px;
    margin: 0 auto;
}
.servicios .itemServicio .left figure img{
    display: block;
    width: 100%;
}

/* Módulo cierre */
.cierre {
    background-color: #EEECE1;
    text-align: center;
}

/* footer */
.footer{
    background-color: #000000;
    text-align: center;
}
.footer .left .txt02, .footer .right .txt02{
   text-align: center;
}
.footer .left {
    position: relative;
}

.footer .left::after{
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -60px;
    width: 120px;
    border-bottom: 1px solid #979797;
}

.footer .right {
    margin-top: 24px;
}

.logoFooter {
    display: block;
    width: 77px;
    height:40px;
    margin: 0 auto;
    background-image: url('../img/relatta-white.svg');
    background-size: contain;
    background-repeat: no-repeat;
}
.linkedIn {
    display: block;
    width: 40px;
    height: 40px;
    background-image: url('../img/ico-linkedin.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin: 8px auto 0;
}

/* lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}
.content-lightbox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 8px;
    width: 80%;
    height: auto;
    max-width: 1200px;
    max-height: 80%;
    overflow-y: auto;
}
.lightbox .cerrar {
    display: block;
    width: 24px;
    height: 24px;
    background-image: url('../img/ico-cerrar.svg');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    position: fixed;
    top: 16px;
    right: 16px;
}

.lightbox.lightbox01 {
    /* display: block; */
}
.lightbox.lightbox02 {
    /* display: block; */
}

/* Tablet y desktop */
@media (min-width: 768px) {
    .tit01 {
        font-weight: 600;
    }
    .button01, .button02 {
        width: auto;
    }

    .header {
        padding: 8px 1rem;
    }
    .header .center{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    .header .logo {
        width: 96px;
        height: 48px;
    }
    .header .nav {  
        display: block;
    }
    .header .nav .list-nav {
        display: flex;
        gap: 1.5rem;
    }
    .header .nav .list-nav li{
        margin: 0;        
    }
    .header .nav .list-nav a {
        text-decoration: none;
        color: #333333;
        font-family: 'Raleway', 'Open Sans', sans-serif;
        
    }
    .header .nav .list-nav a:hover {
        color: #000000;
        cursor: pointer;
        font-weight: 800;
        transition: 0.3s ease;
    }
    .header .menu {
        display: none;
    }

    .hero .tit01{
        font-size: 58px;
        line-height: 1.2;
        font-weight: 600;
    }

    .foundress {
        padding:100px 16px;
    }
    .center--foundress{
        display: flex;
        flex-direction: row;
        border-radius: 12px;
        justify-content: space-between;
        gap: 24px ;
        text-align: left;
    }
    .foundress .btns{
        display: flex;
        flex-direction: column;
        width: auto;
        text-align: left;
    }
    .foundress .btns .link, .foundress .btns .button01{
        width: auto;
        max-width: fit-content;

    }

    .queHacemos .center{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
        padding: 0 16px 100px;
    }

    .intervenimos .center{
        text-align: center;
        padding: 96px 16px;
    }
    .intervenimos .center >.tit01, .intervenimos .center >.txt02{
        text-align: center;
    }
    .intervenimos .contentItemServ {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: 24px;
    }
    .intervenimos .contentItemServ .itemsInterv{
        width: 27%;
    }
    .encrucijada {
        text-align: center;
    }
    .encrucijada .center{
       padding: 96px 16px;
    }
    .encrucijada .center >div {
        display: flex;
        flex-wrap: wrap;
        gap: 2%;
        justify-content: center;
        align-items:space-between;
    }
    .encrucijada .center .itemEncrus{
        width: 44%;
    }
    .encrucijada .center .button01 {
        margin-top: 32px;
    }

    .impacto, .impacto .txt02{
        text-align: center;
    }

    .impacto .center {
        padding: 96px 16px;
    }
     .impacto .center >div{
        display: flex;
        flex-wrap: nowrap;
        gap: 24px;
        justify-content: space-between;
     }
     .impacto .center .itemImpacto{
        width: 30%;
        text-align: left;
        }

    .impacto .center .itemImpacto h3, .impacto .center .itemImpacto p{
        text-align: left;
    }
    
    .servicios {
        text-align: center;
    }

    .servicios .center {
        padding: 96px 16px;
    }
    .servicios .itemServicio {
        display: flex;
        flex-direction: row;
        margin-top: 80px;
        gap: 40px;
        align-items: flex-start;
        justify-content: space-between;
    }
    .servicios .itemServicio .left figure{
        width: 240px;
    }
    .servicios .itemServicio .right {
        text-align: left;
        width: 100%;
    }
    .servicios .itemServicio .right ul{
        padding-inline-start: 16px;
    }
    .servicios .itemServicio .right .button01{
        margin-top: 32px;
    }
    .servicios .center >.txt03 {
        margin-top: 80px;
    }

    .cierre .center {
        text-align: center;
        padding: 96px 16px;
    }

    .cierre .center p, .cierre .center h2 {
        text-align: center;
    }

    .cierre .center .button01 {
        margin-top: 32px;
    }

     .footer .center {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 48px 16px;
    }
}
