/*
Theme Name: bridgeway
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: Carlos Mora
Description: Tema desarrollado  para Bridgeway
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bridgeway
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

*/

  
  .lenis.lenis-smooth {
    scroll-behavior: auto !important;
  }
  
  .lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
  }
  
  .lenis.lenis-stopped {
    overflow: hidden;
  }
  
  .lenis.lenis-smooth iframe {
    pointer-events: none;
  }

:root {
    /* fentes */
    --fuente-principal: 'Roboto', sans-serif;
    --fuente-secundaria: 'Montserrat', sans-serif;

    /* Colores */
    --verde: #1cbbaf;
    --blanco: #ffffff;
    --negro: #000000;
    --gris: #444444;

}

html {
    box-sizing: border-box;
    font-size: 62.5%;
    height: 100%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: var(--fuente-principal);
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

html.lenis, html.lenis body {
    height: auto;
    overflow-x: hidden;
  }

.site{
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
}

/* headings */
h1,
h2,
h3,
h4 {
    font-family: var(--fuente-secundaria);
    line-height: 1.2;
}

h1 {
    font-size: 5rem;
    margin: 0 0 5rem 0;
    font-weight: 400;
}

h2 {
    font-size: 2.8rem;
    margin: 0 0 2rem 0;
    font-weight: 700;
}

h3 {
    font-size: 1.8rem;
    margin: 0 0 2rem 0;
    font-weight: 400;
}

h4 {
    font-size: 2.4rem;
}

p {
    font-size: 1.3rem;
    line-height: 1;
}


/* globales */

p {
    margin: 0 0 2rem;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    display: block;
}

.container {
    width: min(95%, 120rem);
    margin: 0 auto;
}

/* Header */

.site-header {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 1rem;
}

.site-header .site-branding a img {
    height: auto;
    width: 100%;
    max-width: 15rem;
}

.site-header nav button {
    border: none;
    background-color: rgba(0, 0, 0, 0);
}

.site-header nav {
    position: relative;
}

.site-header nav.main-navigation .menu-menu-1-container {
    display: none;
}

.menu-mobile {
    padding: 2rem 3rem;
    position: fixed;
    height: 100dvh;
    background-color: var(--verde);
    top: 0;
    left: -100%;
    width: 100%;
    transition: all .3s ease-in-out;
    z-index: 3;
}

.menu-mobile.toggled {
    left: 0;
}

.menu-mobile .close-menu-container {
    display: flex;
    justify-content: flex-end;
}

.menu-mobile .menu-menu-1-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100dvh;
    text-align: center;
}
.menu-mobile .menu-menu-1-container ul{
    margin-top: 5rem;
    width: 100%;
}
.menu-mobile .menu-menu-1-container ul li{
    background-color: #26a99f;
    margin-bottom: 1rem;
}

.menu-mobile .menu-menu-1-container ul li a {
    color: var(--blanco);
    display: block;
}

@media only screen and (min-width: 768px) {
    .menu-mobile {
        display: none;
    }

    .site-header nav button {
        display: none;
    }

    .site-header nav.main-navigation .menu-menu-1-container {
        display: block;
    }

    .site-header nav.main-navigation .menu-menu-1-container ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .site-header nav.main-navigation .menu-menu-1-container ul li a {
        color: var(--blanco);
        transition: all 0.3s ease-in-out;
        padding: 1rem 2rem;
    }
    .site-header nav.main-navigation .menu-menu-1-container ul li a:hover {
        background-color: var(--verde);
    }

    .site-header nav.main-navigation .menu-menu-1-container ul li:last-child a {
        background-color: var(--verde);
        padding: 1rem 2rem;
    }
}

/* SECCION1 */

.section1 {
    margin-top: -11rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.section1 img.mobile {
    object-fit: cover;
    height: 100vh;
}
.section1 img.desktop {
    display: none;
}
.section1 .container {
    position: absolute;
    margin-top: 25rem;
    border-radius: 2rem;
    display: flex;
    justify-content: center;
}

.section1 h1 {
    font-size: 2.3rem;
    max-width: 45rem;
    margin: 7rem 0;
    text-align: center;
    line-height: 3.2rem;
}

@media only screen and (orientation: landscape){
    .section1 {
        height: auto;
    }
    
    .section1 img.desktop {
        display: block;
        min-width: 100%;
        height: auto;
    }
    .section1 img.mobile {
        display: none;
    }
    .section1 .container{
        margin-top: 7rem;
    }
    .section1 .container h1{
        max-width: 60rem;
        font-size: 1.7rem;
        text-shadow: 4px 4px 4px rgba(255, 255, 255, 0.5);
    }
}
@media only screen and (min-width: 767px) {
    .section1 h1 {
        font-size: 2.7rem;
        max-width: 50rem;
    }
}

@media only screen and (min-width: 1024px)  and (orientation: landscape){
    .section1 {
        height: auto;
    }
    
    .section1 img.desktop {
        display: block;
        min-width: 100%;
        height: auto;
    }
    .section1 img.mobile {
        display: none;
    }
    .section1 .container{
        background: none;
        height: auto;
        margin-top: 8rem;
        justify-content: flex-start;
    }
    .section1 .container h1{
        text-align: left;
        max-width: 43rem;
        font-size: 2.4rem;
    }

}

/* SECTION2 */
.section2 {
    position: relative;
    background-color: var(--verde);
}

.section2 .col:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: var(--verde);
    height: 13rem;
}

