* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wow {
    animation-duration: 1s !important;
    /* animation-timing-function: linear; */
}


.delay {
    animation-delay: 0.5s !important;
}

.delay1 {
    animation-delay: 1s !important;
}

.delay2 {
    animation-delay: 1.5s !important;
}

.delay3 {
    animation-delay: 2s !important;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100dvw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

section {
    max-width: 100dvw;
    width: 100dvw;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
}

:root {
    --normalize: -8rem;
    --width: calc(100% - 16rem);
    --max-width: 2000px;
    --padding: 0rem 8rem;
    --center: 0 auto;
    --primary: #5c9998;
    --secondary: #051e3a;
    --lightning: #cfdad9;
    --white: #fff;
    --text: #000;
    --enfasis: #00bfa5;
    --text-second: #3c4959;
}


img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsapp {
    background-color: #25D366;
    width: 6rem;
    height: 6rem;
    border-radius: 100rem;
    border: 1px solid black;
    position: fixed;
    right: 2rem;
    z-index: 10001;
    bottom: 5rem;
}

.whatsapp a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp i {
    font-size: 3rem;
    color: white;
}

.button {
    min-width: 10rem;
    width: fit-content;
    min-height: 4rem;
    height: 6rem;
    padding: 1rem 3rem;
    background-color: var(--white);
    color: var(--secondary);
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.2s ease-in-out;
    border-radius: 100rem;
    box-shadow: 0px 8px 23px 0px #4184F73D;

    i.fa-whatsapp {
        font-size: 3rem;
    }
}

.button:hover {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0px 8px 23px 0px #4184F73D;
}

.button.secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.button.secondary:hover {
    background-color: whitesmoke;
}

.button.mini {
    height: 3.5rem;
    min-width: 10rem;
    border-radius: 1rem;
}

.button.mini:hover {
    background-color: var(--enfasis);
}

header {
    height: 9rem;
    width: 90%;
    max-width: 90dvw;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 3rem;
    border-radius: 1rem;
    position: fixed;
    z-index: 1000;
    background-color: var(--white);
    display: flex;
    align-items: center;
}

nav {
    width: var(--width);
    margin: var(--center);
    height: 100%;
    padding: 0rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    position: relative;
}

nav>a:first-child {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav>a:last-child {
    display: none;
}

header nav .menu__button {
    display: none;
}

header figure,
header picture {
    display: block;
    height: 7.2rem;

    img {
        object-fit: contain;
    }
}

header .menu {
    display: flex;
    align-items: center;
    justify-content: end;
    column-gap: 10rem;
    height: 100%;
    width: 100%;
}

.menu li>a,
.menu li>p {
    font-family: 'Poppins';
    font-size: 1.6rem;
    color: #011632;
    font-weight: 400;
    transition: all 0.3s linear;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.menu a.contact-option {
    font-weight: 700;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu a.contact-option img {
    min-width: 2.5rem;
    max-width: 2.5rem;
    height: 2.5rem;
}

.menu a:hover {
    color: var(--enfasis);
}

.menu>li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    width: fit-content;

    &.btn {
        background-color: var(--secondary);
        height: 3.5rem;
        border-radius: 1rem;
        transition: all 0.3s ease;
        padding: 0 1rem;

        a {
            color: var(--white);
        }

        &:hover {
            background-color: var(--enfasis);
        }
    }
}

.menu .button__secondary {
    min-height: 5rem;
}

nav.mov {
    display: none;
}

nav .redes {
    display: flex;
    align-items: center;
    gap: 1rem;
}

nav .redes a {
    font-size: 2rem;
}

p {
    font-family: 'Poppins';
    font-size: 1.8rem;
    font-weight: 400;
}

h2 {
    font-size: 4.5rem;
    font-weight: 600;
}

body main section:first-of-type {
    padding-top: 10rem !important;
}

section {
    padding: var(--padding);
    margin-bottom: 10rem;
}

.bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
}

.bg figure {
    width: 100%;
    height: 100%;
}

/* INDEX */
#hero {
    height: 100dvh;
    position: relative;

    .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 100%;
        gap: 3rem;
        transition: all 5s ease;
    }

    h1 {
        width: 73.5rem;
        height: 21.6rem;
        font-family: 'Poppins';
        font-size: 4.8rem;
        font-weight: 600;
        color: var(--white);
        transition: all 1s ease;
    }

    .backgrounds {
        position: absolute;
        width: 200%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        display: flex;
        transition: all 0.3s ease-in-out;

        .main-background {
            width: 100dvw;

            .bg {
                width: 100dvw;
                position: relative;
            }

            .bg::after {
                content: '';
                width: 100%;
                height: 100%;
                position: absolute;
                top: 0;
                background-color: #051E3A33;
                border-bottom-right-radius: 45rem;
            }

            figure {
                border-bottom-right-radius: 45rem;
                overflow: hidden;
            }
        }

        .secondary-background {
            width: 100dvw;

            .bg {
                width: 100dvw;
                position: relative;
            }

            .bg::after {
                content: '';
                width: 100%;
                height: 100%;
                position: absolute;
                top: 0;
                background-color: #051E3A70;
                border-bottom-left-radius: 45rem;
            }

            figure {
                overflow: hidden;
                border-bottom-left-radius: 45rem;
            }
        }

    }

}

