*{
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

@font-face {
    font-family: 'Bodoni';
    src: url('../font/Bodoni.ttc') format('opentype');
    font-weight: normal;
    font-style: normal;
}


body{
    position: relative;
    height: 100dvb;
    background-color: #f2f2f2;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 1fr;
}
/* .Contenido-General{
    
} */
.container-header{
    margin: 0 auto;
    max-width: 1540px;
}

a{
    text-decoration: none !important;   
}


/* nav */
/* nav{
    display: flex; justify-content: space-between; align-items: center; padding: 1em 2em; position: fixed; top: 0; z-index: 2000; width: 100%;
    transition: all 0.3s ease-in-out;
    background: transparent; 
    
    & picture{
        height: 80px;
    }
    
    & .nav-links{
        display: flex; 
        align-items: center;
        gap: 1em;
    
        & a{
            background: #33A1FD;
            color: white;
            padding: 0.75rem 2rem; 
            border-radius: 16px; 
            text-transform: uppercase;
            font-weight: 600;
        }
    }
}


.abajo{
    background: #33A1FD;
    transition: all 0.3s ease-in-out;

    & .nav-links a{
        background: #fff;
        color: #33A1FD;
    }
} */

/* nav */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1em 2em;
    position: fixed;
    top: 0;
    z-index: 2000;
    width: 100%;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

nav picture {
    height: 80px;
    transition: transform 0.3s ease;
}

nav picture:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.1em;
}

.nav-links a {
    position: relative;
    background: #2176ff;
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 16px;
    text-transform: uppercase;
    font-weight: 600;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.86, 0, 0.07, 1);
    box-shadow: 0 4px 15px rgba(51, 161, 253, 0.3);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.6s ease;
}

.nav-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(51, 161, 253, 0.4);
}

.nav-links a:hover::before {
    left: 100%;
}

