/* HOJA DE ESTILOS-INICIO*/
/* GENERAL */

@font-face {
    font-family: inter18-black;
    src: url(../fonts/Inter_18pt-Black.ttf) format("truetype");
}

@font-face {
    font-family: inter18bold;
    src: url(../fonts/Inter_18pt-Bold.ttf) format("truetype");
}

@font-face {
    font-family: inter18-bolditalic;
    src: url(../fonts/Inter_18pt-BoldItalic.ttf) format("truetype");
}

@font-face {
    font-family: inter18-light;
    src: url(../fonts/Inter_18pt-Light.ttf) format("truetype");
}


@font-face {
    font-family: inter18-medium;
    src: url(../fonts/Inter_18pt-Medium.ttf) format("truetype");
}

@font-face {
    font-family: inter18-mediumitalic;
    src: url(../fonts/Inter_18pt-MediumItalic.ttf) format("truetype");
}

@font-face {
    font-family: publico-bold-italic;
    src: url(../fonts/PublicoHeadlineWeb-BoldItalic.ttf) format("truetype");
}

@font-face {
    font-family: publico-medium-italic;
    src: url(../fonts/PublicoHeadlineWeb-MediumItalic.ttf) format("truetype");
}

/* BODY */
body {
    margin: 0;
    padding-top: 0;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #E5E7FE;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: inter18Bold;
}

p {
    font-family: inter18-medium;
}

/* NAV BAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 10px 0 !important;
    background-color: #E5E7FE;
}

.active {

    font-family: inter18-black !important;
}

.nav-link {

    padding: 60px 30px !important;
    color: #5965F2;
}

nav a {
    color: #5965F2 !important;
    font-family: inter18-medium !important;
    font-size: 20px !important;
}

.nav-container {
    padding-left: 80px;
    padding-right: 80px;
}

.navbar-brand {
    margin-left: 110px;

}

.navbar-brand img {
    margin-left: -58px;
}



/* HERO */