#us {
    .container {
        display: flex;
        flex-wrap: wrap;
        column-gap: 20rem;
        row-gap: 5rem;
        justify-content: space-between;

        .text {
            display: flex;
            flex-direction: column;
            gap: 2.4rem;
            color: var(--secondary);
            flex-basis: 50rem;
        }

        h2 {
            text-transform: capitalize;
        }


        .image {
            width: 46rem;
            max-width: 100%;
            aspect-ratio: 46/40;
            position: relative;

            figure {
                overflow: hidden;
                width: 100%;
                height: 100%;
                border-radius: 1rem;
            }

            &::after {
                content: '';
                position: absolute;
                width: 100%;
                height: 100%;
                border-radius: 1rem;
                background: linear-gradient(52.56deg, rgba(37, 180, 248, 0) 0%, rgba(37, 180, 248, 0.473958) 64.42%, #25B4F8 126.21%);
                top: -3rem;
                right: -3rem;
                display: block;
                z-index: -1;
            }
        }
    }
}

#services {
    background-color: #E6F6FE;
    padding-top: 10rem;
    padding-bottom: 10rem;
    margin-bottom: 0;

    .container {
        display: flex;
        flex-wrap: wrap;
        column-gap: 17rem;
        row-gap: 5rem;
    }

    figure {
        width: 48rem;
        max-width: 100%;
        aspect-ratio: 48/51;
        overflow: hidden;
        border-radius: 1rem;
    }

    .texto {
        width: 45rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    h2 {
        text-transform: capitalize;
    }

    ul {
        padding-left: 2.5rem;
    }

    li {
        font-size: 1.8rem;
        color: var(--secondary);
        font-family: 'Poppins';
        font-weight: 500;
        position: relative;
        margin: 0.5rem 0;
    }

    li::before {
        content: '';
        background-image: url('../img/Shield-Done.png');
        /* Reemplaza con la ruta a tu imagen */
        background-size: 25px 25px;
        /* Ajusta el tamaño de la imagen */
        width: 25px;
        /* Ancho del ícono */
        height: 25px;
        /* Alto del ícono */
        position: absolute;
        /* Posicionamiento absoluto */
        left: -2.5rem;
        /* Alinea a la izquierda */
        top: 50%;
        /* Centra verticalmente */
        transform: translateY(-50%);
        /* Ajusta la posición vertical */
    }

}

.banner {
    position: relative;
    width: 100%;
    height: 56.8rem;
    background: #051E3ABF;
    padding: var(--padding);

    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    justify-content: center;

    h2 {
        color: var(--white);
    }

    a {
        color: var(--enfasis);
    }

}

#opiniones {
    background-color: #E6F6FE;
    padding-top: 10rem;
    padding-bottom: 10rem;
    margin-bottom: 0;

    h2 {
        color: var(--secondary);
        text-align: center;
    }

    &>p {
        color: #6C87AE;
        text-align: center;
        margin-top: 1.6rem;
        margin-bottom: 7rem;
    }

    .group {
        display: flex;
        flex-wrap: wrap;
        column-gap: 2.8rem;
        row-gap: 7rem;
        align-items: center;
        justify-content: center;

        .testimonio {
            background-color: var(--white);
            border-radius: 3.2rem;
            flex-basis: 45rem;
            padding: 1rem 2rem;
        }
    }
}

