/*Vinculación tipografía externa*/
@font-face {
    font-family: "Amplitude-Comp-Bold";
    src: url(../fonts/Amplitude-Comp-Bold.ttf);
}

@font-face {
    font-family: "Inter-Regular";
    src: url(../fonts/Inter-Regular.ttf);
}

@font-face {
    font-family: "Inter-Semibold";
    src: url(../fonts/Inter-SemiBold.ttf);
}


/*Estilos del ejercicio*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #FFFFFE;
    font-family: "Inter-Regular", sans-serif;
    line-height: 1.5;
}

/*Estilos del header*/
header {
    background-color: #222222;
}

.navbar {
    min-height: 80px;
}

.navbar-brand {
    font-family: "Amplitude-Comp-Bold", Verdana, Geneva, Tahoma, sans-serif;
    font-size: 25px;
    color: #B9D6BA;
}

.nav-link {
    color: #FFFFFE;
    font-size: 17px;
    font-weight: 500;
    margin-left: 2rem;
}

.nav-link:hover {
    color: #B9D6BA;
}


/* Animación del logo */
.navbar-brand {
    opacity: 0;
    filter: blur(10px);
    animation: foco 2.5s ease-out forwards;
}

@keyframes foco {
    to {
        opacity: 1;
        filter: blur(0);
    }
}


/*Configuración de la sección principal main*/
main {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px;
}

.proyecto {
    margin: 85px 0;
}

/* Intro */
.proyecto-intro h1 {
    font-family: "Amplitude-Comp-Bold", Verdana, Geneva, Tahoma, sans-serif;
    color: #222222;
    font-size: 56px;
    margin-bottom: 10px;
}

.proyecto-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: #6E746F;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* Descripción y logo */
.proyecto-logo {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
    margin-bottom: 85px;
}

.proyecto-texto p {
    max-width: 610px;
    font-size: 16px;
    line-height: 1.7;
    color: #6E746F;
}

.proyecto-logo img {
    max-width: 350px;
    width: 100%;
    margin-top: -85px;
}

/* Bloques */
.proyecto-bloque {
    margin-bottom: 100px;
}

.proyecto-bloque h2 {
    font-family: "Amplitude-Comp-Bold", Verdana, Geneva, Tahoma, sans-serif;
    color: #222222;
    font-size: 32px;
    margin-bottom: 40px;
}

/* Cards */
.concept-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.card {
    background: #FFFFFE;
    padding: 28px;
    border-radius: 8px;
}

.card h3 {
    font-family: "Inter-Semibold", sans-serif;
    color: #2F63F6;
    font-size: 18px;
    margin-bottom: 8px;
}

.card p {
    font-size: 15px;
    line-height: 1.6;
    color: #6E746F;
}

/* User flow */
.flow-embed {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.flow-embed iframe {
    width: 100%;
    height: 520px;
    border: none;
}

/* Prototipos */
.prototipos-embed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.proto-item h3 {
    font-family: "Inter-Semibold", sans-serif;
    color: #353535;
    font-size: 18px;
    margin-bottom: 16px;
}

.proto-item iframe {
    width: 100%;
    height: 520px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

/* Botón final */
.proyecto-cta {
    display: flex;
    justify-content: center;
    margin-top: -20px;
}

.cta-btn {
    color: #B9D6BA;
    background-color: #222222;
    border-radius: 100px;
    text-decoration: none;
    padding: 10px 26px;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 500ms;
}

.cta-btn:hover {
    background-color: #B9D6BA;
    color: #222222;
}

/* Responsive */
@media (max-width: 768px) {

    .proyecto {
        margin: 60px 0;
        /* separación superior/inferior del proyecto */
    }

    .proyecto-intro {
        text-align: center;
    }

    .proyecto-intro h1 {
        font-size: 55px;
    }

    .proyecto-meta {
        justify-content: center;
        margin-bottom: 40px;
        /* espacio bajo etiquetas */
    }

    .proyecto-logo {
        grid-template-columns: 1fr;
        gap: 28px;
        /*espacio entre logo y texto */
        text-align: center;
        margin-bottom: 80px;
        /* separación con las cards */
    }

    .proyecto-logo img {
        order: -1;
        /* logo arriba */
        max-width: 240px;
        margin: 0 auto;
    }

    .proyecto-texto p {
        margin: 0 auto;
        max-width: 600px;
        /*ancho cómodo de lectura mobile */
    }

    /* Cards*/
    .concept-cards {
        grid-template-columns: 1fr;
        gap: 24px;
        /*espacio entre cards */
    }

    .proyecto-bloque {
        margin-bottom: 80px;
        /*separación entre secciones */
    }

    .flow-embed iframe {
        height: 380px;
    }

    .prototipos-embed {
        grid-template-columns: 1fr;
    }

    .proto-item iframe {
        height: 420px;
    }

    .proto-item h3 {
        margin-top: 4px;

    }

    .proyecto-cta {
        margin-top: 50px;
    }



}


/* Estilos del Footer */
.footer-custom {
    background-color: #B3C4B7;
}

/* Fila principal */
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Item */
.footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Icono */
.icon-circle {
    width: 42px;
    height: 42px;
    background-color: #FFFFFE;
    color: #B3C4B7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    flex-shrink: 0;
}

.icon-circle:hover {
    background-color: #222222;
    color: #B3C4B7;
}

/* Texto */
.icon-label {
    font-size: 14px;
    color: #FFFFFE;
    white-space: nowrap;
}

/* Responsive Móvil */
@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .icon-label {
        white-space: normal;
        text-align: center;
    }
}