.hero {
    background-image: url(../imagenes/fotografias/portafolio.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;

    background-color: #E5E7FE;
}

.hero img {

    width: 70%;
}

.hero-content {
    padding-left: 122px !important;
    padding-top: 0 !important;
}

.hero .row {
    min-height: 90vh;
    align-items: center;
}







/*---------------------------------------------------------------------------*/
/* IDEAS EN ACCIÓN */

.featured-cards {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.ideasenaccion {
    background: #5965F2;
    padding: 100px 0;
}

.titulo-quehago {
    color: #FFFCF6;
    font-size: 30px;
    padding: 20px 0px;
}

.card-proyecto {
    flex: 1;
    transition: all .5s ease;
    cursor: pointer;
}

.card-proyecto img {

    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: .4s ease;
}

.titulo-card {
    background-color: #343D96;
    color: #FFFCF6;
    text-align: center;
    padding: 10px;
    line-height: 1;
}

.contenido-expandido {
    display: none;
    background-color: #343D96;
    color: #FFFCF6;
    padding: 28px;
}

.contenido-expandido h3 {
    font-size: 30px;
    color: #E5E6FF;
    margin-bottom: 20px;
    font-family: inter18Bold;
    line-height: 1;
}

.contenido-expandido p {

    font-size: 20px;
    line-height: 1;
    color: #C9CBFF;
    margin-bottom: 30px;
}

.card-proyecto.activa {
    flex: 2.5;
}

.card-proyecto.activa img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.card-proyecto.activa .contenido-expandido {

    display: block;
}

.card-proyecto.activa .titulo-card {

    display: none;
}


.btn-card {

    align-self: flex-start;
    background: #8F91FF;
    color: white;
    text-decoration: none;
    padding: 12px 32px;
    border-radius: 10px;
    transition: .3s ease;
}

.btn-card:hover {

    background: #A8AAFF;
}

/*---------------------------------------------------------------------------*/

/* FOOTER */

.footer-custom {
    background: #4a4a4d;
    padding: 80px 0;
}

.footer-custom h3 {
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 30px;
    font-family: inter18Bold;
}

.footer-logo {
    width: 120px;
    margin-bottom: 25px;
}

.footer-copy {
    color: #B7BCFF;
    font-size: 20px;
    line-height: 1.4;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 14px;
}

.footer-list a {
    color: #B7BCFF;
    text-decoration: none;
    font-size: 20px;
    transition: .3s;
}

.footer-list a:hover {
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 55px;
    height: 55px;
    background: #B7BCFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: .3s;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.social-icons i {
    color: #4a4a4d;
    font-size: 24px;
}

/* FLECHA */
.flecha {
    position: fixed;
    bottom: 60px !important;
    right: 0 !important;
    display: none;
    z-index: 99999;

}

.flecha img {
    width: 100%;
    transition: all ease 0.3s;
}


.flecha img:hover {
    transform: scale(1.2);
}



/* MEDIA QUERIES*/
/*///////////////////////////////////  1400   /////////////////////////////////////////////////////*/

@media (max-width:1400px) {

    /* NAVBAR*/

    .navbar-brand {
        margin-left: 104px;
    }

    /* 1400 HERO */
    .hero {
        height: 80vh;
        background-position: center center;
    }

    /* 1400 FOOTER */


    .footer-custom {
        padding: 50px 80px;
    }

    .footer-custom h3 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .footer-logo {
        width: 100px;
        margin-bottom: 20px;
    }

    .footer-copy {
        font-size: 16px;
    }

    .footer-list li {
        margin-bottom: 10px;
    }

    .footer-list a {
        font-size: 16px;
    }

    .social-icons {
        gap: 15px;
    }

    .social-icons a {
        width: 45px;
        height: 45px;
    }

    .social-icons i {
        font-size: 20px;
    }
}


/*///////////////////////////////////  1200  /////////////////////////////////////////////////////*/

@media (max-width:1200px) {

    /* 1200 HERO */
    .hero {
        height: 70vh;
        background-position: center center;
        background-size: cover;
    }

    .hero-content {
        padding-left: 60px !important;
    }

}

/*///////////////////////////////////  992   /////////////////////////////////////////////////////*/

@media (max-width:992px) {

    /* 992 NAVBAR*/



    .navbar-brand {
        margin-left: 100px;
    }

    .nav-link {
        padding: 20px 30px !important;
    }

    nav a {
        color: #5965F2 !important;
        font-family: inter18-medium !important;
        font-size: 20px !important;
    }

    body {
        padding-top: 0;
    }

    /* 992 HERO */
    .hero {
        height: 60vh;
        background-position: center;
    }

    .contenido-expandido h3 {
        font-size: 28px;
        margin-bottom: 17px;
        line-height: 1;
    }

    .contenido-expandido p {

        font-size: 16px;
        line-height: 1;
        margin-bottom: 27px;
    }

    /* 992 FOOTER */
    .footer-logo {
        width: 50px;
    }

    .footer-custom h3 {
        font-size: 18px;
    }

    .footer-list a,
    .footer-copy {
        font-size: 12px !important;
    }

    .icono-social i {
        font-size: 20px !important;
    }
}

/*///////////////////////////////////  768   /////////////////////////////////////////////////////*/
@media (max-width:768px) {

    /* NAV */
    .navbar {
        padding: 30px 0px !important;
    }

    nav a {
        font-size: 15px !important;
    }

    /* HERO */

    .hero {
        height: 55vh;
        background-position: center;
    }


    /* FOOTER */

    .footer-logo {
        width: 50px;
    }

    .footer-custom {
        padding: 30px 0 !important;
    }

    .footer-custom h3 {
        font-size: 14px;
        line-height: 1;
    }

    .footer-list li {
        margin-bottom: 10px;
        line-height: 1;
    }

    .footer-list a,
    .footer-copy {
        font-size: 12px !important;

    }

    .social-icons {
        gap: 10px
    }

    .icono-social i {
        font-size: 15px !important;
        line-height: 1;
    }



}


/*///////////////////////////////////  576   ////////////////////////////////////////////*/

@media (max-width:576px) {

    .navbar-brand {
        margin-top: 30px;
    }

    .navbar {
        position: relative;
    }

    /* HERO */
    .hero {
        height: 50vh;
        background-position: center;
        padding-top: 80px;
        /* ajusta según tu navbar */
        box-sizing: border-box;
    }

    /* FOOTER */
    .footer-custom {
        text-align: center;
    }

    .footer-logo {
        display: block;
        margin: 0 auto 20px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-custom .col-lg-4,
    .footer-custom .col-lg-2,
    .footer-custom .col-md-6 {
        margin-bottom: 20px;
    }


    .icono-social i {
        font-size: 12px !important;
        line-height: 1;
    }

    .flecha {

        bottom: 10px;
        right: 5px;
        display: block;
        position: fixed;

    }

    .flecha img {
        width: 50%;
    }
}