@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow-x: hidden
    
}
html{
    scroll-behavior: smooth;
}
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    box-sizing: border-box;
}

#hero {
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-overlay {
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

/***************Whatsapp flotante********************************/
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.whatsapp-float img {
    width: 120%;
    height: auto;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}
/*******************************************/

:root {
    --primary-color: #0d314e;
    --secondary-color: #333333;
}

* {
    margin: 0;
    padding: 0;
}


h1,
h2,
h3,
h4,
h5 {
    font-family: "Montserrat", sans-serif;
}

h4{
    text-align: center;
}

p,
a,
li,
label,
input {
    font-family: "Work Sans", sans-serif;
}

/* Header Nav */

header {
    position: relative;
    width: 100%;
}

header nav {
    background-color: white;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    box-sizing: border-box;
}

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

#logo a img {
    width: 210px;
    height: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    list-style: none;
    margin: 5px 12px;
}

ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    transition: .4s;
    padding: 5px;
    font-size: 18px;
}

ul li a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

ul li:nth-child(5) a {
    background: var(--primary-color);
    padding: 12px 20px;
    color: #fff;
    border-radius: 4px;
}

ul li:nth-child(5) a:hover {
    border: 0;
}

/* Header- Hero */

#hero2 {
    width: 100%;
    background: url("../img/hero.jpg") no-repeat center center;
    background-size: cover;
    padding: 230px 0 410px;
    position: relative;
    text-align: center;
    

}

#hero {
    width: 100%;
    background: url("../img/maquina3.jpg") no-repeat center center;
    background-size: cover;
    padding: 230px 0 410px;
    position: relative;
    text-align: center;
    
}

#hero .hero-overlay {
    background: transparent;
    backdrop-filter: blur(5px);
    display: inline-block;
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: 18%;
    transform: translate(-50%, -50%);
    z-index: 1;
}


#hero h1,
#hero p {
    color: #fff;
    margin: 0;
}

#hero h1 {
    font-size: 40px;
    margin-bottom: 25px;
}

#hero p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.7;
}

button {
    cursor: pointer;
    visibility: hidden;
}

a {
    text-decoration: none;
}




/* Main Section1 - info - fotos */

main {
    position: relative;
    width: 100%;
}

main #section1 {
    background: #fff;
    position: relative;
    width: 100%;
    padding-bottom: 140px;
}

#section1 .fila article {
    padding: 40px 50px;
    text-align: left;
    box-shadow: 0px 4px 8px -5px #999;
}

#section1 .fila article h2 img {
    width: 60px;
    margin-right: 20px;
}

#section1 .fila article:nth-child(1) {
    background: white;
}

#section1 .fila article:nth-child(1) h2 {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

#section1 .fila article:nth-child(1) p {
    padding-left: 80px;
    margin-bottom: 15px;
    line-height: 1.7;
}

#section1 .fila article:nth-child(1) button,
#section1 .fila article:nth-child(2) button {
    display: none;

}


#section1 .fila article:nth-child(2) {
    background: var(--primary-color);
}

#section1 .fila article:nth-child(2) h2 {
    color: #fff;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

#section1 .fila article:nth-child(2) p {
    color: #fff;
    padding-left: 80px;
    margin-bottom: 15px;
    line-height: 1.7;
}

#section1 .welcome {
    padding-top: 200px;
}

#section1 .welcome article {
    box-shadow: 0 0 0 0 transparent;
}

#section1 .welcome .info {
    width: 45%;
    padding-right: 30px;
}

.welcome .info h3 {
    margin-bottom: 40px;
    font-size: 40px;
}

.welcome .info h3 b {
    color: var(--primary-color);
}

#section1 .welcome .info p {
    padding-left: 0 !important;
    margin-top: 14px;
    font-weight: 400;
    line-height: 1.8;
}

#section1 .welcome article.info button.aboutUs {
    display: block;
    background: #f5f5f5;
    color: var(--primary-color);
    padding: 20px 40px;
    margin-left: 0;
    margin-top: 40px;
    border: 0;
    visibility: visible;
    font-weight: 700;
    border-radius: 20px;
}

#section1 .welcome article.info button.aboutUs:hover {
    display: block;
    background: var(--primary-color);
    color: white;
    padding: 20px 40px;
    margin-left: 0;
    margin-top: 40px;
    border: 0;
    visibility: visible;
    font-weight: 700;
    transition: .4s;
}


#section1 .welcome article.fotos {
    position: relative;
    background-color: #fff;
}

.welcome article.fotos div {
    position: absolute;
    z-index: 99;
    bottom: -96px;
    left: -82px;
}