/* NOSOTROS  */
#hero-us {
    height: 35rem;
    background-color: #E6F6FE;
    display: flex;
    justify-content: center;
    align-items: end;
    padding-bottom: 5rem;

    h1 {
        font-size: 5rem;
        font-weight: 600;
        font-family: 'Poppins';
        color: var(--secondary);
    }
}

#nosotros {
    .top {
        display: flex;
        flex-wrap: wrap;
        column-gap: 20rem;
        row-gap: 5rem;

        .texto {
            flex-basis: 40rem;
            flex-grow: 1;
            max-width: 100%;

            h2 {
                font-family: 'Poppins';
                color: var(--secondary);
                text-transform: capitalize;
                font-size: 3.4rem;
            }

            h3 {
                font-size: 2.4rem;
                font-weight: 500;
                color: var(--secondary);
                font-family: 'Poppins';
            }

            p {
                color: var(--text-second);
            }
        }

        .image {
            position: relative;
            max-width: 100%;
            width: 46rem;
            aspect-ratio: 46/61;

            figure {
                width: 100%;
                height: 100%;
                overflow: hidden;
                border-radius: 1rem;
                position: absolute;
                top: 4rem;
                right: 4rem;
            }

            &::after {
                content: '';
                background: linear-gradient(53.59deg, #00BFA5 0%, #051E3A 98.49%);
                position: absolute;
                top: 0;
                right: 0;
                width: 100%;
                height: 100%;
                border-radius: 1rem;
                display: block;
                z-index: -1;
            }
        }
    }

    .bottom {
        margin-top: 10rem;
        display: flex;
        flex-wrap: wrap;
        column-gap: 10rem;
        row-gap: 5rem;

        figure {
            width: 58rem;
            max-width: 100%;
            aspect-ratio: 58/40;
        }

        .texto {
            flex-basis: 30rem;
            flex-grow: 1;
        }

        p {
            color: var(--text-second);
        }

        ul {
            padding-left: 2.5rem;
        }

        li {
            font-size: 1.8rem;
            color: var(--secondary);
            font-family: 'Poppins';
            font-weight: 500;
            position: relative;
            margin: 0.5rem 0;
        }

        li::before {
            content: '';
            background-image: url('../img/check-circle.png');
            /* Reemplaza con la ruta a tu imagen */
            background-size: 25px 25px;
            /* Ajusta el tamaño de la imagen */
            width: 25px;
            /* Ancho del ícono */
            height: 25px;
            /* Alto del ícono */
            position: absolute;
            /* Posicionamiento absoluto */
            left: -2.5rem;
            /* Alinea a la izquierda */
            top: 50%;
            /* Centra verticalmente */
            transform: translateY(-50%);
            /* Ajusta la posición vertical */
        }
    }
}

#objetivos {
    background-color: var(--secondary);
    padding-block: 10rem;
    margin-bottom: 0;

    h2 {
        text-align: center;
        color: var(--white);
        margin-bottom: 3rem;
    }

    .container {
        display: flex;
        flex-wrap: wrap;
        column-gap: 10rem;
        row-gap: 2rem;
    }

    .objetivo {
        display: flex;
        gap: 1rem;
        align-items: center;
        flex-basis: 45rem;
        max-width: 100%;
        flex-grow: 1;

        p {
            color: white;
        }

        i {
            color: var(--secondary);
            font-size: 1.6rem;
            font-weight: 700;
        }

        span {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 2.5rem;
            min-height: 2.5rem;
            border-radius: 5rem;
            background-color: var(--enfasis);
        }
    }
}

#video {
    margin: var(--center);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 0;

    .container {
        width: 100rem;
        max-width: 100%;
        border-radius: 3.2rem;
        overflow: hidden;
    }

    video {
        width: 100%;
        height: 100%;
    }
}

.banner2 {
    width: 100%;
    height: 40rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;
    margin-bottom: 10rem;
    padding: var(--padding);

    img {
        object-position: center -16rem;
    }

    h2 {
        color: var(--secondary);
        width: 60rem;
        max-width: 100%;
    }

}

