.header-nav-icon-text {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-nav-icon-text span {
    color: white;
    font-size: 25px;
    font-weight: 600;
}

.header-nav-icon-text {
    width: 125px;
}

.llegint-floor {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin-top: 30px;
}

.llegint-floor .intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.llegint-floor .items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 15px;
    width: 90%;
    align-items: center;
}

.llegint-floor .title {
    color: var(--color-lectoescriptura1);
    font-size: var(--font-size, 4.8rem);
    font-weight: var(--font-weight, 700);
    letter-spacing: var(--letter-spacing, 0.01);
    line-height: var(--line-height, 5.2rem);
    text-align: center;
}

.llegint-floor .subtitle {
    color: var(--color-lectoescriptura1);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    width: 65%;
}

.llegint-floor .subtitle>p {
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.3;
}

.llegint-textos-adaptats {
    display: flex;
    flex-direction: column;
    background: #f5f7fa;
    border-radius: 300px 0 300px 0;
    margin-top: 90px;
    height: auto;
    align-items: center;
    text-align: center;
    position: relative;
}

.llegint-textos-adaptats .subtitle {
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-lectoescriptura1);
    margin-bottom: 50px;
}

.llegint-textos-adaptats .intro {
    padding-top: 100px;
    width: 80%;
}

.llegint-textos-adaptats .intro .title {
    color: var(--color-lectoescriptura1);
    font-size: var(--font-size, 4.8rem);
    font-weight: var(--font-weight, 700);
    letter-spacing: var(--letter-spacing, 0.01);
    line-height: var(--line-height, 5.2rem);
    margin-bottom: 10px;
}

.llegint-textos-adaptats .imatges {
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: center;
    width: 60%;
}

.llegint-textos-adaptats .subtextos {
    padding-bottom: 50px;
}

.llegint-textos-adaptats .subtextos>p {
    font-size: 3rem;
    color: var(--color-lectoescriptura1);
    line-height: 1.4;
}

.llegint-textos-adaptats .subtextos>p>span {
    font-size: 1.7rem;
}

.llegint-apren-text-floor {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    padding: 85px 0;
}

.llegint-apren-text-floor .intro {
    text-align: center;
    padding: 40px 0;
}

.llegint-apren-text-floor .h3 {
    color: var(--color-lectoescriptura1);
    font-size: 4.8rem;
    line-height: 4.4rem;
}

.llegint-apren-text-floor .subtitle {
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-lectoescriptura1);
}

.llegint-apren-floor-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px;
    width: 100%;
}

.llegint-apren-floor-items img {
    width: 450px;
    height: auto;
    padding: 15px;
    object-fit: cover;
}

