@font-face {
    font-family: 'MT Dalat Sans';
    src: url('MTDalatSans.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #000;
}

* {
    font-family: 'MT Dalat Sans', sans-serif;
    box-sizing: border-box;
}

button:focus-visible {
    outline: none !important;
}

#home {
    width: 100%;
    position: relative;
    background: #000;
    min-height: 100vh;
    z-index: 33;
}

#home::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    height: 200px;
    background: linear-gradient(to top, #000, #0000008a, transparent);
    /* De negro a transparente */
}


header {
    width: 100%;
    position: relative;
    z-index: 99;
}

header nav {
    width: 100%;
    padding: 20px 5%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    z-index: 9;
    position: fixed;
    transition: .4s;
    top: 20px;
    z-index: 97;
    align-items: center;
}

header nav.blog-detail{
    top: 0;
    background: #000;
}


header .title-page {
    width: 100%;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 10vh;
    z-index: 80;
}

header .title-page h1 {
    color: #969696;
    font-weight: 400;
    font-size: 200px;
    margin: 0;
    padding: 0;
}

header #navbar.fixed {
    position: fixed;
    background: #000000e0;
    top: 0;
    z-index: 999;
}


header .logo img {
    width: 300px;
    transition: .4s;
}

header #navbar.fixed .logo img {
    width: 220px;
}

header nav ul {
    display: flex;
}

header ul a {
    color: #fff;
    margin: 0 20px;
    padding: 8px;
    font-size: 20px;
    min-width: 80px;
    text-align: center;
    position: relative;
    text-decoration: none;
}

header ul a hr {
    position: absolute;
    width: 0%;
    overflow: visible;
    transition: .8s;
    left: 0;
    border-color: transparent;
}

header ul a:hover hr {
    border-color: #dbdbdb;
    width: 100%;
}

header ul a:hover hr::before,
header ul a:hover hr::after {
    background: #dbdbdb;
}

header ul a hr::before {
    content: "";
    position: absolute;
    left: -4px;
    bottom: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transition: .4s;
    background: transparent;
}


header ul a hr::after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: transparent;
    transition: .4s;
}

#hero {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #000;
    /* Fondo negro inicial */
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    /* Efecto fade */
}

.carousel-image.active {
    opacity: 1;
}


.social {
    width: 100%;
    position: absolute;
    z-index: 9;
    bottom: 56px;
    left: 0;
    z-index: 90;
}

.social .container {
    width: 88%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.social .left a {
    color: #fff;
    text-decoration: none;
    margin: 0 6px;

}

.social .left a img{
    width: 16px;
}

.social .left a:nth-child(3) {
    margin-left: 38px;
    transition: .4s;
    font-size: 16px;
}

.social .left a:nth-child(3):hover {
    margin-left: 50px;
}


.social .right {
    text-align: center;
}

.social .right p {
    color: #fff;
    font-size: 14px;
    margin-top: 26px;
    padding: 0;
    margin-bottom: 0;
}

.social a img {
    transition: .4s;
    width: 20px;
}

.social a img:hover {
    transform: scale(1.2);
}

.social .right img {
    width: 70px;
}

main {
    background: #000;
    width: 100%;
    position: relative;
    z-index: 1;
}

#nosotros {
    width: 100%;
    padding-top: 130px;
    overflow: hidden;
    background: url("../img/bg-dune2.png");
    background-size: cover;
    background-position-y: top;
    padding-bottom: 20vh;
    position: relative;
}

.statue {
    width: 456px;
    height: 540px;
    background: url("../img/statue.png");
    background-size: cover;
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
}

#nosotros::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    height: 200px;
    background: linear-gradient(to top, #000, #0000008a, transparent);
    /* De negro a transparente */
}



#nosotros h2 {
    position: relative;
    font-size: 26px;
}

#nosotros .container {
    width: 88%;
    max-width: 1280px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

#nosotros .fila {
    display: flex;
    justify-content: space-between;
}

#nosotros .container .left,
#nosotros .container .right {
    width: 36%;
    position: relative;
    z-index: 2;
}

#nosotros hr {
    position: relative;
    overflow: visible;
    margin-bottom: 60px;
    border-color: #DBDBDB;
}

#nosotros hr::before {
    content: "";
    position: absolute;
    left: -4px;
    bottom: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transition: .4s;
    background: #DBDBDB;
}

#nosotros hr::after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #DBDBDB;
    transition: .4s;
}

#nosotros h2 {
    color: #969696;
    font-size: 26px;
    font-weight: 400;
}

#nosotros p {
    font-size: 18px;
    color: #969696;
    font-weight: 400;
    line-height: 35px;
}


#servicios {
    width: 100%;
    position: relative;
    padding-top: 60px;
    padding-bottom: 100px;
}

