*{
    margin: 0;
    padding: 0;
    border: 0;
}
html{
    font-display: swap;
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 16px;
    color: #080808;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}
body{
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
/* animations */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* header */
header{
    height: 6rem;
    display: flex;
    border-bottom: 1px solid #ccc;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    transition: transform 0.3s ease-in-out;
}
.header-hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}
header section{
    width: 80vw;
    display: flex;
    margin: auto;
    justify-content: space-between;
    align-items: center;
}
#iconHeader{
    height: 2.4rem;
    width: 2.4rem;
    margin: auto 0;
}
#iconHeader img{
    object-fit: contain;
    height: 100%;
    width: 100%;
}
#btnCloseNav, #btnOpenNav {
    display: none; 
    background: none;
    cursor: pointer;
    margin: auto 0;
}
#logoMenu{
    display: none;
    width: 2.4rem;
}
nav{
    display: flex;
    margin-left: auto;
}
nav ul{
    display: flex;
}
nav ul li{
    list-style: none;
    margin: auto 1rem;
}
nav ul li a{
    color: #080808;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: underline;
    text-decoration-color: #fff;
    transition: 0.4s; 
}
nav ul li a:hover{
    text-decoration-color: #080808;
}
.btnLlamada{
    height: 3rem;
    width: 6.5rem;
    font-size: 0.8rem;
    margin: auto 0 auto 1rem;
    border: 1px solid #080808;
    background-color: #080808;
    color: #fff;
    align-content: center;
    text-align: center;
    transition: ease 0.5s;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.btnLlamada:hover{
    color: #080808;
    background-color: #fff;
}
/* main */
main{
    width: 80vw;
    margin: auto;
    display: flex;
    flex-direction: column;
    margin-top: 6rem;
}
h1{
    width: 1px;
    height: 1px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
#secText1{
    display: flex;
    flex-wrap: wrap;
    height: 15rem;
    align-content: center;
}
#slogan{
    font-size: 3rem;
    font-weight: 500;
    align-content: center;
}
#sloganDesc{
    font-size: 0.9rem;
    color: #999;
    width: 19rem;
    margin-left: auto;
    align-content: center;
}
#sloganDesc b{
    color: #7f7f7f;
}
#imgInicio{
    width: 80vw;
    border-radius: 0.2rem;
    height: 34rem;
    object-fit: cover;
}
#pAlcance{
    text-align: center;
    margin: 7rem auto 4rem auto;
    font-size: 1.8rem;
    width: 34rem;
    font-weight: 500;
}
#sectionCTA{
    display: flex;
    justify-content: center;
    align-content: center;
    margin: 2rem auto 6rem auto;
    width: 40rem;
}
#sectionCTA p{
    border: 1px solid #a5a5a5;
    border-radius: 3rem;
    height: 3.4rem;
    width: 19rem;
    text-align: center;
    align-content: center;
    color: #a5a5a5;
}
#sectionCTA p b{
    color: #353535;
}
#sectionCTA a{
    display: flex;
    align-content: center;
    text-align: center;
    border: 1px solid #353535;
    border-radius: 3rem;
    height: 3.4rem;
    width: 3.4rem;
    transition: 0.2s;
    margin-right: 0.5rem;
    color: #fff;
    background-color: #353535;
}
#flechaCTA{
    margin: auto;
    width: 1.5rem;
    height: 1.5rem;
    filter: invert();
}
#sectionCTA a:hover{
    rotate: 90deg;
}
#servicios{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
}
.boxes{
    background-color: #F0F1F3;
    height: 35rem;
    border-radius: 0.2rem;
    overflow: hidden;
}
.box1 {
    grid-area: 1 / 1 / 2 / 3;
}
.box1 section{
    display: flex;
    justify-content: space-between;
}
.box1 section section{
    display: flex;
    flex-direction: column;
    width: 30rem;
    height: 35rem;
    justify-content: center;
    margin: 0 auto;
}
.box1 section section h4, .box1 section section p{
    margin: 1.2rem 2rem;
}
.box1 section section h4{
    font-size: 2rem;
    font-weight: 500;
}
.box1 section section p{
    color: #6a6a6a;
    font-size: 0.9rem;
}
#puntosC{
    font-weight: 400;
    font-size: 1rem;
    background-color: #080808;
    color: #fff;
    width: 13rem;
    text-align: center;
    padding: 1.4rem;
    border-radius: 3rem;
}
#iPhone{
    object-fit: cover;
    width: 24rem;
    margin: 4rem auto 0 auto;
}
.box2 {
    grid-area: 2 / 1 / 3 / 2;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}
