* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}


body {
    background: #f4f7f6;
    color: #063b63;
    line-height: 1.6;
}


/* HEADER */

header {

    background: #075b36;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    position: sticky;
    top: 0;
    z-index: 100;

}


.logo {

    width: 250px;
    height: 100px;

}


nav a {

    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;

}


nav a:hover {

    color: #b8ffcf;

}



/* HERO */

.hero {

    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 70px;
    background: white;

}


.hero div {

    width: 45%;

}


.hero h1 {

    font-size: 48px;
    color: #075b36;
    line-height: 1.2;

}


.hero p {

    font-size: 22px;
    margin: 25px 0;

}


.hero img {

    width: 45%;
    border-radius: 25px;
    box-shadow: 0 10px 25px #aaa;

}




.boton,
button {

    display: inline-block;
    background: #087a3c;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    font-size: 17px;

}


.boton:hover,
button:hover {

    background: #064d2b;

}



/* SECCIONES */


section {

    padding: 80px;

}


section h2 {

    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    color: #075b36;

}


section p {

    font-size: 20px;
    max-width: 900px;
    margin: auto;

}




/* SERVICIOS */


.grid {

    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;

}


.grid div {

    background: white;
    padding: 35px;
    border-radius: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px #ccc;

}


.grid h3 {

    color: #087a3c;

}



/* FORMULARIO */


form {

    max-width: 600px;
    margin: auto;
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px #ccc;

}


input,
select,
textarea {

    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;

}


textarea {

    height: 120px;

}


form button {

    width: 100%;

}

/* BOTON WHATSAPP */

.whatsapp {

    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 65px;
    height: 65px;

    background: #25D366;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 35px;
    text-decoration: none;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .4);

    z-index: 999;

    animation: pulse 1.8s infinite;

}



.whatsapp:hover {

    transform: scale(1.1);

}

/* GALERIA */

.galeria {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
    align-items: center;

}
.panel_mision-vision
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
    align-items: center;
}

.foto {

    background: white;
    padding: 80px;
    border-radius: 20px;
    box-shadow: 0 5px 15px #ccc;
    overflow: hidden;

}



.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.gallery-item {
    overflow: hidden;
}

.foto img {

    width: 100%;
    height: 250px;
    object-fit: auto;
    border-radius: 15px;
    transition: .4s;

}


.foto img:hover {

    transform: scale(1.08);

}



@media(max-width:800px) {

    .galeria {

        grid-template-columns: 1fr;

    }


}

/* Animación */

@keyframes pulse {

    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .7);
    }


    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }


    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }

}

/* MAPA */

.mapa {

    max-width: 1000px;
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px #222;

}


.mapa iframe {

    width: 100%;
    height: 400px;
    border: 0;

}


.datos-contacto {
    color: white;
    text-align: center;
    max-width: 900px;
    margin: auto;
}


.datos-contacto p {
    color: white;
    text-align: center;
    max-width: 900px;
    margin: auto;

}

/* CONTACTO */


#contacto {

    background: #075b36;
    color: white;
    text-align: center;

}


#contacto h2 {

    color: white;

}


#contacto h3 {

    margin-top: 30px;

}



/* FOOTER */


footer {

    background: #04291b;
    color: white;
    text-align: center;
    padding: 25px;

}




/* CELULAR */


@media(max-width:800px) {


    header {

        flex-direction: column;

    }


    nav {

        margin-top: 20px;

    }


    .hero {

        flex-direction: column;
        padding: 35px;

    }


    .hero div,
    .hero img {

        width: 100%;
        margin: 20px 0;

    }


    .hero h1 {

        font-size: 35px;

    }


    section {

        padding: 40px 20px;

    }

    .botones-cita {

        display: flex;
        gap: 15px;
        margin-top: 20px;

    }


    .botones-cita button {

        flex: 1;

    }

    /* VIDEOS */

    .videos {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 1100px;

    }

    .video-box {
        background: white;
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 5px 15px #ccc;
        text-align: center;
        margin: auto;
    }


    .video-box video {

        width: 100%;
        border-radius: 5px;
        margin: auto;
    }



    .video-box h3 {

        margin: top 40px;
        ;
        color: #075b36;

    }




    @media(max-width:800px) {


        .videos {

            grid-template-columns: 1fr;

        }

    }


    @media(max-width:600px) {

        .botones-cita {

            flex-direction: column;

        }


    }

}