#servicios .container {
    width: 88%;
    max-width: 1280px;
    margin: 0 auto;
}


#servicios h2 {
    color: #969696;
    font-size: 200px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 90px;
}

#servicios button {
    width: 100%;
    background: transparent;
    color: #969696;
    border: 0 transparent;
    text-align: left;
    font-size: 20px;
    font-weight: 300;
    padding-top: 00px;
    position: relative;
    cursor: pointer;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#servicios button span {
    padding-left: 20px;
    transition: .6s;
}

#servicios button hr {
    border-color: #dbdbdb;
    transition: .4s;
    overflow: visible;

}


#servicios button::after {
    width: 30px;
    height: 30px;
    content: "+";
    color: #969696;
    position: absolute;
    right: 0;
    top: 10px;
    font-size: 30px;
    font-weight: 300;
    transition: .4s;
}

#servicios button:hover {
    color: #fff;
}

#servicios button:hover hr {
    border-color: #fff;
}

#servicios button:hover::after {
    color: #fff;
}

#servicios button hr {
    border-color: #dbdbdb;
    margin-top: 36px;
    width: 100%;
    position: relative;
    overflow: visible;

}

#servicios button hr::after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #DBDBDB;
    transition: .4s;
}


#servicios button hr::before {
    content: "";
    position: absolute;
    left: -4px;
    bottom: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #DBDBDB;
    transition: .4s;
}

#equipo {
    width: 100%;
    position: relative;
    padding-top: 60vh;
    padding-bottom: 130px;
}

#equipo .img-bg {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

#equipo .img-bg img {
    width: 100%;
}

#equipo .container {
    width: 88%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

#equipo .left {
    width: 50%;
}

#equipo .left h2 {
    font-size: 200px;
    color: #969696;
    font-weight: 400;
    margin: 0;
}

#equipo .right {
    width: 50%;
}


#equipo .right p {
    font-size: 20px;
    color: #969696;
    line-height: 28px;
}


footer {
    width: 100%;
    position: relative;
    padding: 30px 0 80px;
    z-index: 4;
}

footer .container {
    width: 88%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

footer p {
    color: #fff;
    padding: 0;
    margin: 0;
}

footer p a {
    color: #fff;
    text-decoration: none;
}

footer p a:hover {
    text-decoration: underline;
}

footer a {
    margin: 0 4px;
}

footer a img{
    width: 16px;
}

/* Estilo para el contenido del acordeón */
.accordion-content {
    overflow: hidden;
    max-height: 0;
    /* Cerrado por defecto */
    transition: max-height .8s ease;
    /* Suavizado para abrir y cerrar */
    background: #000;
    background-size: cover;
    background-position-y: bottom;
    padding: 0 20px;
    /* Sin padding cuando está cerrado */
    opacity: 0;
    /* Transparente inicialmente */
    transition: max-height .8s ease, opacity 0.8s ease;
    position: relative;
}

.accordion-content.open {
    opacity: 1;
    /* Hace visible el contenido */
    margin-bottom: 30px;
    background: url("../img/bg-dune3.png") #000;

}

.accordion-content h3 {
    font-size: 70px;
    color: #969696;
    font-weight: 300;
    margin: 40px 0 20px;
}


.accordion-content h4 {
    font-size: 25px;
    color: #969696;
    font-weight: 300;
}

.accordion-content hr {
    position: relative;
    width: 500px;
    max-width: 70%;
    overflow: visible;
    transition: .8s;
    float: left;
    border-color: #bdbdbd;
}

.accordion-content hr::before {
    content: "";
    position: absolute;
    left: -4px;
    bottom: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transition: .4s;
    background: #bdbdbd;
}

.accordion-content hr::after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transition: .4s;
    background: #bdbdbd;
}

.accordion-content .fila {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.accordion-content .fila .left {
    width: 60%;
    padding-right: 30px;
}

.accordion-content .fila .right {
    padding-top: 50px;
    width: 38%;
}

.accordion-content .right img {
    max-width: 100%;
}

.accordion-content .left ul {
    padding-left: 16px;
    margin: 0;
}

.accordion-content .left li {
    color: #969696;
    font-size: 18px;
    margin-bottom: 6px;
    line-height: 26px;
}



/*Animation css*/


/* Estilo inicial de los elementos animados */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

/* Clase activa: cuando el elemento entra en el viewport */
.animate-on-scroll.visible {
    animation-fill-mode: both;
}

/* Animaciones específicas */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-left {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-right {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-down {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Clases para vincular las animaciones */
.animate-on-scroll.visible {
    animation-fill-mode: both;
}

.fade.visible {
    animation-name: fade;
}

.fade-up.visible {
    animation-name: fade-up;
}

.fade-left.visible {
    animation-name: fade-left;
}

.fade-right.visible {
    animation-name: fade-right;
}

.fade-down.visible {
    animation-name: fade-down;
}

.carousel-image.mobile {
    display: none;
}

#menu-mobile {
    display: none;
}

#menu-mobile-content {
    display: none;
}

#blog-resume {
    width: 100%;
    position: relative;
    padding-top: 90px;
    padding-bottom: 200px;
}

#blog-resume .container {
    width: 88%;
    margin: 0 auto;
    max-width: 1280px;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}