#galeria {

    h2 {
        text-align: center;
        color: var(--secondary);
        margin-bottom: 5rem;
    }

    .container {
        display: flex;
        flex-direction: column;
        gap: 1rem;

        figure {
            width: 100%;
            height: 100%;
        }

    }

    .gallery__block {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 10px;

        .img1 {
            grid-area: 1 / 1 / 3 / 3;
        }

        .img2 {
            grid-area: 1 / 3 / 2 / 4;
        }

        .img3 {
            grid-area: 2 / 3 / 3 / 4;
        }

        .img4 {
            grid-area: 3 / 3 / 4 / 4;
        }

        .img5 {
            grid-area: 3 / 2 / 4 / 3;
        }

        .img6 {
            grid-area: 3 / 1 / 4 / 2;
        }
    }

    .gallery__block--two {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 10px;

        .img1 {
            grid-area: 1 / 1 / 2 / 2;
        }

        .img2 {
            grid-area: 2 / 1 / 3 / 2;
        }

        .img3 {
            grid-area: 1 / 2 / 3 / 4;
        }

        .img4 {
            grid-area: 3 / 1 / 4 / 2;
        }

        .img5 {
            grid-area: 3 / 2 / 4 / 3;
        }

        .img6 {
            grid-area: 3 / 3 / 4 / 4;
        }

    }
}

#hero-imagen {
    position: relative;
    height: 50rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #051E3A99;
    margin-bottom: 0;

    h1 {
        color: white;
        text-align: center;
        font-size: 6.4rem;
        filter: drop-shadow(0px 7px 4px #00000094);
    }
}

#servicios {
    background-color: #E6F6FE;
    padding: 0;
    padding-block: 10rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;

    .servicio {
        min-height: 40rem;
        width: 100rem;
        max-width: 100%;
        border-radius: 2.4rem;
        padding: 6rem 10rem;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 5rem;
        row-gap: 2rem;
        background-color: var(--white);
        justify-content: space-between;
    }

    .servicio.right {
        margin-left: auto;
    }

    figure {
        flex-basis: 30rem;
        flex-grow: 1;
        height: 30rem;
        overflow: hidden;
        border-radius: 1rem;
    }

    ul {
        width: 38rem;
        max-width: 100%;
        list-style: disc;

        li {
            font-size: 2rem;
            color: var(--secondary);
            font-weight: 500;
        }
    }
}

#tratamientos {
    h2 {
        text-align: center;
        font-size: 4.2rem;
        color: var(--secondary);
        width: 80rem;
        max-width: 100%;
        margin: var(--center);
        margin-bottom: 5rem;
    }

    .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 5rem;
        row-gap: 2rem;
        justify-content: space-between;
    }

    .tratamiento {
        display: flex;
        flex-basis: 17rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    figure {
        background-color: var(--enfasis);
        width: 7rem;
        height: 7rem;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 10rem;

        img {
            width: 4.8rem;
            height: 4.8rem;
        }

    }
}

#faqs {

    padding-top: 5rem;

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    details {
        margin-bottom: 1rem;
        /* border-radius: 1rem; */
        overflow: hidden;
        transition: all 0.3s ease;
        padding: 2rem 4rem;
        box-sizing: content-box;
        width: 100rem;
        max-width: 100%;
    }

    summary {
        /* background-color: #f7f7f7; */
        cursor: pointer;
        padding: 1rem;
        font-weight: bold;
        list-style: none;
        user-select: none;
        color: var(--secondary);
        font-family: 'Poppins';
        font-size: 2rem;
        border-bottom: 1px solid #CFCFCF;
        display: flex;
        align-items: center;
        justify-content: space-between;

        span {
            width: 4rem;
            height: 4rem;
            min-width: 4rem;
            min-height: 4rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10rem;
            border: 3px solid var(--primary);
            font-size: 3.5rem;
            font-weight: 400;
            color: var(--primary);
        }

    }

    details[open] {
        border-radius: 1rem;
        background-color: var(--secondary);
    }

    details[open] summary {
        color: var(--white);
    }

    .answer {
        padding: 1rem;
        overflow: hidden;
        /* height: 0;
        opacity: 0; */
        transition: all 0.3s ease;
        font-size: 1.6rem;
        font-family: 'Poppins';
    }

    details[open] .answer {
        height: auto;
        opacity: 1;
        padding-top: 1rem;
        color: var(--white);
    }

}