/* Efecto scroll */
.abajo {
    background: #2176ff;
    box-shadow: 0 10px 30px rgba(51, 161, 253, 0.2);
    padding: 0.5em 2em;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.abajo .nav-links a {
    background: #fff;
    color: #2176ff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.abajo .nav-links a:hover {
    box-shadow: 0 7px 20px rgba(255, 255, 255, 0.4);
}

/* Estilos para el menú móvil */
.hamburger {
    display: none;
    padding: 15px;
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    width: 100%;
    height: 3px;
    background-color: #f79824;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.2s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    width: 100%;
    height: 3px;
    background-color: #f79824;
    position: absolute;
    left: 0;
    transition: transform 0.2s ease;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    top: 10px;
}

.mobile-menu {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: #2176ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5em 0 1.5em;
    transform: translateY(-150%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1999;
    box-shadow: 0 10px 30px rgba(51, 161, 253, 0.3);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-link {
    color: white;
    text-decoration: none;
    font-size: clamp(1rem, 2.5vw, 1.7rem);
    padding: 1em 0;
    width: 60%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Animación al hacer clic */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.click-effect {
    animation: pulse 0.4s ease;
}




/* ------------------------------------------------------------------------------ */

/* barra redes */
.Barra-redes{
    position: fixed; top: 30%; right: 1%; z-index: 1000;

    & ul{
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 1.3em;

        & li:hover{
            transform: scale(1.05);
            transition: all 0.3s ease-in-out;
            & img{
                background: #fff;
                box-shadow: 0px 0px 2px 1px #c3c3c3;
            }

            & a span{
                display: block;
            }
        }

        & li a {
            display: flex;
            padding: 0;
            align-items: center;
            flex-direction: row-reverse;
            gap: 0.5em;
            & img{
                border-radius: 50%;
                width: 64px;
                height: 64px;
            }

            & span{
                display: none;
                height: max-content;
                margin: 0;
                background: #33A1FD; 
                padding: 0.75rem 2rem; 
                color: white; 
                border-radius: 16px; 
                text-transform: uppercase;
                font-weight: 600;
            }
        }
        
    }
}

/* Header */
.Contenido-header{
    background: linear-gradient(to left, #31393c 0% 35%, #ffffff 35% 100%); position: relative; height: 100dvh;

    & .Contenido-header-Bloque{
        position: relative; z-index: 5;
        & .Contenido-header-Bloque-flex{
            display: grid; grid-template-columns: repeat(2, 1fr); justify-content: center;align-items: center;

            & .Contenido-Bloque-text{
                margin-top: -15rem;
                width: 100%;
                & h1{
                    font-size: clamp(1.5rem, 8vw, 7rem); color: #f79824; font-weight: bold; font-family: 'Bodoni', sans-serif;
                }
                & p{
                    font-size: clamp(1rem, 3vw, 2rem);
                }
                & a{
                    background: #2a5472; color: white; padding: 1rem 2.5rem; border-radius: 15px; margin-top: 1.5rem; display:block; width: fit-content;
                    font-size: clamp(0.7rem, 2vw, 1.5rem);
                }
            }
            & .Contenido-Bloque-Img{
                height: 100dvh; width: 100%; margin-top: 0dvh;
                & img{
                    height: 100%; width: 100%; object-fit: cover;
                }
            }
        }
    }

    & .Contenido-header-emblema{
        position: absolute; content: ''; top: 10%; left: -7%; bottom:0; width: 80%; z-index: 4; opacity: 0.05;
        & img{
            width: 100%; height: 100%; object-fit: cover;
        }
    }

    & .Contenido-header-mancha{
        position: absolute; content: ''; top: 0; right: 0; bottom:10dvh; width: 35%; z-index: 4; opacity: 0.06;
        & img{
            width: 100%; height: 100%; object-fit: cover;
        }
    }

    & .Contenido-header-wave{
        position: absolute; content: ''; bottom: -10px; left: 0; width: 100%; z-index: 6;
    }
}

/* Sobre Mi */
.Contenido-abouts{
    background: #31393c; 
    height: 70dvh; 
    padding: 2rem 0 2rem; 
    position: relative;
    z-index: 5;

    & .Contenido-abouts-sombra{
        position: absolute; content: ''; top: -5px; left: 0; bottom:0; width: 100%; z-index: 1; opacity: 0.08
    }

    & .Contenido-abouts-Bloque{
        position: relative; z-index: 2;
        display: flex; justify-content: space-between; align-items: center; gap: 2em;

        & .Contenido-abouts-Img{
            height: 100%; width: 100%;

            & img{
                height: 100%; width: 100%; object-fit: scale-down
            }
        }

        & .Contenido-abouts-text{
            padding-left: 0rem; width: 100%;

            & h2{
                color: #fff;
            }

            & .Contenido-abouts-info{
                & h2{
                    font-size: clamp(1rem, 6vw, 3rem); text-transform: uppercase; color: #f79824; font-weight: bold;
                }
                & ul{
                    font-size: clamp(1rem, 1vw, 1.4rem); padding:1.5rem 3rem 0; color: #fff
                }
            }
            & .Contenido-abouts-Botones{
                padding: 1rem 0rem; display: flex; gap: 1em;
                & a{
                    background: #2a5472; color: white; padding: 1rem 3rem; border-radius: 15px; margin-top: 1.5rem; display:block; width: fit-content
                }
            }
        }
    }   
}

/* Servicios */
.Contenido-Services{
    background: linear-gradient(to bottom, #31393c 0% 70%, #ffffff 70% 100%);
    padding: 2rem 0;

    & .Contenido-servicios-title{
        display: flex;
        flex-direction: column;
        padding-bottom: 1rem;

        & h1{
            color: #f79824;
            font-weight: bold;
            font-size: clamp(1rem, 7vw, 5rem);
        }

        & h5{
            color: #fff;
        }
    }
    & .Contenido-servicios{
        display: grid; grid-template-columns: repeat(auto-fill, minmax(22%, 1fr)); gap: 2%;
    
        & .Servicios-bloques{
            background: #fdca40; display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; border-radius: 12px;
            box-shadow: 0px 0px 0px 6px #31393c;
    
            & .Servicios-bloques-imagen{
                overflow: hidden;
                & img{
                    width: 100%; height: 100%; object-fit: cover;
                }
            }
    
            & .Servicios-bloques-text{
                width: 100%; padding: 2rem; color: #000;
                display: grid;
                grid-template-rows: auto auto 1fr auto;
                & p{
                    display: -webkit-box;
                    -webkit-line-clamp: 5;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    height: auto;
                    z-index: 12;
                }
            }
        }
    }
}

/* Portafolio */

/* .portafolio{
    display: grid; grid-template-columns: repeat(auto-fill, minmax(25%, 1fr));
    padding-bottom: 2rem;
    & .portafolio-picture{
        border-radius: 6px;
        & img{
            object-fit: cover; aspect-ratio:3.5/5; border-radius: 6px; outline-offset: -10px; box-shadow: 0px 0px 6px 1px grey; outline: double #bebebe;    
        }
    }
} */

.Portafolio{
    background: #ffffff;

    & .Contenido-Portafolio-Title{
        text-align: center;
        padding: 2.5rem 0;
        & h1{
            color: #f79824; font-weight: bold; font-size: clamp(1rem, 8vw, 5rem);
        }
    }
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15%, 1fr));
    gap: 15px;
    padding: 1rem;
    position: relative;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s;
    object-fit: cover;
    aspect-ratio: 3.5/5;
    box-shadow: 0 0px 6px 1px grey;
    outline: double grey;
    outline-offset: -10px;
}

.gallery img:hover {
    transform: scale(1.02);
}

/* EFECTO DEGRADADO */
.gallery::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery.has-more::after {
    opacity: 1;
}

.load-more-container {
    text-align: center;
    margin: 20px 0;
}

.load-more-btn {
    background: #2a5472;
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 15px;
    font-size: clamp(0.9rem, 2vw, 1.5rem);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.load-more-btn:hover {
    background-color: #1d3a52;
    transform: scale(1.05);
}

.hidden {
    display: none;
}


/* Movie */
.Movie{
    background: linear-gradient(to top, #31393c 0% 50%, #ffffff 50% 100%); position: relative; padding: 2.5rem 0;
    & .Contenido-Movie-Bloque{
        display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px; align-items: center; height: 100%;
        & .Contenido-Movie-Text{
            padding: 2rem 4rem; background-color: #ffffff; border-radius: 6px; justify-content: start; text-align: center;
            display:flex; align-items:center; flex-direction:column;
            & h1{
                color: #f79824; font-weight: bold; font-size: clamp(1rem, 8vw, 6rem); padding: 2.5rem 0
            }
            & h5{
                text-align: start;
            }
            & ul{
                list-style: none; padding: 2rem 0 0; display: flex; gap: 10px; justify-content: center; margin-top: 1rem;
            }
        }

        & .Contenido-Movie-Video{
            position: relative; width: 100%; height: 100%; background-color: #ffffff; border-radius: 6px; box-shadow: 0 0px 6px 1px #31393c; padding: 10px;
            & video{
                width: 100%; height: 60dvh; object-fit: cover; border-radius: 6px; box-shadow: 0 0px 6px 1px grey; outline: double grey; outline-offset: -10px; object-position: center; object-fit: cover; margin: 0px; padding: 0px;
            }
        }
    }
}

/* Notas */
.Section-Notas{
    position: relative; padding: 4rem 0;
    height: auto;
    
    .Section-Notas-Bloque{
        position: relative;
        z-index: 2;
        width: 100%; 

        & picture{
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            & img{
                width: 100%;
                height: 100%;
                object-fit: cover;
                aspect-ratio: 4/5;
                border-radius: 6px;
            }
        }

        & h1{
            color: #f79824; font-weight: bold; font-size: clamp(1rem, 7vw, 4rem); text-align: center; padding: 2.5rem 0;
        }
        /* & img{
            width: 100%;
            height: auto;
            object-fit: scale-down;
            aspect-ratio: 4/5;
            border-radius: 6px;
        } */
    }
}
.Section-Notas::after{
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    background: url('../imagenes/fondo-notas.png') no-repeat center center;
    background-size: cover;
    opacity: 0.041;
    z-index: 0;
    pointer-events: none;
}

/* blogs */

.Contenido-Blogs{
    padding: 0.5rem 0 2.5rem;
    & .Contenido-Blogs-Title{
        text-align: center;
        padding: 0.5rem 0 2.5rem;
        & h1{
            color: #f79824; font-weight: bold; font-size: clamp(1rem, 8vw, 5rem);
        }
    }

    & .Contenido-Blogs-Item{
        margin-bottom: 1rem;
        & .Contenido-Blogs-Item-Img{
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            & img{
                width: 100%;
                height: 100%;
                object-fit: cover;
                aspect-ratio: 9/12;
                border-radius: 12px;
            }
        }
        & .Contenido-Blogs-Item-Text{
            border: 1px solid #31393c; padding: 2.5rem 1.5rem 1rem; border-radius:0 0 20px 20px; background-color: #ffffff; margin-top: -2rem;
            display: grid; grid-template-rows: auto 1fr auto; gap: 1rem;

            & h3{
                color: #2a5472; font-weight: bold; font-size: clamp(1rem, 6vw, 1.8rem);
                display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; height: 7rem;
            }

            & p{
                font-size: clamp(0.9rem, 1.5vw, 1.1rem); color: #31393c; margin-bottom: 1rem;
                display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; height: auto;
            }

            & a{
                text-decoration: none;
                padding: 0.5rem 1rem;
                border-radius: 8px;
                background: #2a5472; color: white; display: inline-block;
                width: fit-content;
            }
        }
    }
}

/* Footer */
.footer{
    background: black; color: #fff; height: max-content; display: flex; justify-content: center; align-items: center; flex-direction: column; padding: 1em 0;
    & p{
        font-size: clamp(0.7rem, 1vw, 1.4rem);
        margin: 0;
    }
}


/* Websites Secondaria Blogs */
.BlogsItems-Title{
    text-align: center;
    margin: 80px 0 0; padding: 0 12rem;

    & h1{
        font-size: clamp(1.5rem, 7vw, 5rem); font-weight: bold; color: #f79824;
    }
}

.BlogsItems-Container{
    padding: 1.5rem 5rem 1rem; background: #f8f9fa; height: 100%; display: grid; grid-template-columns: 750px 1fr; height: max-content;
    
    & .BlogsItems-Img{
        padding: 1rem;
    }
    & .BlogsItems-Text{
        height: 100%; height: 100%; display: -webkit-box; padding: 1rem; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-overflow-style: none; scrollbar-width: none;
    }
}

@media screen and (max-width: 1500px) {
    .container-header{
        max-width: 1400px;
    }
}

@media screen and (max-width: 1368px) {
    .container-header{
        max-width: 1200px;
    }

    .Contenido-header {
        & .Contenido-header-Bloque {
            & .Contenido-header-Bloque-flex {
                & .Contenido-Bloque-text {
                    margin-top: 0rem;
                    & h1 {
                        font-size: clamp(1.2rem, 6vw, 5rem);
                    }
                    & p {
                        font-size: clamp(0.9rem, 2vw, 2rem);
                    }
                }
            }
        }
    }

    .Contenido-abouts {
        height: auto;
        & .Contenido-abouts-Bloque {
            & .Contenido-abouts-text {
                & h2 {
                    font-size: clamp(1rem, 4vw, 3rem);
                }
                & p {
                    font-size: clamp(0.9rem, 1.5vw, 1.5rem);
                }
            }
        }
    }
}

@media screen and (max-width: 1024px) {
    .container-header{
        max-width: 900px;
    }

    .Barra-redes{
        & ul li a img{
            background: #fffffff6;
            border-radius: 50%;
            width: 48px;
            height: 48px;
        }

        & ul li:hover{
            transform: translateX(-5px);
        }
    }

    .nav-links{
        padding: 0.5rem 2rem;
        gap: 1em;
    }

    .nav-links a {
        font-size: clamp(0.8rem, 1.5vw, 1.5rem);
        padding: 0.75rem 1.25rem;
    }

    .Contenido-header {
        height: auto;
        & .Contenido-header-Bloque {
            & .Contenido-header-Bloque-flex {
                & .Contenido-Bloque-text {
                    margin: 0;
                    & h1 {
                        font-size: clamp(1.5rem, 5vw, 7rem);
                    }
                    & p {
                        font-size: clamp(1rem, 1.5vw, 2rem);
                    }
                }
                & .Contenido-Bloque-Img {
                    height: auto;
                }
            }
        }   
    }

    .Contenido-abouts {
        height: auto;
        & .Contenido-abouts-Bloque {
            flex-direction: column;
        }
    }

    .Contenido-Services {
        & .Contenido-servicios {
            padding: 1rem;
            display: grid; grid-template-columns: repeat(auto-fill, minmax(47%, 1fr));
            gap: 3%;
        }
    }

    .Movie {
        & .Contenido-Movie-Bloque {
            grid-template-columns: 1fr;
            & .Contenido-Movie-Video {
                box-shadow: 0 0px 0px;
            }
        }
    }
    
}

@media screen and (max-width: 768px) {
    /* version table vertical */
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    nav{
        padding: 0.5rem 2rem;
    }

    .nav-container picture{
        height: 60px;
    }
    .nav-container picture img{
        height: 100%;
        object-fit: scale-down;
    }

    nav.abajo {
        padding: 0.5em 2em;
    }
    
    nav.abajo .mobile-menu {
        top: 80px;
    }
 
    .container-header{
        max-width: 668px;
    }
    
    .Contenido-header{
        height: max-content;
        background: linear-gradient(to top, #31393c 0% 35%, #ffffff 35% 100%); position: relative; height: 100dvh;
        & .Contenido-header-Bloque{
            & .Contenido-header-Bloque-flex{
                grid-template-rows: repeat(2, auto);
                grid-template-columns: 1fr;
                height: 100dvh;
                & .Contenido-Bloque-text{
                    transform: translateY(20%);
                    margin: 4rem 0rem 0rem;
                    padding:0 1.5rem 0rem;
                }
                & .Contenido-Bloque-Img {
                    height: 100%;
                    & img{
                        aspect-ratio: 5 / 7;
                        padding: 0rem 0rem 0;
                        object-fit: scale-down;
                    }
                }
            }
        }
    }

    .Contenido-abouts{
        height: auto;

        & .Contenido-abouts-sombra{
            display: none;
        }

        & .Contenido-abouts-Bloque{
            padding: 10% 1rem 0;
            flex-direction: column-reverse;
            gap: 1em;

            & .Contenido-abouts-text {
                padding: 0 1rem;
                & .Contenido-abouts-Botones {
                    padding: 0 0 2rem;
                    justify-content: center;
                    gap: 1rem;
                }
            }
        }
    }

    .Contenido-Services{
        & .Contenido-servicios{
            padding: 1rem;
            display: grid; grid-template-columns: repeat(auto-fill, minmax(47%, 1fr));
            gap: 3%;
        }
    }

    .Portafolio{
        & .Contenido-Portafolio-Title{
            padding: 0.5rem 0;
        }
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    }

    .Movie{
        padding: 0;
        & .Contenido-Movie-Bloque{
            display: grid; grid-template-columns: 1fr; gap: 20px; padding: 20px; align-items: center; height: 100%;

            & .Contenido-Movie-Text{
                padding: 0;
                & h1{ 
                    padding: 0.75rem 0 2rem;
                }
            }

            & .Contenido-Movie-Video{
                width: 100%; height: 100%;
                box-shadow: 0px 0px 0px;
                & video{
                    height: 50dvh;
                }
            }
        }
    }

    /* secondaria websites Blogs */
    .BlogsItems-Title{
        padding: 0;
    }
    
    .BlogsItems-Container{
        grid-template-columns: 1fr; height: max-content;
        padding: 0;
    }
}

@media screen and (max-width: 600px) {
    .container-header{
        max-width: 500px;
    }

    .Contenido-header{
        & .Contenido-header-Bloque{
            & .Contenido-header-Bloque-flex{
                grid-template-rows: repeat(2, auto);
                grid-template-columns: 1fr;
                height: 100dvh;
                & .Contenido-Bloque-text{
                    transform: translateY(20%);
                    margin: 0 0 0rem;
                    padding-bottom: 3rem;
                }
                & .Contenido-Bloque-Img {
                    height: 100%;
                    & img{
                        aspect-ratio: 8 / 8;
                        padding: 0rem 0rem 0;
                    }
                }
            }
        }
    }


    .Barra-redes{
        top: 20%;
        & ul li img{
            background: #ffffff;
            border-radius: 50%;
            width: 42px;
            height: 42px;
        }

        & ul li:hover{
            transform: translateX(-5px);
        }
    }

    .Contenido-abouts {
        & .Contenido-abouts-Bloque{
            padding-top: 10%;
            flex-direction: column-reverse;
            gap: 1em;

            & .Contenido-abouts-text {
                padding: 0 1rem;
                & .Contenido-abouts-info{
                    & ul{
                        padding: 1.5rem 0rem 0;
                    }
                }
                & .Contenido-abouts-Botones {
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    padding: 0 !important;
                    gap: 0em !;
                }
            }
        }
    }

    .Contenido-Services{
        background: linear-gradient(to bottom, #31393c 0% 85%, #ffffff 85% 100%);

        & .Contenido-servicios-title{
            align-items: center;
            justify-content: center;
        }

        & .Contenido-servicios{
            display: grid; grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); gap: 0%; padding: 2rem 0 0;
            & .Servicios-bloques {
                margin-bottom: 1rem;
                & .Servicios-bloques-imagen{
                    height: 200px;
                    position: relative;
                    left: -14%;
                    top: 0;
                    & img{
                        width: 100%; height: 100%; object-fit: cover;
                    }
                }
            }
        }
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
        padding: 0.2rem;
    }

    .portafolio{
        grid-template-columns: repeat(auto-fill, minmax(48%, 1fr));
    }

    .Section-Notas {
        & .Section-Notas-Bloque{
            flex-direction: column-reverse;
        }
    }

    .footer{
        flex-direction: column;
        gap: 1em;
        justify-content: center;
        align-items: center;
        & p{
            text-align: center;
        }
    }
    
}

@media screen and (max-width: 480px) {
    .container-header{
        max-width: 400px;
    }

    nav {
        padding: 0.5em 2em;
    }
    nav picture {
        height: 40px;
    }

    .mobile-menu {
        top: 70px;
    }

    .Contenido-header{
        & .Contenido-header-Bloque{
            & .Contenido-header-Bloque-flex{
                & .Contenido-Bloque-text{
                    padding: 4rem 1rem 0;
                    & a{
                        margin-top: 0.5rem;
                        padding: 1rem 1.75rem;
                    }
                }
                & .Contenido-Bloque-Img {
                    height: 100%;
                    & img{
                        aspect-ratio: 6 / 7;
                        padding: 3rem 0rem 0;
                        object-fit: scale-down;
                    }
                }
            }
        }
        & .Contenido-header-emblema{
            width: 100%;
            & img{
                object-fit: cover;
            }
        }
        & .Contenido-header-mancha{
            display: none;
        }
    }

    .Contenido-Services{
        & .Contenido-servicios{
            padding: 0 1rem;
            & .Servicios-bloques {
                & .Servicios-bloques-imagen{
                    height: 130px;
                }
            }
        }
    }

    .Movie{
        background: linear-gradient(to top, #31393c 0% 30%, #ffffff 30% 100%);
    }
}

@media screen and (max-width: 320px) {
    .container-header{
        max-width: 300px;
    }

}

@media (orientation: landscape) and (max-height: 600px) {
    nav{
        padding: 0.75em 2em;
        background: red;
    }
    nav picture {
        height: 48px;
    }

    .nav-links{
        padding: 0.5rem 2rem;   
    }
    
    .nav-links a{
        padding: 0.5rem 1.5rem;
        font-size: clamp(0.7rem, 1vw, 1.5rem)
    }

    nav .abajo {
        padding: 1em 2em;
    }

    .Contenido-header{
        & .Contenido-header-Bloque{
            & .Contenido-header-Bloque-flex{
                & .Contenido-Bloque-text{
                    padding: 4rem 1rem 0;
                    & h1{
                        font-size: clamp(1.5rem, 5vw, 7rem);
                    }
                    & p{
                        font-size: clamp(1rem, 1.5vw, 2rem);
                    }
                    & a{
                        margin-top: 0.5rem;
                        padding: 0.5rem 1.75rem;
                        font-size: clamp(1rem, 1vw, 1.5rem);
                    }
                }
                & .Contenido-Bloque-Img {
                    height: 100%;
                    & img{
                        aspect-ratio: 6 / 7;
                        padding: 3rem 0rem 0;
                        object-fit: scale-down;
                    }
                }
            }
        }
    }

    .Barra-redes{
        & ul li a img{
            width: 35px;
            height: 35px;
        }
        & ul li a span{
            font-size: clamp(0.7rem, 1vw, 1.5rem);
        }
    }

    .Contenido-abouts{
        height: max-content;
        & .Contenido-abouts-Bloque{
            & .Contenido-abouts-text{
                & h2{
                    font-size: clamp(1rem, 2vw, 3rem);
                }
                & p{
                    font-size: clamp(1rem, 2vw, 2rem);
                }
            }
        }
    }
}

@media(orientation: portrait) and (min-height: 2500px) {
    .Contenido-header{
        height: auto;
        & .Contenido-header-Bloque {
            & .Contenido-header-Bloque-flex {
                & .Contenido-Bloque-Img {
                    height: auto;
                }
            }
        }
    }

    .Contenido-abouts {
        height: auto;
    }

    .Movie {
        & .Contenido-Movie-Bloque {
            & .Contenido-Movie-Video {
                & video {
                    height: 20dvh;
                }
            }
        }
    }
}