#blog-resume .container .left {
    width: 72%;
}

#blog-resume .container .left.description h1 {
    color: #969696;
    text-transform: uppercase;
    font-size: 20px;
}

#blog-resume .container .left.description p{
    color: #969696;
    font-size: 14px;
    line-height: 26px;
}

#home.blog::after{
    background: transparent;
}

#blog-resume .container .right {
    width: 22%;
    padding-top: 100px;
}

#blog-resume .container .right.categories-detail{
    padding-top: 40px;
}

#blog-resume .container .right h2{
    font-size: 18px;
    text-transform: uppercase;
    display: block;
    position: relative;
    color: #969696;
    width: 200px;
    padding: 10px 30px 10px 0px;
    border-bottom: 1px solid #969696;
}

#blog-resume .container .right button{
    width: 100%;
    text-align: left;
    font-size: 14px;
    background: transparent;
    color: #969696;
    border: 0 transparent;
    padding-left: 30px;
    margin: 12px 0;
    position: relative;
    cursor: pointer;
}

#blog-resume .container .right button::before{
    position: absolute;
    content: "";
    left: 0;
    top: 2px;
    background: transparent;
    border: 2px solid #C3CCD3;
    border-radius: 50%;
    width: 12px;
    transition: .6s;
    height: 12px;
}
#blog-resume .container .right button.activo::before {
    background: #F5381A;
    border: 2px solid #F5381A;
}
#blog-resume .container .right button:hover::before {
    background: #F5381A;
    border: 2px solid #F5381A;
}

/* #blog-resume .grid-container {
    column-count: 2; 
    column-gap: 40px; 
    padding: 20px;
} */

#blog-resume .grid-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 50px;
    /* Espacio entre las tarjetas */

}

#blog-resume .card-blog {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    transition: 1s;
    position: relative;
}

#blog-resume .grid-container .card-blog img {
    width: 100%;
}

#blog-resume .card-blog .header-card {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#blog-resume .card-blog .header-card .category {
    display: block;
    padding: 4px 18px;
    color: #fff;
    border-radius: 4px;
    background: #F5381A;
    margin-right: 4px;
    text-transform: uppercase;
    font-size: 14px;
}

#blog-resume .card-blog .header-card .date{
    font-size: 14px;
    color: #fff;
}
#blog-resume .card-blog .body-card {
    padding: 10px 0 40px;
    border-bottom: 1px solid #969696;
}
#blog-resume .card-blog .body-card h2{
    margin: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    color: #969696;
    margin-bottom: 30px;
    transition: .6s;
}
#blog-resume .card-blog .body-card:hover h2{
    transform: scale(1.2);
    color: #ffff;
}
#blog-resume .card-blog .body-card p{
    font-size: 14px;
    color: #969696;
    line-height: 26px;
}

#blog-resume .card-blog .body-card a{
    text-decoration: none;
    color: #fff;
    width: max-content;
    display: block;
    position: relative;
}



#blog-resume .card-blog .body-card hr{
    border-color: #969696;
    width: 100%;
}
#blog-resume .card-blog .body-card hr::before {
    content: "";
    position: absolute;
    left: -4px;
    bottom: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transition: .4s;
    background: #969696;
}
#blog-resume .card-blog .body-card hr::after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #969696;
    transition: .4s;
}

#cont-login{
    z-index: 9;
    width: 100%;
    min-height: 100vh;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cont-login form a{
    display: block;
    margin-bottom: 40px;
}

#cont-login form input{
    width: 100%;
    display: block;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 30px;
    color: #fff;
    font-size: 20px;
    margin: 10px 0;
}

#cont-login form button{
    background: #fff;
    padding: 18px 120px;
    border-radius: 30px;
    margin: 20px 0;
    transition: .4s;
    cursor: pointer;
}

#cont-login form button:hover{
    padding: 18px 140px;
}