#hero-imagen-contacto {
    position: relative;
    min-height: 100rem;
    height: auto;
    background: linear-gradient(0deg, rgba(5, 30, 58, 0.6), rgba(5, 30, 58, 0.6));
    color: var(--white);
    margin-bottom: 0;
    padding-bottom: 5rem;

    h1 {
        font-size: 4.2rem;
        text-align: center;
        margin-top: 10rem;
    }

    p {
        text-align: center;
        width: 85rem;
        max-width: 100%;
        margin: var(--center);
        font-size: 1.8rem;
    }

    .container {
        margin-top: 6rem;
        display: flex;
        flex-wrap: wrap;
        column-gap: 10rem;
        row-gap: 5rem;
        justify-content: center;
        align-items: center;
    }

    form {
        display: flex;
        flex-direction: column;
        flex-basis: 50rem;
        gap: 2.5rem;
    }

    .contact-info {
        flex-basis: 40rem;
        /* flex-grow: 1; */
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        justify-content: center;

        p {
            width: 100%;
            text-align: left
        }
    }

    input {
        background-color: var(--white);
        border: 1px solid #AFAFAF;
        border-radius: 1rem;
        height: 6rem;
        text-indent: 1rem;
        font-family: 'Poppins';
    }

    input::placeholder {
        font-family: 'Poppins';
        color: rgba(0, 0, 0, 0.3);
        font-size: 1.4rem;
    }

    textarea {
        background-color: var(--white);
        border: 1px solid #AFAFAF;
        border-radius: 1rem;
        height: 15rem;
        text-indent: 1rem;
        resize: none;
        padding: 1rem;
        font-family: 'Poppins';
    }

    textarea::placeholder {
        font-family: 'Poppins';
        color: rgba(0, 0, 0, 0.3);
        font-size: 1.4rem;
    }

    button {
        border: none;
    }

    button:hover {
        color: var(--secondary);
        cursor: pointer;
    }

}

.map {
    height: 45rem;
    width: 100%;
}

#privacidad {
    padding: 10rem;
    padding-bottom: 10rem;
}

footer {
    background-color: var(--secondary);
    padding: var(--padding);
    padding-top: 5rem;
    padding-bottom: 5rem;
    color: var(--white);

    .logo {
        width: 23.8rem;
        height: 9.2rem;

        figure {
            width: 100%;
            height: 100%;

            img {
                object-fit: contain;
            }
        }
    }

    .container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .datos-responsable {
        display: flex;
        flex-direction: column;

        p {
            font-style: italic;
        }
    }

    p,a {
        font-size: 1.6rem;
        font-weight: 300;
        color: var(--white);
    }

    .menus, .enlaces {
        font-weight: 400;
        display: flex;
        flex-direction: column;
        gap: 1.6rem;
    }

    &>p {
        text-align: center;
        margin-top: 2rem;
    }

}

