@import url('colores.css');

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

body header {
    padding: 10px 0;
    box-shadow: 0 -3px 17px -2px grey;
}

body * {
    color: rgb(34, 34, 34);
}

body p {
    text-align: justify;
}

body a:hover {
    color: rgb(34, 34, 34);
}

body header {
    width: 100%;
    position: fixed;
    z-index: 999999;
    background-color: var(--color-verde-ocuro);
}

body header .row {
    display: flex;
    justify-content: space-between;
}

body header .row .navigation a {
    font-weight: bold;
    font-size: 10px;
}

body header .row .navigation ul {
    margin-top: 25px;
}

.logo {
    cursor: pointer;
}

.logo img {
    max-width: 150px;
}

body .imagen-principal {
    position: relative;
    width: 100%;
    z-index: 2;
    overflow: hidden;
}

.imagen-principal .btn-whatsapp {
    display: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(119, 15, 15, 0.408), rgba(119, 15, 15, 0.408));
    z-index: 1;
}

.mobile-only,
.phone {
    display: none;
}

.imagen-principal .mobile-image {
    display: none;
}

/*Estilos del nav*/
body header .row .navigation a {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.container .row .navigation li a {
    color: var(--text-color);
    text-transform: uppercase;
}



.container .row .navigation li .tocwhatsapp {
    display: inline-block;
    padding: 10px 20px;
    background-color: #25D366;
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.desktop-images {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 100px;
}


.empresa-container {
    background-color: var(--color-verde-lima);
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: -25%;
    padding-top: 25%;
    padding-bottom: 8rem;
}

/* Dispositivos centrados */
.devices-row img {
    max-width: 100%;
    height: auto;
}

/* Título y subtítulo en la parte verde */
.titulo-caso {
    font-weight: 1000;
    color: white;
    /* texto blanco */
    margin-bottom: 1rem;
    text-align: left;
    font-family: 'Raleway', sans-serif;
    font-size: 45px;
    text-transform: uppercase;
}

.linea-blanca {
    width: 100%;
    height: 2px;
    background-color: white;
    margin: 0;
    padding: 0;
}

.subtitulo-empresa {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}




.nav-tabs {
    border-bottom: none;
    justify-content: center;
    gap: 23%;
    margin-top: 5%;

}

.nav-tabs .nav-link-casos {
    background: transparent;
    border: none;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-top: 10px;
    font-weight: 100;
    font-family: 'Roboto', sans-serif; 
    font-size: 24px;
}

.nav-tabs .nav-link-casos.active {
    color: white;
    border-bottom: 3px solid var(--color-amarillo);
    background: transparent;
    /*width: 50px;*/
    height: 35px;

}

.nav-link-casos:focus {
    outline: none;
    box-shadow: none;
}

.tab-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-align: left;
}

.tab-content .texto {
    color: var(--text-color);
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
}

.tab-content .texto-info li {
    color: var(--text-color);
    text-align: left;
}

.tab-content .conteiner-img {
    width: 50%;

}

.mobile-wrapper img.mobile-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.empresa .main-column .texto .texto-info p {
    color: var(--text-color);
}

.info-proyectos {
    margin-top: 10%;
}

.info-proyectos .titulo-caracteristica {
    color: #6c6c6c;
    font-size: 45px;
    margin-bottom: 1rem;
    font-weight: 1000;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
}

.info-proyectos .titulo-caracteristica::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--color-verde-lima);
    margin-top: 8px;

}



/* Para tus 2 columnas de “info-proyectos” */
.info-proyectos .tecnologias li {
    margin-bottom: 2rem;
}

.info-proyectos .caracteristicas li,
.info-proyectos .tecnologias li {
    color: #6c6c6c;
    list-style: none;
}

.boton-sitio {
    display: inline-block;
    background: var(--color-verde-ocuro);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    text-decoration: none;
}

.boton-sitio:hover {
    background: var(--color-verde-claro);
}



/* Estilos del contacto */
.contacto-bg {
    background-color: var(--color-verde-lima);
    padding: 3rem 0;
    box-sizing: border-box;
}

.contacto-form {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-color);
}


.contacto-form h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2%;
    letter-spacing: -3px;
    font-family: 'Raleway', sans-serif;
    font-size: 60px;
}


