* {
    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);
}

.color-acento2 {
    color: rgb(26, 48, 85);
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Garet", sans-serif;
    background-color: rgb(240, 240, 240);
    margin: 0;
    padding: 0;
}

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%;

}

.titulo-asimetrico {
    position: relative;
    background-image: url(../IMG/Deco/Azul.jpg);
    /* color de fondo */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
    /* color del texto */
    padding: 300px;
    /* espacio interno alrededor del texto */
    text-align: center;
    font-size: 20px;
    /* tamaño de texto */
    margin-top: 20vh;
    /* ajusta según sea necesario */
    margin-left: 0px;
    margin-right: 0px;
    clip-path: polygon(0 25%, 100% 0, 100% 75%, 0 100%);
    /* forma del fondo */
}

/* ---------- 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);
}



/* ------ TIPOS SERVICIOS ------*/

.contenedor-ppal {
    display: flex;
}

.container-titulo {
    margin-top: 100px;
    margin-bottom: 0;
    padding-left: calc(15%);
    font-size: 28px;
}

.container-titulo2 {
    margin-top: 50px;
    margin-bottom: 0;
    padding-left: calc(50%);
    font-size: 28px;
}

.container-info-1 {
    max-width: calc(60%);
    flex: 1;
    height: 700px;
    border-radius: 1em;
    overflow: hidden;
    box-shadow: 0 10px 20px #dbdbdb;
    font-family: sans-serif;
    margin: 100px;
    margin-top: 100px;
    margin-right: auto;
    box-shadow: 20px 20px 35px #bebebe,
        -20px -20px 35px #ffffff;
}

.container-info-2 {
    max-width: calc(60%);
    flex: 1;
    height: 700px;
    border-radius: 1em;
    overflow: hidden;
    box-shadow: 0 10px 20px #dbdbdb;
    font-family: sans-serif;
    margin-top: 100px;
    margin-bottom: 250px;
    margin-left: auto;
    margin-right: 100px;
    box-shadow: 20px 20px 35px #bebebe,
        -20px -20px 35px #ffffff;
}

.palette {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.color {
    height: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    letter-spacing: 1px;
    transition: flex 0.1s linear;
}

.color p {
    align-self: center;
    align-items: center;
    justify-content: center;
}

.color h3,
.color span {
    display: none;
    transition: opacity 0.5s linear;
}


.container-info-1 .color:nth-child(1) {
    background: #ffd15c;
}

.container-info-1 .color:nth-child(2) {
    background: rgb(240, 168, 87);
}

.container-info-1 .color:nth-child(3) {
    background: rgb(224, 145, 54);
}

.container-info-1 .color:nth-child(4) {
    background: rgb(194, 114, 23);
}

/* #e76f51; */

.container-info-2 .color:nth-child(1) {
    background: rgb(98, 136, 201);
}

.container-info-2 .color:nth-child(2) {
    background: rgb(76, 104, 153);
}

.container-info-2 .color:nth-child(3) {
    background: rgb(49, 69, 104);
}

.container-info-2 .color:nth-child(4) {
    background: rgb(22, 42, 75);
}

.color:hover {
    flex: 2;
    flex-direction: column;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.color:hover h3,
.color:hover span {
    display: flex;
    padding: 15px 50px;
}

.color:hover p {
    display: none;
}

@media (max-width: 1300px) {
    .contenedor-ppal {
        display: block;
    }

    .container-titulo {
        font-size: 25px;
    }

    .container-titulo2 {
        padding-left: calc(15%);
        font-size: 25px;
        margin-top: 125px;
    }

    .container-info-1 {
        max-width: calc(100%);
        height: 600px;
        margin-right: 100px;
    }

    .container-info-2 {
        max-width: calc(100%);
        height: 600px;
        margin-left: 100px;
        margin-bottom: 100px;
    }
}



/* ---------- IMAGENES CSS ---------- */

.container-imagen-1 {
    margin-left: 100px;
    margin-right: 100px;
    margin-top: 50px;
}

.card {
    width: 450px;
    height: 350px;
    background: #f5f5f5;
    transition: box-shadow .3s ease, transform .2s ease;
    margin-bottom: 100px;
    overflow: hidden;
    position: relative;
}

.card img {
    object-position: center;
    transition: transform .2s ease, opacity .2s ease;
    width: 90%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform .2s ease, opacity .2s ease;
}

/*Hover*/
.card:hover {
    box-shadow: 0 8px 50px #23232333;
}

.card:hover .card-info {
    transform: translateY(-5%);
}

.card:hover .card-social {
    transform: translateY(100%);
    opacity: 1;
}

.card-social__item svg:hover {
    fill: #232323;
    transform: scale(1.1);
}

.card-avatar:hover {
    transform: scale(1.1);
}

.container-imagen-2 {
    margin-left: 100px;
    margin-right: 100px;
    margin-top: 50px;
}

.container-imagen-3 {
    display: none;
    margin-left: 100px;
    margin-right: 100px;
    margin-top: 50px;
}

@media (max-width: 1300px) {
    .container-imagen-1 {
        display: flex;
        flex-direction: row;
        gap: 175px;
    }
    .container-imagen-2 {
        display: none;
    }
    .container-imagen-3 {
        display: flex;
        flex-direction: row;
        gap: 175px;
    }
}


/* ---------- 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;
    }



    /* ---------- Titulo ---------- */

    .titulo-asimetrico {
        padding: 200px;
        font-size: 15px;
        /* tamaño de texto */
        margin-top: 10vh;
    }



    /* ---------- TARJETAS NOSOTROS ---------- */

    .info_cards {
        padding: 150px;
        padding-top: 70px;
    }

    .container-info-1 {
        margin: 15px;
        margin-top: 100px;
        margin-right: 15px;
    }
    
    .container-info-2 {
        margin-top: 100px;
        margin-bottom: 0;
        margin-left: 15px;
        margin-right: 15px;
    }





    /* ---------- IMAGENES CSS ---------- */

    .container-imagen-1 .card:nth-child(2) {
        display: none; 
    }

    .container-imagen-3 .card:nth-child(2) {
        display: none; 
    }


    
    /* ---------- 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;
    }

}