@media screen and (max-width: 850px) {
    :root {
        --normalize: -2rem;
        --width: calc(100% - 4rem);
        --padding: 0rem 2rem;
    }

    nav.desk {
        display: none;
    }

    nav.mov {
        display: flex;
    }

    header .menu {
        position: absolute;
        top: 100%;
        background-color: #fff;
        width: 91vw;
        left: -2rem;
        display: flex;
        flex-direction: column;
        display: none;
        height: fit-content;
        border-radius: 1rem;
    }

    header .menu li {
        text-align: center;
        margin: 2rem 0;
    }

    header nav>a {
        display: block;
    }

    nav>a:last-child {
        display: block;
    }

    header nav .menu__button {
        display: block;
        font-size: 3rem;
        color: black;
        transition: all 0.5s ease-in-out;
        margin-right: 2rem;
    }

    footer .top {
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    footer .top>a {
        order: 1;
    }

    footer .contact {
        order: 2;
        align-items: center;
    }

    footer .location {
        order: 3;
        align-items: center;
    }

}

@media screen and (max-width: 820px) {
    nav>a:first-child h3 {
        font-size: 1.2rem;
    }

    nav>a:first-child p {
        font-size: 1rem;
    }

    header .nombre {
        max-width: 20rem;
    }
}

.texto-para-el-pinche-banner {
    display: none;

    h2 {
        text-align: center;
    }
}

@media screen and (max-width: 769px) {}

@media screen and (max-width: 550px) {

    header figure,
    header picture {
        height: 8rem;
        width: 8rem;

        img {
            object-fit: contain;
        }
    }

    #hero {
        max-width: 100vw;
        overflow-x: hidden;
    }

    #hero h1 {
        font-size: 3.5rem;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    #hero {
        & .backgrounds {
            & .main-background {
                figure {
                    border-bottom-right-radius: 20rem;
                    overflow: hidden;
                }

                .bg::after {
                    content: '';
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    background-color: #051E3A33;
                    border-bottom-right-radius: 20rem;
                }

            }
        }
    }

    #hero {
        & .backgrounds {
            & .secondary-background {
                figure {
                    border-bottom-left-radius: 20rem;
                    overflow: hidden;
                }

                .bg::after {
                    content: '';
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    background-color: #051E3A33;
                    border-bottom-left-radius: 20rem;
                }
            }
        }
    }

    #hero p {
        font-size: 1.8rem;
    }

    #nosotros::after,
    #servicios::after {
        width: 1rem;
    }

    #servicios {
        padding-left: 3rem;

    }

    h1 {
        font-size: 6rem;
    }



    h2 {
        font-size: 4rem !important;
    }


    section {
        max-width: 100vw;
    }

    footer .container {
        flex-direction: column;
    }

    #video .container {
        border-radius: 0;
    }

    #nosotros .top .image figure {
        top: 1rem;
        right: 1rem;
    }

    .banner2 img {
        object-position: 0rem;
    }

    #servicios .servicio {
        padding: 2rem;
    }

    #tratamientos .container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .banner2 h2 {
        text-align: right;
        display: none;
    }

    .texto-para-el-pinche-banner {
        display: flex;
        align-items: center;
        justify-content: center;
    }

}



@keyframes showMenu {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes hideMenu {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}


@keyframes appear {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(-0.5rem);
    }

    50% {
        transform: translateY(1rem);
    }

    100% {
        transform: translateY(-0.5rem);
    }

}


@keyframes bounceInRightCustom {

    0%,
    60%,
    75%,
    90%,
    100% {
        -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        -webkit-transform: translate3d(30px, 0, 0);
        -ms-transform: translate3d(30px, 0, 0);
        transform: translate3d(30px, 0, 0);
    }

    60% {
        opacity: 1;
        -webkit-transform: translate3d(-25px, 0, 0);
        -ms-transform: translate3d(-25px, 0, 0);
        transform: translate3d(-25px, 0, 0);
    }

    75% {
        -webkit-transform: translate3d(10px, 0, 0);
        -ms-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0);
    }

    90% {
        -webkit-transform: translate3d(-5px, 0, 0);
        -ms-transform: translate3d(-5px, 0, 0);
        transform: translate3d(-5px, 0, 0);
    }

    100% {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }
}

@keyframes customPulse {
    0% {
        -webkit-transform: scaleY(1);
        -ms-transform: scaleY(1);
        transform: scaleY(1);
    }

    50% {
        -webkit-transform: scaleY(1.2);
        -ms-transform: scaleY(1.2);
        transform: scaleY(1.2);
    }

    100% {
        -webkit-transform: scaleY(1);
        -ms-transform: scaleY(1);
        transform: scaleY(1);
    }
}

@keyframes customPulseClose {
    0% {
        -webkit-transform: scaleY(1);
        -ms-transform: scaleY(1);
        transform: scaleY(1);
    }

    50% {
        -webkit-transform: scaleY(0.85);
        -ms-transform: scaleY(0.85);
        transform: scaleY(0.85);
    }

    100% {
        -webkit-transform: scaleY(1);
        -ms-transform: scaleY(1);
        transform: scaleY(1);
    }
}

i.fab.fa-facebook {
    font-size: 30px;
}
i.fab.fa-instagram {
    font-size: 30px;
}