.destacados {
    position: absolute;
    top: -90px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Section2 - info-section2 - cards */

#section2 {
    background: #f5f5f5;
    padding: 120px 0 210px;
    width: 100%;
    position: relative;

}

#section2 .info-section2 {
    width: 60%;
}

#section2 .info-section2 h3 {
    font-size: 40px;
    margin-bottom: 30px;
}

#section2 .info-section2 h3 b {
    color: var(--primary-color);
}

#section2 .info-section2 p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
}

#section2 .fila button {
    background-color: #0d314e;
    padding: 20px 40px;
    color: #fff;
    border: 0;
    border-radius: 20px;
}

#section2 .fila button:hover {
    border: 0;
    background-color: #333333;
}

#section2 .fila .card {
    width: 30%;
    max-width: 290px;
    padding: 50px;
    box-shadow: 0px 4px 8px -5px #999;
    margin-top: 50px;
    border-bottom: 4px solid var(--primary-color);
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#section2 .fila .card::after {
    width: 100%;
    height: 0;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--primary-color);
    z-index: 1;
    transition: .4s;
}

#section2 .fila .card:hover::after {
    height: 100%;
}

#section2 .fila .card:hover h4,
#section2 .fila .card:hover p,
#section2 .fila .card:hover li {
    color: #fff;
}

#section2 .fila .card img {
    width: 120px;
    display: flex;
    height: auto;
    
    z-index: 9;
    position: relative;
    border-radius: 200px;
    margin-bottom: 20px;
}

#section2 .fila .card h4 {
    font-size: 25px;
    margin-top: 14px;
    margin-bottom: 14px;
    z-index: 9;
    position: relative;
    transition: .4s;
}

#section2 .fila .card p {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.8;
    z-index: 9;
    position: relative;
}

#section2 .fila .card ul {
    padding-left: 20px;
    margin-top: 14px;
    transition: .4s;
}

#section2 .fila .card ul li {
    margin: 10px 0;
    font-weight: 400;
    z-index: 9;
    position: relative;
    transition: .4s;
}

/* Section3 - Card-vertical , info-card */

#section3 {
    width: 100%;
    position: relative;
    background: url("../img/Ambiente.jpg");
    background-size: cover;
}

#section3 .fila .card-vertical {
    width: 25%;
    padding: 850px 40px 40px;
    border-right: 1px solid #fff;
    background: transparent;
    transition: .4s;
    position: relative;
}

#section3 .fila .card-vertical:hover {
    /* background: #ffffff40; */
    backdrop-filter: blur(10px);
}


#section3 .card-vertical h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 14px;
}

#section3 .card-vertical h2 {
    color: white;
    font-size: 34px;
    margin-bottom: 14px;
    line-height: 1.7;
}

#section3 .card-vertical p {
    color: transparent;
    margin-bottom: 14px;
    font-size: 15px;
    transition: .4s;
}

#section3 .card-vertical button {
    background: #ffffff40;
    color: #fff;
    border: 0 transparent;
    padding: 14px 20px;
    font-size: 18px;
}

#section3 .card-vertical .info-card {
    position: absolute;
    bottom: 30px;
    transition: .4s;
}

#section3 .card-vertical:hover .info-card {
    bottom: 130px;
}

#section3 .card-vertical:hover p {
    color: #fff;
}

/* Section4 */

#section4 {
    width: 100%;
    padding: 60px 0;
    position: relative;
    text-align: center;
    color: white;
    background: var(--primary-color);
}

#section4 h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

#section4 h2 b {
    color: #ff7e44;
}

#section4 p {
    font-size: 18px;
}


/* Section5 */

#section5 {
    width: 100%;
    padding: 120px 0;
    text-align: center;
}

#section5 h2 {
    font-size: 34px;
    margin-bottom: 20px;
}

#section5 h2 b {
    color: var(--primary-color);
}

#section5 p {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
}

#section5 .card-metas {
    width: 25%;
    text-align: center;
    margin-top: 70px;
}

#section5 .card-metas i {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 14px;
}

#section5 .card-metas h3 {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 14px;
}

#section5 .card-metas h4 {
    font-size: 26px;
    margin-bottom: 14px;
}

/* Footer */

.footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    padding: 20px 0;
    box-sizing: border-box;
}

.footer-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1300px;
    margin: 100px auto;
}

.footer-header {
    text-align: center;
    margin-bottom: 10px;
}

.footer-header h2 {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    font-size: 30px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 70px;
}

.footer-content {
    display: flex;
    width: 100%;
    gap: 20px;
    align-items: stretch;
}

.footer-left,
.footer-right {
    padding: 20px;
}

.footer-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    background-color: var(--primary-color);
    border-radius: 10px;
}

.footer-right {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 10px;
}

