* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
    font-size: 5em;
}

h2 {
    font-size: 2.7em;
}

h3 {
    font-size: 2em;
}

p {
    font-size: 1.25em;
}

ul {
    list-style: none;
}

.color-acento {
    color: rgb(234, 132, 13);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Garet", sans-serif;
    background-color: rgb(240, 240, 240);
}

button {
    display: inline-block;
    margin: 15px;
    padding: 15px 30px;
    text-align: center;
    font-size: 18px;
    letter-spacing: 1px;
    text-decoration: none;
    color: rgb(219, 123, 13);
    background: transparent;
    cursor: pointer;
    transition: ease-out 0.5s;
    border: 2px solid rgb(219, 123, 13);
    border-radius: 10px;
    box-shadow: inset 0 0 0 0 rgb(219, 123, 13);
}

button:hover {
    color: white;
    box-shadow: inset 0 -100px 0 0 rgb(219, 123, 13);
}

button:active {
    transform: scale(0.9);
}

.container {
    max-width: 1400px;
    margin: auto;
}

#map {
    height: 450px;
    width: 100%;

}

/* ---------- HEADER ---------- */

header {
    background-color: rgb(26, 48, 85);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}

header .logo {
    margin: 0;
    padding: 25px 30px;
}

header img {
    width: 116.4px;
    height: 61.2px;
}

header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

header nav {
    flex-direction: row;
    padding-right: 20px;
    padding-top: 50px;
}

header a {
    color: rgb(241, 241, 241);
    padding: 5px 15px;
    text-decoration: none;
    font-weight: bold;

}

header a:hover {
    color: rgb(234, 132, 13);
}



/* ---------- TARJETAS NOSOTROS 2---------- */

.info_cards2 {
    margin: 150px;
    margin-top: 185px;
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%); /* Desplazar desde la derecha fuera de la pantalla */
    }
    to {
        transform: translateX(0); /* Desplazar hacia el centro a la posición original */
    }
}


.tarjeta2 {
    display: flex;
    position: relative;
    max-width: calc(100%);
    height: auto;
    background-color: #f2f8f9;
    border-radius: 10px;
    padding: 2em 1.2em;
    margin-top: 75px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffc876, #ff9651);
    font-family: Arial, Helvetica, sans-serif;
}

.tarjeta2:nth-child(2) {
    background: linear-gradient(to bottom, #4070ad, #1b5896);
}

.tarjeta2:before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -16px;
    right: -16px;
    background: linear-gradient(135deg, #364a60, #384c6c);
    height: 40px;
    width: 40px;
    border-radius: 32px;
    transform: scale(1);
    transform-origin: 50% 50%;
    transition: transform 0.8s ease-out;
}

.tarjeta2:hover:before {
    transform: scale(100);
}

.texto2 {
    padding: 50px;
    color: #262626;
}

.texto2 h2 {
    color: #452c2c;
    margin-bottom: 25px;
}

.tarjeta2:hover .texto2 {
    transition: all 0.8s ease-out;
    color: rgba(255, 255, 255, 0.8);
}

.tarjeta2:hover .texto2 h2 {
    transition: all 0.8s ease-out;
    color: #ffffff;
}

.info_cards2 img {
    width: 300px;
    height: 350px;
}

@media (max-width: 1140px) {
    .info_cards2 img {
        display: none;
    }
}

.go-corner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 2em;
    height: 2em;
    overflow: hidden;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #6293c8, #384c6c);
    border-radius: 0 4px 0 32px;
}

.go-arrow {
    margin-top: -4px;
    margin-right: -4px;
    color: white;
    font-family: courier, sans;
}


/* ---------- BOTON DE WHATSAPP ---------- */

.container-wsboton {
    background-color: #2e6329;
    border: 1px solid #fff;
    position: fixed;
    z-index: 3;
    border-radius: 100%;
    bottom: 30px;
    right: 30px;
    padding: 25px;
    transition: ease 0.3s;
    animation: efecto 1.2s infinite;
}

.container-wsboton:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.wsboton {
    width: 65px;
    transition: ease 1s;
}

@keyframes efecto {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.85);
    }

    100% {
        box-shadow: 0 0 0 25px rgba(0, 0, 0, 0);
    }
}



/* ---------- FOOTER ---------- */

.pie-pagina {
    width: 100%;
    background-color: rgb(26, 48, 85);
}

.pie-pagina .grupo-1 {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 50px;
    padding: 45px 0px;
}

.pie-pagina .grupo-1 .box figure {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-pagina .grupo-1 .box figure img {
    width: 250px;
}

.pie-pagina .grupo-1 .box h2 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 20px;
}

.pie-pagina .grupo-1 .box p {
    color: #efefef;
    margin-bottom: 10px;
}

.pie-pagina .grupo-1 .red-social a {
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    margin-right: 10px;
    background-color: 054164;
    text-align: center;
    transition: all 300ms ease;
}

.pie-pagina .grupo-1 .red-social a:hover {
    color: #f98d00;
}

.pie-pagina .grupo-2 {
    background-color: rgb(21, 39, 70);
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}

.pie-pagina .grupo-2 small {
    font-size: 15px;
}

@media (max-width: 720px) {

    /* ---------- HEADER ---------- */

    header {
        position: relative;
        transition: none;
        justify-content: flex-start;
        width: auto;
    }

    header .logo {
        transition: none;
        justify-content: flex-start;
        width: auto;
    }

    header .container {
        flex-direction: column;
        align-items: center;
    }

    header nav {
        flex-direction: column;
        text-align: center;
        padding-bottom: 25px;
        padding-top: 5px;
    }



    /* ---------- TARJETAS NOSOTROS ---------- */

    .info_cards2 {
        margin: 15px;
    }



    /* ---------- BOTON DE WHATSAPP ---------- */

    .wsboton {
        width: 45px;
    }



    /* ---------- FOOTER ---------- */

    .pie-pagina .grupo-1 {
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
        padding: 35px 0px;
    }

}