.section2 .col:first-child img {
    display: none;
}

.section2 .col:first-child .container {
    position: absolute;
    text-align: center;
}

.section2 .col:first-child .text-container a {
    padding: 1rem 2rem;
    background-color: var(--negro);
    color: var(--blanco);
    display: none;
}
.section2 .col:first-child .text-container h2 {
    margin-top: 8rem;
}

.section2 .col:last-child {
    background-color: var(--verde);
    padding: 2rem 0 8rem 0;
}

.section2 .col:last-child .container {
    width: min(95%, 120rem);
    margin: 0 auto;
}
.section2 .col:last-child .container a{
    padding: 1rem 2rem;
    background-color: var(--negro);
    color: var(--blanco);
    margin: auto;
    display: block;
    text-align: center;
}

.section2 .col:last-child .cards-container {
    width: min(95%, 120rem);
    margin: 0 auto;
}

.section2 .col:last-child .card {
    border-bottom: 1px solid var(--negro);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 3rem;
    max-width: 40rem;
}
.section2 .col:last-child .card h3{
    text-align: center;
}

.section2 .col:last-child .cards-container .card.no-border {
    border-bottom: none;
}

.section2 .col:last-child .card img {
    margin-bottom: 2rem;
    max-width: 6rem;
}

.section2 .col:last-child .card p {
    text-align: center;
}

@media only screen and (min-width: 600px){
    .section2 .col:last-child .cards-container {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 4rem;
        padding-top: 3rem;
    }
    .section2 .col:last-child .cards-container .card{
        max-width: 30rem;
    }
}


@media only screen and (min-width: 1200px) {
    .section2 {
        display: flex;
    }

    .section2 .col:first-child {
        height: auto;
        overflow: hidden;
        flex: 1.1;
    }

    .section2 .col:first-child img {
        object-fit: none;
        display: block;
    }

    .section2 .col:first-child .container {
        display: flex;
        justify-content: flex-end;
    }

    .section2 .col:first-child .text-container {
        text-align: left;
        max-width: 33rem;
    }
    .section2 .col:first-child .text-container h2 {
        color:var(--blanco)
    }
    .section2 .col:first-child .text-container a {
        display: inline-block;
    }

    .section2 .col:last-child {
        flex: 1.9;
        padding: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .section2 .col:last-child .container {
        width: min(95%, 90rem);
        margin: 0;
    }
    .section2 .col:last-child .container a{
        display: none;
    }


    .section2 .col:last-child .cards-container {
        border-bottom: 1px solid var(--negro);
    }
    .section2 .col:last-child .card {
        border-bottom: none;
        flex: 1;
        max-width: 35rem;
    }

    .section2 .col:last-child .card h3 {
        text-align: center;
    }
}

/* SECTION3 */

.section3 {
    padding: 4rem 0;
    text-align: center;
    background-color: #e2e2e2;
}

.section3 .cards-container .card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
}

.section3 .cards-container .card h3 {
    color: var(--gris);
}

@media only screen and (min-width: 768px) {
    .section3 .cards-container {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 6rem;
        flex-wrap: wrap;
    }
}

/* SECTION4 */

.section4 {
    display: flex;
    flex-direction: column-reverse;
}

.section4 .col:first-child {
    background-color: var(--gris);
    display: flex;
    justify-content: center;
}
.section4 .col:first-child img{
    max-width: 270px;
}

.section4 .col:last-child {
    background-color: var(--verde);
    padding: 3rem 0;
}
.section4 .col:last-child .container h3{
    font-weight: 700;
}
.section4 .col:last-child .linkedin-profile {
    color: var(--negro);
    font-weight: 700;
    cursor: pointer;
}

@media only screen and (min-width: 1200px) {
    .section4 {
        flex-direction: row;
    }

    .section4 .col:first-child {
        flex: 1.1;
        justify-content: flex-end;
    }

    .section4 .col:last-child {
        flex: 1.9;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0 3rem;
    }

    .section4 .col:last-child .container {
        width: min(95%, 90rem);
        margin: 0;
    }
    
}


/* CONTACT PAGE */


.page-template-page-contact header{
    background-color: var(--verde);
}

main.contact {
    padding: 5rem 0;
}
main.contact .container{
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
}
main.contact .container .form-section{

    margin-bottom: 5rem;
}
main.contact .container .form-section .form-content{
    background-color: #e2e2e2;

}
main.contact .container .form-section .form-content {
    background-color: #e2e2e2;

}
main.contact .container .form-section form .inputs,
main.contact .container .form-section .text-container
{
    padding: 3rem 4rem 0 4rem;
}

main.contact .container .form-section form .inputs{
    margin-bottom: 2rem;
}