.box2 h2{
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    width: 75%;
    margin: 6rem auto 0.5rem auto;
}
.box2 p{
    color: #6a6a6a;
    font-size: 0.9rem;
    width: 70%;
    margin: 2rem auto;
    font-weight: 400;
    text-align: center;
}
#nuestrosServicios{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: auto;
    padding: 1rem 0;
    position: relative;
}
.carousel-container {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
    width: max-content;
}
.carousel-container article {
    flex: 0 0 auto;
    width: 10rem;
    height: 10rem;
    background-color: #fff;
    color: #080808;
    border-radius: 0.2rem;
    transition: 0.2s;
    margin: 1rem;
}
.carousel-container:hover {
    animation-play-state: paused;
}
.carousel-containers article{
    margin: 1rem;
    width: 10rem;
    height: 10rem;
    background-color: #fff;
    color: #080808;
    border-radius: 0.2rem;
    transition: 0.2s;
}
.carousel-container article:hover{
    scale: 1.05;
}
.carousel-container article h4{
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    margin: 1rem 0;
    color: #e9aa36;
}
.carousel-container article p{
    font-size: 0.7rem;
    font-weight: 400;
    text-align: center;
    margin: 1rem auto;
    width: 70%;
}
.box3 {
    grid-area: 2 / 2 / 3 / 3;
    display: flex;
    justify-content: center;
    overflow: hidden;
}
#iPhones{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
/* proyectos */
#proyectos{
    margin: 4rem auto;
    width: 80vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#tituloProyectos{
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    padding: 0 10vw;
    align-items: center;
    margin-bottom: 3rem;
    background-color: #080808;
    color: #fff;
    height: 10rem;
}
#tituloProyectos h2{
    width: 10rem;
    text-align: center;
    font-size: 3rem;
    font-weight: 500;
}
#tituloProyectos p{
    font-weight: 400;
    margin: 0;
    font-size: 0.9rem;
    color: #999;
    width: 19rem;
    margin-left: auto;
    align-content: center;
}
#tituloProyectos b{
    color: #efeeee;
}
#contProyectos{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}
#contProyectos a{
    width: 32rem;
    margin: 1rem 0;
    height: 40rem;
    background-color: #fff;
    color: #080808;
    border-radius: 0.2rem;
    transition: 0.2s;
    overflow: hidden;
}
#contProyectos a img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
#contProyectos a:hover{
    scale: 1.02;
    cursor: pointer;
}
/* contacto */
#contacto{
    margin: 4rem auto;
    width: 80vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#contacto h2{
    font-size: 3rem;
    font-weight: 500;
    margin: 0 auto;
}
#cta{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}
#contacto p{
    text-align: center;
    width: 100%;
    margin: 0 auto;
    color: #6a6a6a;
}
form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 40%;
    margin-top: 2rem;
}
form label{
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    text-align: left;
    width: 100%;
    margin-top: 1rem;
    color: #6a6a6a;
}
form input{
    width: 100%;
    margin: 0.2rem auto 0.5rem auto;
    border: 1px solid #ccc;
    border-radius: 0.2rem;
    padding: 1rem;
}
form textarea{
    width: 100%;
    margin: 0.5rem auto;
    border: 1px solid #ccc;
    border-radius: 0.2rem;
    padding: 1rem;
    resize: vertical;
    height: 10rem;
}
form button{
    width: 10rem;
    margin: 0.5rem auto;
    border: 1px solid #ccc;
    border-radius: 0.2rem;
    padding: 1rem;
    background-color: #080808;
    color: #fff;
    cursor: pointer;
    transition: 0.4s ease;
    font-weight: 500;
}
form button:hover{
    background-color: #fff;
    color: #080808;
}
#contactoInfo{
    display: flex;
    flex-direction: column;
    width: 40%;
    height: 100%;
    background-color: #080808;
    color: #fff;
    padding-top: 2rem;
    border-radius: 0.2rem;
}
#contactoInfo h3{
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 auto;
    text-align: center;
}
#contactoInfo p{
    font-size: 0.9rem;
    font-weight: 400;
    margin: 1rem auto;
    text-align: center;
    color: #ccc;
}
#contactoInfo p a{
    color: #e2e2e2;
}
#redesContacto{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
#contactoInfo h4{
    font-size: 1.2rem;
    font-weight: 400;
    margin: 1.2rem auto 0 auto;
    text-align: center;
}
#btnAgendarLlamada{
    height: 3rem;
    width: 6.5rem;
    font-size: 0.8rem;
    margin: 2rem auto;
    border: 1px solid #fff;
    background-color: #fff;
    color: #080808;
    align-content: center;
    text-align: center;
    transition: ease 0.5s;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