@media screen and (min-width:320px) and (max-width: 990px) {
    .carousel-image.mobile {
        display: block;
    }

    .carousel-image.desktop {
        display: none;
    }

    .blog .carousel-image.desktop {
        display: block;
        width: 100%;

    }
    .blog #hero{
        height: 55vh;
    }
    #home.blog{
        min-height: 55vh;
    }
    #navbar ul {
        display: none;
    }

    #nosotros .container {
        width: 84%;
    }

    header #navbar {
        justify-content: center;
        width: 100%;
    }

    #nosotros .fila {
        flex-wrap: wrap;
    }

    #nosotros .container .left,
    #nosotros .container .right {
        width: 100%;
    }

    #nosotros .right hr {
        display: none;
    }

    #servicios h2 {
        font-size: 60px;
    }

    #nosotros .statue {
        position: relative;
    }

    #equipo .left h2 {
        font-size: 80px;
        text-align: center;
    }

    #servicios h2 {
        font-size: 80px;
    }

    #equipo .right p {
        line-height: 35px;
    }

    #equipo {
        overflow-x: hidden;
        overflow-y: hidden;
        padding-top: 300px;
    }

    #equipo .img-bg img {
        width: 180%;
        left: -40%;
        position: relative;
    }

    .accordion-content h3 {
        font-size: 34px;
    }

    .accordion-content .fila .left,
    .accordion-content .fila .right {
        width: 100%;
    }

    .accordion-content .fila .right img {
        margin-bottom: 40px;
    }

    #servicios .container {
        width: 84%;
    }

    #equipo .container {
        width: 84%;
        flex-wrap: wrap;
    }

    #equipo .container .left,
    #equipo .container .right {
        width: 100%;
    }

    .social {
        bottom: 140px;
    }

    header .social .right {
        display: none;
    }

    .social .container {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .social .container .left {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .social .container .left a {
        width: 30px;
        margin-bottom: 10px;
    }

    .social .left a:nth-child(3) {
        width: 100%;
        margin: 0;
    }

    #menu-mobile {
        display: block;
        width: 100%;
        position: fixed;
        bottom: -2px;
        padding: 0;
        z-index: 99;
    }

    #menu-mobile .fila {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: stretch;
    }

    #menu-mobile .fila .left,
    #menu-mobile .fila .right {
        width: 50%;
    }

    header .title-page {
        bottom: 26vh;
    }

    header .title-page h1 {
        font-size: 80px;
    }

    #menu-mobile .fila .left button {
        background: #242222;
        color: #fff;
        display: flex;
        align-items: center;
        font-size: 14px;
        justify-content: center;
        border: 1px solid transparent;
        width: 100%;
        height: 100%;
    }

    #menu-mobile .fila .left button img {
        margin-right: 10px;
    }

    #menu-mobile .fila .right a {
        text-decoration: none;
        background: #CBCBCB;
        color: #000;
        display: flex;
        align-items: center;
        font-size: 14px;
        justify-content: center;
        padding: 10px;
        border: 1px solid transparent;
    }

    #menu-mobile .fila .right a img {
        margin-right: 10px;
        width: 36px;
    }

    #menu-mobile-content {
        display: block;
        width: 100%;
        height: 100vh;
        z-index: 98;
        position: fixed;
        background: #000000f1;
        left: 0;
        bottom: -110vh;
        transition: .8s;
        text-align: center;
        padding-top: 40px;
    }

    #menu-mobile-content.active {
        bottom: 0;
        text-align: center;
    }

    #menu-mobile-content .cont-items {
        width: 90%;
        margin: 80px auto;
    }

    #menu-mobile-content .cont-items ul a img{
        width: 18px;
    }

    #menu-mobile-content .cont-items ul {
        padding: 0;
    }

    #menu-mobile-content .cont-items ul a {
        width: 100%;
        display: block;
        margin: 14px 0;
        padding: 12px 0;
    }

    #menu-mobile-content .cont-items ul li {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 60px;
    }

    #menu-mobile-content .cont-items ul li a {
        width: 40px;
        min-width: 40px;
    }

    #home {
        overflow: hidden;
    }

    header nav {
        position: relative;
    }

    header #navbar.fixed {
        position: relative;
        background: transparent;
    }

    footer {
        position: relative;
        height: 300px;
        text-align: center;
        padding: 60px 0;
        display: block;
    }

    footer .container {
        display: block;
    }

    footer .container p {
        width: 100%;
        padding: 10px 0;
    }

    footer .redes {
        position: absolute;
        top: 10px;
        left: 0;
        width: 100%;
    }

    #blog-resume .grid-container {

        grid-template-columns: repeat(1, minmax(250px, 1fr));

    }
    #blog-resume .container .left{
        width: 100%;
    }
    #blog-resume{
        padding-top: 30px;
    }
    #blog-resume .container{
        flex-direction: column-reverse;
    width: 88%;
    }
    #blog-resume .container .right{
        padding:60px;
        width: 100%;
    }
    #blog-resume .container.detail{
        flex-direction: column;
    width: 88%;
    }
}