main.contact .container .form-section form .inputs p{
    margin-bottom: 0;
}
main.contact .container .form-section h1,
main.contact .container .form-section p
{
    margin-bottom: 1rem;
}
main.contact .container .form-section h1{
    font-size: 2rem;
    font-weight: 400;
}
main.contact .container .form-section .text-container p{
    font-size: 1.9rem;
}
main.contact .container .form-section .text-container p a{
    color: var(--negro);
}
main.contact .container .form-section hr{
    margin-bottom: 1rem;
}
main.contact .container .form-section form .wpcf7-text,
main.contact .container .form-section form .wpcf7-textarea
{
    border: none;
    width: 100%;
    margin-bottom: 1rem;
    padding: 2rem;
    display: block;
}

main.contact .container .form-section form .submit{
    background-color: var(--negro);
    padding: 3rem;
}
main.contact .container .form-section form .submit p{
    margin-bottom: 0;
    display: flex;
    justify-content: flex-end;
}
main.contact .container .form-section form .submit p input{
    padding: 1rem 2rem;
    background-color: var(--verde);
    color: var(--blanco);
    border: none;
    cursor: pointer;
}
main.contact .container .form-section form .submit .wpcf7-spinner{
    display: none;
}
main.contact .container .info-section {
    margin-bottom: 2rem;
    overflow: hidden;
}
main.contact .container .info-section  img{
    max-width: 500px;
    object-fit: cover;
}
main.contact .container .info-section .phone{
    background-color: var(--verde);
    padding: 5rem 3rem;
    border-radius: 2rem;
}
main.contact .container .info-section .phone p{
    margin-bottom: 4rem;
}
main.contact .container .info-section .phone a{
    background-color: var(--negro);
    padding: 2rem 2rem ;
    border-radius: 2rem;
    color: var(--blanco);
    font-weight: bold;
}

@media only screen and (min-width: 678px){
    main.contact .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5rem;
    }
}

@media only screen and (min-width: 1024px){

    main.contact .container {
        flex-direction: row;
    }
    main.contact .container .form-section,
    main.contact .container .info-section
    {
        flex: 1;
        height: 600px;
        margin-bottom: 5rem;
    }
    main.contact .container .info-section
    {
        overflow: hidden;
    }
    main.contact .container .info-section img
    {
        object-fit: cover;
        object-position: center;
        max-width: 600px;
    }
    main.contact .container .form-section form .inputs textarea{
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
             box-sizing: border-box;
             /* max-width: 683px; */
    }
}



/* FOTER */
footer {
    background-color: var(--negro);
    color: var(--blanco);
    padding: 5rem 0 0 0;
    margin-top: auto;
}

footer .container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}
footer .container:first-child {
    padding-bottom:5rem;
    text-align: center;
}
footer .container:first-child h3{
    margin-top: 1rem;
}
footer .container:first-child p{
    margin-bottom: 0;
}
footer .container:last-child {
    border-top: 1px solid #ffffff;
    padding-top: 3rem;
}

footer .container .col:nth-child(2) ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
footer .container .col:nth-child(2) h3 {
    text-align: center;
}
footer .container .col:nth-child(2) li a .rs-text {
    display: none;
}

footer .container .col:nth-child(2) li a::before {
    content: '';
    width: 3rem;
    height: 3rem;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 3rem;
    display: block;
}

footer .container .col:nth-child(2) li a[href*='facebook']::before{
    background-image: url('./img/07-redes-1.svg');
}
footer .container .col:nth-child(2) li a[href*='instagram']::before{
    background-image: url('./img/07-redes-2.svg');
}
footer .container .col:nth-child(2) li a[href*='x']::before{
    background-image: url('./img/07-redes-3.svg');
}
footer .container .col:nth-child(2) li a[href*='youtube']::before{
    background-image: url('./img/07-redes-4.svg');
}
footer .container .col:nth-child(2) li a[href*='linkedin']::before{
    background-image: url('./img/07-redes-5.svg');
}
footer .container .col:nth-child(2) li a[href*='tiktok']::before{
    background-image: url('./img/07-redes-6.svg');
}

footer .container .col:last-child a {
    background-color: var(--verde);
    color: var(--blanco);
    padding: 1rem 2rem;
}
footer .container .col.lets-talk a{
    color: var(--blanco);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
footer .container .col.lets-talk a svg{
    width: 2.5rem;
    height: 2.5rem;
    stroke-width: 1px;
}

@media only screen and (min-width: 768px) {
    footer .container {
        justify-content: space-between;
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
    }
    footer .container .col{
        height: 9.5rem;
    }
    footer .container .col:first-child {
        border-left: 2px solid var(--blanco);
        padding-left: 2rem;
    }
    footer .container .col:nth-child(2) h3 {
        text-align: left;
    }
    footer .container .col:last-child{
        display: flex;
        align-items: flex-end;
    }

    footer .container .col.lets-talk a{
        flex-direction: row;
    }
    footer .container .col.lets-talk a svg{
        margin-right: 0.3rem;
    }
}