.footer-right iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.contact-item i {
    font-size: 30px;
    color: #ffffff;
}

.contact-text h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
}

.contact-text p {
    margin: 3px 0;
    font-size: 14px;
    color: #ffffff;
}

.contact-text a {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

.contact-text a:hover {
    color: #bcc1c7;
}


.social-media {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
}

.social-icon1 {
    font-size: 25px; 
    color: #ffffff;
    transition: color 0.3s ease;
}
.social-icon2 {
    font-size: 25px; 
    color: #ffffff;
    transition: color 0.3s ease;
}
.social-icon3 {
    font-size: 25px; 
    color: #ffffff;
    transition: color 0.3s ease;
    
}
.social-icon4 {
    font-size: 25px; 
    color: #ffffff;
    transition: color 0.3s ease;
}
.social-icon1:hover {
    color: blue;
}
.social-icon2:hover {
    color: rgb(0, 174, 255);
}
.social-icon3:hover {
    color: rgb(255, 0, 76);
}
.social-icon4:hover {
    color: green;
}


.footer-right iframe {
    width: 100%;
    height: 450px; 
    border: 0;
}



/* Estilos nosotros.html */

#hero1{
    background-image: url('../img/mv71.jpg');
    width: 100%;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    height: 800px;
}
.card-wrapper {
    display: flex;
    justify-content: center;
    gap: 33px;
    padding: 113px 20px;
    margin-top: 0px;
    flex-wrap: wrap;
    /*background-image: url('../img/mv4.jpeg');*/
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    
}

.cardUs {
    
    background: linear-gradient(180deg, #000000,#000000ce);
    color: rgb(255, 255, 255);
    padding: 40px;
    border-radius: 22px;
    width: 45vw;
    height: 30vh;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.cardUs h2 {
    margin-top: 0;
    margin-bottom: 0px;
    font-size: 2em;
}

.cardUs p {
    margin: 0;
    font-size: 1.2em;
    padding-top: 0px;
    padding-bottom: 38px;
    padding-left: 15px;
    padding-right: 15px;
}




/* Responsive Footer */

/* Tablet */
@media screen and (max-width: 820px) {
    .footer-container {
        margin: 50px auto;
        padding: 0 20px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-left,
    .footer-right {
        width: 89%;
        padding: 15px;
    }

    .footer-right iframe {
        height: 300px;
    }

    .footer-header h2 {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .contact-item {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    .contact-text p {
        margin: 3px 0;
        font-size: 14px;
        color: #ffffff;
    }
    .nav-menu {
        z-index: 20;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        display: none;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }
}

/* Phone */
@media screen and (max-width: 520px) {
    .footer-container {
        margin: 30px auto;
        padding: 0 10px;
    }

    .footer-header h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
    }

    .footer-left,
    .footer-right {
        width: 89%;
        padding: 10px;
    }

    .footer-right iframe {
        height: 200px;
    }

    .contact-item {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .contact-item i {
        font-size: 24px;
    }

    .contact-text h3 {
        font-size: 14px;
    }

    .contact-text p,
    .contact-text a {
        font-size: 14px;
    }

    .social-icon {
        font-size: 18px;
    }

    .nav-menu {
        z-index: 20;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        display: none;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }
}

/* Responsive Estilos Nav */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 4px 0;
    background-color: #000;
    transition: background-color 0.3s;
}

.nav-menu {
    display: flex;
    flex-direction: row;
}

@media (max-width: 954px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .nav-menu li a {
        padding: 10px 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu {
        z-index: 20;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        display: none;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }
}

/* Tablet */
@media screen and (max-width: 820px) {
    header #hero {
        padding: 100px 20px;
    }

    #hero h1 {
        font-size: 35px;
    }

    #hero p {
        font-size: 16px;
    }

    .fila.destacados {
        display: block;
        position: relative;
    }

    #section1 .welcome {
        padding-top: 14px;
    }

    #section1 .welcome article.fotos img {
        width: 220px;
    }

    #section1 .welcome article.fotos div img {
        width: 150px;
    }

    .welcome article.fotos div {
        bottom: -9px;
        left: -17px;
    }

    .welcome .info h3 {
        font-size: 35px;
    }

    #section2 {
        padding: 60px 0 105px;
    }

    #section2 .info-section2 {
        width: 60%;
        margin: 0 auto;
        padding-left: 20px;
    }

    #section2 .fila button {
        margin-right: 20px;
    }

    #section2 .info-section2 h3 {
        font-size: 35px;
    }

    #section2 .fila .card {
        padding: 30px;
        margin: 40px 6px 0;
    }

    #section2 .fila .card h4 {
        font-size: 20px;
    }

    p {
        font-size: 16px !important;
    }

    #section4 p {
        padding: 0 20px;
    }

    #section4 h2 {
        font-size: 35px;
    }

    #section5 .card-metas h4 {
        font-size: 16px;
    }

    .nav-menu {
        z-index: 20;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        display: none;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }
}