#btnAgendarLlamada:hover{
    color: #fff;
    background-color: #080808;
}
/* footer */
footer{
    width: 80vw;
    padding: 20vw;
    margin: auto;
    padding: 3rem 0 0 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.sectionFooter{
    display: flex;
    flex-direction: column;
    min-width: 20rem;
}
#sectionFooter1{
    width: 30%;
}
#sectionFooter2{
    width: 40%;
}
#logoFooter{
    object-fit: contain;
    height: 2.4rem;
    width: 2.4rem;
    margin-bottom: 1rem;
}
.sectionFooter p{
    width: 80%;
    font-size: 0.8rem;
    color: #898989;
    margin: auto 0;
}
#navFooter ul{
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
}
#navFooter ul li{
    margin: auto 0.5rem;
    list-style: none;
}
#navFooter ul li a{
    text-decoration: underline;
    text-decoration-color: #ffffff00;
    color: #080808;
    transition: 0.5s;
}
#navFooter ul li a:hover{
    text-decoration-color: #080808;
}
#redes{
    display: flex;
    justify-content: right;
    margin: auto 0;
}
#redes a img{
    height: 2rem;
    width: 2rem;
    margin: 0.3rem;
}
#redes p{
    margin: 0.5rem;
    width: 6rem;
}
#copy{
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: #ccc;
    margin: 4rem auto 2rem auto;
}

.custom-alert {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.custom-alert.show-alert {
    display: flex;
}

.alert-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 80%;
}

