/* @import url('accordion.css'); */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;400;600;700;800&display=swap');
:root {
    --color-gris-1: #B2B2B2;
    --color-gris-2: #7d7d7d;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif;
}
body {
    /* overflow: hidden; */
}
p {
    margin: 5px 0;
}
a {
    text-decoration: none;
    color: #000;
}
#wrapper {
    display: flex;
}
#nav {
    padding: 50px 30px;
    height: 100vh;
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    /* position: -webkit-sticky; */
    position: sticky;
    top: 0;
}
#nav .logo {
    display: flex;
    flex-direction: column;
    text-align: center;
}
.nav-logo {
    width: 50%;
    margin: auto;
    text-align: center;
}
.logo span {
    text-transform: uppercase;
    margin-top: 10px;
    font-size: .7em;
    font-weight: 600;
    letter-spacing: .1em;
}
#nav .mobile {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}
#nav ul {
    list-style: none;
    padding-left: 0;
}
#nav a.que, #nav a.como, #nav a.cuando {
    text-decoration: none;
    font-size: 2em;
    color: black;
    transition: all .5s;
}
#nav a:hover {
    color: gray;
}
img.kit-digital {
    width: 120px;
}
#nav-footer {
    display: flex;
    gap: 10px;
}
#nav-footer a {
    text-decoration: none;
    color: #000;
}
.ham {
    display: none;
    cursor: pointer;
    border: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
}
.ham span {
    display: block;
    background-color: orange;
    height: 4px;
    width: 28px;
    margin: 3px auto;
}
#content {
    width: 100%;
    /* height: 100vh; */
}
#screen1 {
    width: 100%;
    max-height: 100vh;
    object-fit: cover;
    padding-bottom: 30px;
    overflow: hidden;
    position: relative;    
}
.slider-text-container {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 1;
    background-image: linear-gradient(to top, rgba(0,0,0,.8) , rgba(0,0,0,0));
}
h1.slider-text {   
    height: 100px;
    width: 70%;
    position: absolute;
    bottom: 190px;
    margin: 0 5%;
    color: white;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px black;
    font-size: 4rem;
    font-weight: 100;
}
h2.slider-text {   
    height: 100px;
    width: 70%;
    position: absolute; 
    bottom: 100px;
    margin: 0 5%;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 5px black;
    font-weight: 400;
}
.slider {
    width: 100%;
    height: 100vh;
}
.slider img {
    width: 100%;
    filter: grayscale(1);
}
section:not(#screen1){
    width: 70%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#que, #como {
    height: 100vh;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
}
.accordions {
    width: 100%;
    max-width: 850px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
#cuando {
    height: 100vh;
    margin: 30px auto;
}
.title {
    margin-left: 16px;
    width: 100%;
}
.divider {
    height: 2px;
    width: 40px;
    background-color: #000;
}
.cuando-preguntas {
    margin-top: 10px;
    margin-bottom: 0;
    margin-left: 16px;
    width: 100%;
}
.cuando-preguntas h3 {
    font-size: 1.3em;
    font-weight: 100;
}
#cuando .modals {
    max-width: 850px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 40px auto;
    justify-content: center;
}
.active-anchor {
    font-weight: 600;
}
.acordeon {
    width: 90%;
    max-width: 120em;
    padding: 2em;
}
.acordeon .bloque {
    /* margin: 0 0 1em;
    padding: 1em; */
}
/* .acordeon .h2 {
    margin: 0 0 1rem;
    color: rgb(178, 178, 178);
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 4em;
    font-weight: 100;
    transition: all .5s ease-in-out;
} */
.acordeon .bloque.activo .h2 {
    /* font-weight: 200; */
    color: black;
}
.acordeon .contenido {
    margin-left: 5px;
    padding: 0;
    overflow: hidden;
    height: 0;
    transition: all .5s ease;
}
#que .acordeon .bloque.activo .contenido {
    height: 10em;
}
#como .acordeon .bloque.activo .contenido {
    height: 20em;
    margin-bottom: 20px;
}
#como .acordeon .bloque.activo .contenido.diagnostico {
    height: 20em;
    margin-bottom: 20px;
}
#como .acordeon .bloque.activo .contenido.diseno {
    height: 10em;
    margin-bottom: 20px;
}
#como .acordeon .bloque.activo .contenido.acompanamiento {
    height: 10em;
    margin-bottom: 20px;
}
.acordeon .bloque.activo .contenido p {
    font-size: 1.2em;
    line-height: 1.4em;
    margin: 5px 0;
}
/* Sobre escribe Bootstrap */
/* Accordion */
.accordion {
    width: 100%;
    --bs-accordion-border-color: none;
    --bs-accordion-active-bg: none;
    --bs-accordion-btn-focus-border-color: none;
    --bs-accordion-active-color: none;
    --bs-accordion-btn-focus-box-shadow: none;
}
.accordion-button.collapsed {
    color: rgb(178, 178, 178);
}
h2 button {
    margin: 0 0 1rem;
    color: rgb(178, 178, 178);
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 2em !important;
    font-weight: 100;
    transition: all .5s ease-in-out;
}
.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-icon);
}
/* Modal */
.btn-custom {
    --bs-btn-border-radius: 0 20px 0 0;
    --bs-btn-hover-bg: #000;
    --bs-btn-focus-box-shadow: 0;
    --bs-btn-hover-border-color: none;
    border: 3px solid var(--color-gris-1);
    width: 240px;
    min-height: 160px;
    text-align: left;
    font-size: 1.3em;
    color: var(--color-gris-2);
    padding: 20px;
    display: flex;
    align-items: flex-end;
}
.modal {
    --bs-modal-width: 600px;
}
.modal-content {
    border-radius: 0;
    padding: 60px;
}
.btn-close:focus {
    box-shadow: none;
}