.contacto-form>p {
    color: var(--text-color);
    margin: 0 auto 3rem auto;
    max-width: 500px;
    line-height: 1.5;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
}

.linea-vertical {
    display: block;
    width: 1px;
    margin-right: auto;
    height: 70px;
    background-color: transparent;
    margin: 0rem auto;
    margin-top: -1%;
}


.contacto-form input[type="text"],
.contacto-form input[type="email"],
.contacto-form textarea {
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
}


.contacto-form ::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contacto-form :-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contacto-form ::placeholder {
    color: rgba(255, 255, 255, 0.7);
}


.contacto-form input[type="text"]:focus,
.contacto-form input[type="email"]:focus,
.contacto-form textarea:focus {
    border-color: #fff;
    outline: 1px solid #fff;
}


.mb-3 {
    margin-bottom: 1.5rem;
}


.btn-enviar {
    background-color: var(--color-verde-ocuro);
    color: var(--text-color);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-enviar:hover {
    background-color: var(--color-verde-claro);
}

.g-recaptcha {
    margin: 30px;
}

.tab-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    height: 20px;
}

.indicator {
    width: 40px;
    height: 6px;
    background-color: white;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: var(--color-cafe);
}



/* Footer */
.footer {
    background-color: var(--color-verde-ocuro);
    color: var(--text-color);
    position: relative;
    height: 200px;
    padding: 2rem 1rem;
    box-sizing: border-box;
    font-family: sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: inline-flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.contact-item i {
    color: var(--color-verde-lima);
    font-size: 1.2rem;
}

.contact-item span {
    color: white;
}

.footer-rights p {
    margin: 100px;
    font-size: 0.9rem;
    opacity: 0.8;
    color: var(--text-color);
    text-align: center;
}

.magento-logos {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: end;
}


.magento-logos img {
    width: 60px;
    height: auto;
}

@media (max-width: 1200px) {
    .nav-tabs {
        gap: rem;
    }

    body header .row .navigation a {
        font-size: 12px;
    }

    .titulo-caso {
        font-size: 40px;
    }

}

@media (max-width: 995px) {
    .logo img {
        max-width: 125px;
    }

    .nav-tabs {
        gap: rem;
    }

    body header .row .navigation a {
        font-size: 10px;
    }

    .titulo-caso {
        font-size: 32px;
    }

    .info-proyectos .titulo-caracteristica {
        font-size: 35px;
    }
    .container .row .navigation li .tocwhatsapp {
        font-size: 12px;
        margin-top: -5;
    }


}


@media (max-width: 768px) {


    .navigation {
        display: none;
    }

    .imagen-principal .desktop-images {
        display: none;
    }

    .navigation {
        display: none;
    }


    .logo {
        width: 100%;
        margin-top: -10px;
        text-align: center;
    }

    .logo img {
        max-width: 125px;
        margin-top: 1%;
    }



    .phone {
        width: 400px;
        height: 50px;
        Display: flex;
        position: absolute;
        top: 0;
        left: 0;
        justify-content: center;
        align-items: center;
        margin-top: 20%;

    }

    .phone .content {
        width: 100%;
        height: 91%;
        overflow: hidden;
        margin-left: 5%;
    }

    .phone nav {
        height: 65px;
    }


    .phone #menuToggle {
        display: flex;
        flex-direction: column;
        top: 34px;
        left: 25px;
        z-index: 1;
        -webkit-user-select: none;
        user-select: none;
        position: fixed;
    }

    .phone #menuToggle input {
        display: flex;
        width: 40px;
        height: 32px;
        position: absolute;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
    }

    .phone #menuToggle span {
        display: flex;
        width: 29px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: white;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 5px 0px;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
            background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
            opacity 0.55s ease;
    }

    .phone #menuToggle span:first-child {
        transform-origin: 0% 0%;
    }

    .phone #menuToggle span:nth-last-child(2) {
        transform-origin: 0% 100%;
    }

    .phone #menuToggle input:checked~span {
        opacity: 1;
        transform: rotate(45deg) translate(-3px, -1px);
        background: #36383F;
    }

    .phone #menuToggle input:checked~span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    .phone #menuToggle input:checked~span:nth-last-child(2) {
        transform: rotate(-45deg) translate(0, -1px);
    }

    .phone a {
        font-size: 24px;
    }

    body .carousel-control-next,
    body .carousel-control-prev {
        align-items: end;
    }

    .phone #menu {
        position: absolute;
        width: 400px;
        height: 550px;
        box-shadow: 0 0 10px #85888C;
        margin: -50px 0 0 -50px;
        list-style: none;
        padding: 50px;
        padding-top: 125px;
        background-color: #F5F6FA;
        -webkit-font-smoothing: antialiased;
        transform-origin: 0% 0%;
        transform: translate(-100%, 0);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }

    .phone #menu li {
        padding: 10px 0;
        transition-delay: 2s;
    }

    .phone #menuToggle input:checked~ul {
        transform: none;
    }

    .imagen-principal .mobile-image {
        display: block;
        width: 100%;
        height: auto;
        margin: 0 auto;
        padding: 10px;
        margin-top: 18%;
    }

    .titulo-caso {

        margin-top: 35%;
    }

    .empresa-container {
        background-color: var(--color-verde-lima);
        text-align: center;
        position: relative;
        z-index: 1;
        margin-top: -45%;
        padding-top: 45%;
        padding-bottom: 8rem;

    }

    .nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .nav-item {
        margin: 10px 0;
        /* Espaciado entre los botones */
    }

    .imagen-principal .btn-whatsapp {
        display: block;
        position: fixed;
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 10px;
        background-color: #25d366;
        color: white;
        border-radius: 50px;
        text-align: center;
        font-size: 30px;
        box-shadow: 2px 2px 3px white;
        outline: none;
        z-index: 100;
    }

    .imagen-principal .float-wsp-button i {
        font-size: 40px;
        margin-top: 10px;
        margin-left: 3px;
    }

    .fa-whatsapp:before {
        color: white;
    }

    .nav-link-casos {
        font-size: 1.5em;
        font-weight: bold;
        text-transform: uppercase;
        color: white;
        background: none;
        border: none;
        text-align: center;
        margin-top: 10px;
    }



    .tab-content .texto {
        margin: 10%;
        text-align: justify;
    }

    .boton-sitio {
        margin: 20%;
        margin-left: 30%;
        font-size: 0.9rem;
    }

    .info-proyectos .tecnologias li {
        margin-bottom: 0rem;
        margin-top: 5%;
    }

    .info-proyectos .titulo-caracteristica {
        font-size: 25px;
    }

    .tab-content .texto-info li {
        text-align: justify;
        margin-right: 10%;
    }
    .devices-row img {
        max-width: 110%;
    }







    /*===== 7) SECCIÓN "CONTACTO" =====*/
    .contacto-bg {
        padding: 1rem 0;
    }

    .contacto-form>p {
        max-width: 90%;
        text-align: justify;
    }

    .contacto-form h2 {
        font-size: 2.5rem;


    }

    .linea-vertical {
        height: 50px;
        margin-top: 2%;
    }

    .btn-enviar {
        margin: 10%;
    }

    /*===== 8) FOOTER =====*/
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-rights p {
        margin: 2rem 0 0 0;
    }

    .magento-logos {
        right: 0.5rem;
        bottom: 0.5rem;
    }

    .magento-logos img {
        width: 30px;
        height: auto;
    }

    .magento-logos img {
        display: none;
    }



}

@media (max-width: 575px) {
    .images-casos {
        display: none;
    }
}

@media (max-width: 550px) {

    .info-proyectos .titulo-caracteristica {
        font-size: 30px;
    }

    .boton-sitio {
        margin-left: 36%;
    }

    .g-recaptcha {
        margin: 1%;
    }
}

@media (max-width: 400px) {
    .phone #menu {
        width: 335px;
    }

    .logo img {
        max-width: 110px;
        margin-top: 3%;
    }


    .imagen-principal .mobile-image {
        margin-top: 25%;
    }

    .info-proyectos .titulo-caracteristica {
        font-size: 20px;
    }

    .g-recaptcha {
        margin: -2%;
    }
}

@media (max-width: 300px) {
    .titulo-caso {
        font-size: 23px;
    }

    .contacto-form h2 {
        font-size: 30px;
    }

    .g-recaptcha {
        margin: -5%;
    }
}