/* Phone */
@media screen and (max-width: 520px) {
    header #hero {
        padding: 196px 10px;
        text-align: center;
        margin-bottom: 100px;
    }
    #hero .hero-overlay{
        bottom: 3px;
    }
    #hero .btn-secondary {
        padding: 20px;
    }

    #hero h1 {
        font-size: 25px;
    }

    #section1 .fila article {
        padding: 30px 8px;
    }

    #hero p {
        font-size: 16px;
    }

    .fila.destacados {
        display: block;
        position: relative;
    }

    #section1 .welcome article.info button.aboutUs {
        margin-left: 50px;
    }

    #section1 .welcome {
        padding-top: 14px;
        display: block;
    }

    #section1 .welcome .info {
        width: 90%;
        margin: 0 auto;
        padding: 0;
        text-align: center;
    }

    #section1 .welcome article.fotos img {
        width: 300px;
        margin-left: 35px;
    }

    #section1 .welcome article.fotos {
        text-align: center;
    }

    #section1 .welcome article.fotos div img {
        width: 200px;
    }

    .welcome article.fotos div {
        bottom: -45px;
        left: 7px;
    }

    .welcome .info h3 {
        font-size: 35px;
    }

    #section2 {
        padding: 60px 0 105px;
    }

    #section2 .fila {
        display: block;
    }

    #section2 .info-section2 {
        padding-left: 20px;
    }

    #section2 .fila button {
        margin-right: 20px;
        margin: 20px auto;
        display: block;
    }

    #section2 .info-section2 h3 {
        font-size: 35px;
    }

    #section2 .fila .card {
        padding: 30px;
        margin: 40px 6px 0;
        width: 72%;
        margin: 10px auto;
    }

    #section2 .fila .card h4 {
        font-size: 20px;
    }

    #section4 {
        padding: 50px 0;
    }

    #section4 p {
        padding: 0 20px;
    }

    #section4 h2 {
        font-size: 25px;
    }

    #section5 h2 {
        font-size: 25px;
    }

    #section5 .card-metas h4 {
        font-size: 16px;
    }

    #section5 {
        padding: 40px 0;
    }

    #section5 .fila {
        display: block;
    }

    #section5 .card-metas {
        width: 90%;
        margin: 20px auto;
    }

    .nav-menu {
        z-index: 20;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        display: none;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }
}


@media screen and (max-width: 768px) {
    #section3 .fila {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #section3 .fila .card-vertical {
        width: 80%;
        padding: 40px 20px;
        margin-bottom: 30px;
        border-right: none;
    }
    #section3 .fila .card-vertical.hover {
        /* background: #ffffff40; */
        backdrop-filter: blur(10px);
    }
    #am:hover {
        /* background: #ffffff40; */
        backdrop-filter: blur(10px);
    }
    #section3 .card-vertical h3 {
        font-size: 24px;
    }

    #section3 .card-vertical h2 {
        font-size: 28px;
        line-height: 1.5;
    }

    #section3 .card-vertical button {
        font-size: 16px;
    }

    #section3 .card-vertical .info-card {
        position: static;
        margin-top: 20px;
    }

    #section3 .card-vertical:hover {
        background: transparent;
        backdrop-filter: none;
    }

    #section3 .card-vertical:hover .info-card h2,
    #section3 .card-vertical:hover .info-card p {
        color: white;
    }

    .nav-menu {
        z-index: 20;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        display: none;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }
}


.btn-primary,
.btn-secondary {
    display: block;
    margin: 0 auto;
}

#hero .btn-secondary {
    margin: 20px auto;
    padding: 10px 20px;
}

/* Nosotros.html Responsive */


@media (max-width: 768px) {
    .card-wrapper {
        padding: 60px 10px;
    }

    .cardUs {
        width: 80vw;
        height: auto;
        padding: 20px;
    }

    .cardUs h2 {
        font-size: 1.5em;
    }

    .cardUs p {
        font-size: 1em;
        padding-top: 10px;
        padding-bottom: 50px;
    }
}


@media (max-width: 480px) {
    .card-wrapper {
        padding: 40px 5px;
    }

    .cardUs {
        width: 90vw;
        height: auto;
    }

    .cardUs h2 {
        font-size: 1.2em;
    }

    .cardUs p {
        font-size: 0.9em;
        padding-top: 5px;
        padding-bottom: 30px;
    }
}