.llegint-guia {
    background: #f5f7fa;
    border-radius: 160px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.llegint-guia .head {
    margin-top: 50px;
}

.llegint-guia .title {
    color: var(--color-lectoescriptura1);
    font-size: var(--font-size, 4.8rem);
    font-weight: var(--font-weight, 700);
    letter-spacing: var(--letter-spacing, 0.01);
    line-height: var(--line-height, 5.2rem);
}

.llegint-guia .subtitle {
    color: var(--color-lectoescriptura1);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    width: 65%;
}

.llegint-guia .elements {
    display: flex;
    gap: 23px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.llegint-guia .elements img {
    max-width: 300px;
}

.llegint-guia-bottom-image {
    margin-top: 40px;
    width: 100%;
}

.llegint-demos {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 75px 0;
}

.llegint-demos .subtitle {
    color: var(--color-lectoescriptura1);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 100px;
}

.llegint-demos a {
    width: 80%;
}

.demos {
    --padding-inline: calc(35vw - 56.5rem);
}

.seq-demos .demo img {
    max-width: 100%;
}

@media (max-width: 1250px) {
    .llegint-guia .elements {
        width: 70%;
    }
}

@media (min-width: 768px) {
    .llegint-hero-floor-new .background {
        border-radius: 0;
    }
}

@media (max-width: 912px) {
    .llegint-textos-adaptats {
        border-radius: 160px 0 160px 0;
    }
    .llegint-textos-adaptats .intro {
        width: 80%;
        position: relative;
    }
    .llegint-textos-adaptats .subtextos {
        position: relative;
    }
    .llegint-textos-adaptats .subtextos>p {
        font-size: 3rem;
        line-height: 1.3;
        padding: 0 20px;
    }
}

@media (max-width: 960px) {
    .home-hero-floor {
        padding-left: 100px;
        padding-right: 100px;
    }
}

@media (max-width: 768px) {
    .llegint-apren-text-floor .h3 {
        font-size: 3rem !important;
        line-height: 3.2rem !important;
    }
    .title {
        font-size: 3rem !important;
        line-height: 3.2rem !important;
    }
    .subtitle {
        font-size: 2rem !important;
        line-height: 2.5rem !important;
    }
    .llegint-textos-adaptats .subtextos>p {
        font-size: 2rem !important;
        line-height: 2.5rem !important;
    }
    .llegint-floor .items {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        margin-top: 15px;
        width: 100%;
    }
}

.llegint-floor .items img {
    max-width: 1200px;
    width: 90%;
}

.llegint-apren-floor-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 90px 0 90px;
    /* espacio entre imágenes */
}


/* Estilo base: 1 por fila */

.llegint-apren-floor-items img {
    flex: 0 0 100%;
    max-width: 100%;
    height: auto;
}

@media (min-width: 300px) {
    .home-hero-floor {
        padding-left: 200px;
        padding-right: 0;
    }
}

@media (min-width: 470px) {
    .home-hero-floor {
        padding-left: 300px;
        padding-right: 0;
    }
}


/* 2 por fila */

@media (min-width: 600px) {
    .llegint-apren-floor-items img {
        flex: 0 0 45%;
        max-width: 45%;
    }
    .home-hero-floor {
        padding-left: 200px;
        padding-right: 0;
    }
}

@media (min-width: 650px) {
    .home-hero-floor {
        padding-left: 300px;
        padding-right: 0;
    }
}

@media (min-width: 768px) {
    .home-hero-floor {
        display: flex;
        justify-content: flex-start;
    }
    .home-hero-floor .content {
        margin-top: 30px;
    }
    .home-hero-floor {
        padding-left: 107px;
        padding-right: 200px;
    }
}


/* 3 por fila */

@media (min-width: 900px) {
    .llegint-apren-floor-items img {
        flex: 0 0 30%;
        max-width: 30%;
    }
}


/* 6 por fila */

@media (min-width: 1200px) {
    .llegint-apren-floor-items img {
        flex: 0 0 15%;
        max-width: 15%;
    }
}

@media (min-width: 1500px) {
    .home-hero-floor {
        display: flex;
        justify-content: center;
    }
    .home-hero-floor .content {
        margin-top: 0px;
    }
}

.llegint-apren-floor-items img {
    width: 210px;
    height: auto;
}

@media (max-width: 568px) {
    .header-nav-icon-text {
        width: 75%;
    }
}

.demos .scroll-wrap {
    margin-bottom: -2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.demos .scroller {
    display: flex;
    gap: var(--gap);
    height: calc(100% + 2rem);
    padding-bottom: 10rem;
    padding-left: 2rem;
}

.seq-demos .scroller {
    padding-bottom: 13rem;
}

.demos .demo {
    flex: 0 0 var(--media-width);
    position: relative;
}

.demos .demo:before {
    content: "";
    left: -2rem;
    position: absolute;
    scroll-snap-align: start;
}

.demos .demo:last-child {
    flex: 0 0 calc(var(--media-width) + 2rem);
    padding-right: 2rem;
}

.demos .demo img {
    border-radius: 1.2rem;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .demos {
        --padding-inline: 2rem;
        padding-left: var(--padding-inline);
        padding-right: var(--padding-inline);
        padding-bottom: 50px;
    }
    .demos .scroll-wrap {
        margin-bottom: 0;
        overflow-x: hidden;
        scroll-snap-type: none;
        overflow-y: hidden;
    }
    .demos .scroller {
        display: flex;
        gap: var(--gap);
        height: auto;
        padding-bottom: 0;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .demos .demo,
    .demos .demo:last-child {
        flex: 1 1 var(--media-width);
        padding-right: 0;
    }
    .seq-demos .demo .dropdown span {
        font-size: 1.8rem;
    }
    .seq-demos .demo:last-child .dropdown {
        inset: 100% 1.3rem auto;
    }
    .seq-demos[data-variant="digital"] {
        --media-width: 24.6rem;
        --media-height: 17.6rem;
    }
}

@media (min-width: 769px) {
    .page-project-floor .scroller {
        padding-bottom: 12rem;
    }
}