#clientes{
    width: 100%;
    margin: auto;
    height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 5px auto;
}
#clientes .logos {  
    max-width: 800px;  
    margin: auto;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 5px auto;
}
#contacto {
    width: 70%;
    margin: auto;
    height: 90vh;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 5px auto;
}
.contacto-datos {
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#contacto img {
    width: 40px;
    height: 40px;
    opacity: 1;
    transition: all .5s ease-out;
}
#contacto img:hover {
    opacity: 0.5;
}
.logo-cliente img {
    width: 120px;
    display: block;
    padding: 5px;
    border-radius: 0 15px 0 0;
    border: 2px solid var(--color-gris-1);
    filter: grayscale(1);
    transition: all 0.5s ease-out;
}
.logo-cliente img:hover {
    border: 2px solid rgb(147, 147, 147);
    filter: grayscale(0);
}
@media screen and (max-width:60em){
    body {
        overflow: scroll;
    }
    #wrapper {
        flex-direction: column;
        align-items: center;
    }
    #nav {
        height: 70px;
        padding: 0 0;
        width: 100%;
        background-color: white;
        z-index: 1000;
        /* flex-direction: row; */
    }
    .nav-logo {
        width: 40px;
        position: absolute;
        top: 10px;
        left: 25px;
    }
    .logo span {
        position: absolute;
        top: 15px;
        left: 145px;
        text-align: center;
        display: none;
    }
    #nav ul {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
    }    
    #nav a {
        font-size: 1em;
    }
    #nav a.que, #nav a.como, #nav a.cuando {
        font-size: 1.6em;
    }
    a img.kit-digital {
        margin-top: 20px;
        margin-bottom: 30px;
    }
    ul#nav-footer  {
        width: 100%;
        flex-direction: column;
    }
    #nav .mobile {
        display: none;
        background-color: white;
        width: 100%;
        height: 90vh;
        margin: auto;
        margin-top: 60px;
        padding: 50px;
        align-items: center;
    }
    #nav .mobile.activado {
        display: flex;
    }
    .ham {
        display: block;
        position: absolute;
        top: 17px;
        right: 25px;
    }
    .logo span {
        font-size: .5em;
    }
    .slider {
        height: auto;
    }
    .slider-text-container {
        height: 262px;
    }  
    h1.slider-text {  
        top: 5px;
    }
    h1.slider-text {
        width: 100%;
        font-size: 2rem;
        top: 100px;
    }
    h2.slider-text {
        width: 100%;
        font-size: 1rem;
        bottom: 0;
    }
    section:not(#screen1){
        width: 90%;
        height: auto;
    }
    #que, #como {
        min-width: 300px;
        width: 100%;
        max-width: 360px;
        height: auto;
        padding-top: 80px;
        margin: 30px auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    #cuando { 
        box-sizing: border-box;
        height: auto;
        padding: 80px 0 10px 0;
        flex-wrap: wrap;
        align-content: center;
        gap: 10px;
    }
    .title {
        margin-left: 16px;
        width: 100%;
    }
    .cuando-preguntas {
        width: 90%;
        margin-left: 16px;
    }
    .cuando-preguntas h3 {
        font-size: 1rem;
    }
    .btn-custom {
        width: 320px;
    }
    .accordion-button {
        height: 55px;
        margin: 0;
    }
    #clientes {
        width: 100%;
        height: auto;
        padding-top: 80px;
    }
    .logo-cliente img {
        width: 100px;
    }
    #contacto {
        height: 100vh;
        margin: 30px auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .contacto-datos {
        /* height: 450px;
        display: flex;
        flex-direction: column;
        justify-content: center; */
    }
    .acordeon {
        width: 100%;
        max-width: 120em;
        padding: 1em;
    }
    .acordeon .h2 {
        margin: 0 0 1rem;
        color: rgb(178, 178, 178);
        cursor: pointer;
        width: 100%;
        border: none;
        text-align: left;
        outline: none;
        font-size: 2em;
        font-weight: 100;
        transition: all .5s ease-in-out;
    }
    h2 button {
        font-size: 1.3em !important;
    }
    .acordeon .bloque.activo .contenido {
        width: 90%;
    }
    .acordeon .bloque.activo .contenido p {
        font-size: 1em;
        line-height: 1.2em;
        margin: 5px 0;
    }
    .modal-content {
        border-radius: 0;
        padding: 20px;
    }
}