.alert-content button {
    margin-top: 10px;
    padding: 5px 15px;
    cursor: pointer;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-center {
    text-align: center;
}

.container {
    width: 80vw;
    margin: auto;
}

/* Breakpoints para responsive */
@media screen and (max-width: 1300px) {
    #slogan{
        font-size: 2.8rem;
    }
    #sloganDesc{
        font-size: 0.8rem;
        width: 15rem;
    }
    .container{
        width: 90vw;
    }
    #iPhone{
        width: 22.5rem;
        margin-left: 2rem;
    }
    .box1 section section{
        width: 25rem;
    }
    #contProyectos a{
        width: 28rem;
        height: 36rem;
    }

}
@media screen and (max-width: 1150px) {
    #slogan{
        font-size: 2.5rem;
    }
    #sloganDesc{
        font-size: 0.7rem;
        width: 12rem;
    }
    #iPhone{
        margin-left: 2.5rem;
    }
    .box1 section section{
        width: 22rem;
    }
    .box2 h2{
        font-size: 1.8rem;
        margin-top: 2rem;
    }
    #contProyectos a{
        width: 24rem;
        height: 34rem;
    }
}
@media screen and (max-width: 1000px) {
    #slogan{
        font-size: 2.2rem;
    }
    #sloganDesc{
        font-size: 0.6rem;
        width: 10rem;
    }
    #imgInicio{
        height: 28rem;
    }
    #iPhone{
        width: 20rem;
    }
    .boxes{
        height: 30rem;
    }
    .box1 section section{
        height: 30rem;
        width: 20rem;
    }
    #contProyectos a{
        width: 22rem;
        height: 30rem;
    }
    #contactoInfo h3{
        width: 80%;
    }
    #contactoInfo h4{
        width: 80%;
    }
}
@media screen and (max-width: 900px) {
    #contProyectos{
        justify-content: center;
    }
    #contProyectos a{
        width: 34rem;
        height: 26rem;
    }
    .boxes{
        height: 30rem;
    }
    .box1 section section{
        height: 30rem;
    }
}@media screen and (max-width: 860px) {
    #slogan{
        font-size: 2rem;
    }
    #sloganDesc{
        font-size: 0.6rem;
        width: 8.5rem;
    }
    #iPhone{
        width: 16rem;
    }
}
@media screen and (max-width: 800px) {
    #logoMenu{
        display: flex;
        position: absolute;
        top: 5rem;
    }
    #navHeader{
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        width: 80vw;
        height: 100vh;
        background-color: #080808;
        color: #fff;
        z-index: 1000;
        margin: 0;
        padding: 0;
        top: 0;
        left: 0;
    }
    #navHeader ul{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #navHeader ul li{
        margin: 1rem auto;
    }
    #navHeader ul li a{
        color: #fff;
    }
    #navHeader .btnLlamada{
        margin: 1rem auto;
        background-color: #fff;
        color: #080808;
        border: 1px solid #fff;
    }
    .box1 section section{
        width: 20rem;
    }
    #btnOpenNav {
        display: block; 
    }
    footer{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #sectionFooter1{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #sectionFooter1 img{
        margin: 1rem;
    }
    #sectionFooter1 p{
        margin: 1.5rem auto;
        text-align: center;
        width: 60%;
    }
    #sectionFooter2{
        width: 100%;
    }
    #navFooter{
        width: 100%;
        justify-content: center;
        margin: 1rem 0;
    }
    #navFooter ul{
        justify-content: center;
        align-items: center;
    }
    #redes{
        margin: 1rem 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    #redes p{
        width: 100%;
        text-align: center;
    }
    
}
@media screen and (max-width: 790px) {
    #secText1{
        height: 10rem;
    }
    #slogan{
        font-size: 1.8rem;
    }
    #sloganDesc{
        font-size: 0.6rem;
        width: 8.5rem;
    }
    #pAlcance{
        font-size: 1.5rem;
        width: 26rem;
    }
    #sectionCTA{
        width: 100%;
    }
    .boxes{
        height: 25rem;
    }
    .box1 section section{
        height: 25rem;
    }
    .box1 section section h4{
        font-size: 1.5rem;
    }
    .box1 section section p{
        font-size: 0.8rem;
    }
    .box2 h2{
        font-size: 1.5rem;
    }
    .box2 p{
        font-size: 0.8rem;
        margin: 1rem auto;
    }
}
@media screen and (max-width: 750px) {
    #secText1{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
    }
    #slogan{
        font-size: 1.6rem;
        width: 100%;
        text-align: center;
        margin: 3rem auto 0 auto;
    }
    #sloganDesc{
        font-size: 0.8rem;
        width: 70%;
        margin: 0.5rem auto 3rem auto;
        text-align: center;
    }
    #servicios{
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, minmax(min-content, auto));
    }
    .box1{
        grid-area: 1 / 1 / span 2 / 1;
        height: 45rem;
    }
    .box1 #cont{
        flex-direction: column-reverse;
    }
    #iPhone{
        width: 55%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0rem;
    }
    .box2{
        grid-area: 3/1/3/1;
    }
    .box3{
        grid-area: 4/1/4/1;
    }
    #iPhones{
        width: auto;
    }
    #contactoInfo{
        width: 100%;
    }
    #cta{
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    form{
        width: 100%;
    }
    form label{
        width: 80%;
        margin: 1rem auto 0rem auto;
    }
    form input{
        width: 80%;
        margin: 0.2rem auto;
    }   
    form textarea{
        width: 80%;
        margin: 0.2rem auto;
    }
    #contactoInfo{
        padding-top: 1rem;
        width: 80%;
        margin-top: 3rem;
    }
    #contactoInfo h3{
        width: 80%;
    }
    #contactoInfo h4{
        width: 80%;
    }  
}
@media screen and (max-width: 700px) {
    #tituloProyectos{
        height: 8rem;
    }
    #tituloProyectos h2{
        font-size: 2.2rem;
    }
    #tituloProyectos p{
        font-size: 0.8rem;
        width: 12rem;
    }
}
@media screen and (max-width: 560px) {
    #pAlcance{
        font-size: 1.4rem;
        width: 100%;
    }
    #iPhone{
        width: 80%;
    }
}
@media screen and (max-width: 450px) {
    html{
        font-size: 14px;
    }
    #tituloProyectos{
        height: 12rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #tituloProyectos h2{
        font-size: 1.9rem;
        margin: 0.5rem auto;
    }
    #tituloProyectos p{
        width: 75%;
        margin: 0.5rem auto;
        text-align: justify;
    }
    #sectionCTA p{
        font-size: 0.9rem;
    }
}
@media screen and (max-width: 360px) {
    .box1 #cont h4{
        font-size: 1.2rem;
        width: 80%;
        margin: 0.5rem auto;
    }
    #cont p.hidden{
        font-size: 0.8rem;
        width: 80%;
        margin: 0.5rem auto;
    }
    #puntosC{
        font-size: 0.8rem;
        width: 60%;
        margin: 0.5rem auto;
    }
    footer{
        width: 100%;
    }
}
@media screen and (max-width: 320px) {
    main{
        width: 90vw;
    }
    #imgInicio{
        width: 100%;
    }
    .box1 #cont h4{
        font-size: 1.2rem;
        width: 90%;
        margin: 0.5rem auto;
    }
        #cont p.hidden{
        font-size: 0.8rem;
        width: 90%;
        margin: 0.5rem auto;
    }
    #puntosC{
        font-size: 0.8rem;
        width: 70%;
        margin: 0.5rem auto;
    }
}
@media screen and (max-width: 300px) {
    html{
        font-size: 12px;
    }
    #contactoInfo{
        width: 90%;
    }
    #contacto h2{
        font-size: 2.2rem;
    }
    #navFooter{
        width: 100%;
    }
    #navFooter ul{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #copy{
        width: 100%;
    }
    
}
@media screen and (max-height: 500px) {
    #logoMenu{
        display: none;
    }
}

button[type="submit"]:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    border-color: #cccccc;
}

button[type="submit"]:disabled:hover {
    background-color: #cccccc;
    color: #ffffff;
}