/* =========================================================
   GPA — LAB.CSS
   Stili specifici per lab.html.

   style.css gestisce gli elementi condivisi:
   - navbar
   - footer
   - font
   - variabili globali
   - bottoni comuni
   ========================================================= */

/* =========================================================
   VARIABILI LOCALI
   ========================================================= */

.lab-page {
    --lab-white: #ffffff;
    --lab-ink: #111111;
    --lab-blue: #0a4272;
    --lab-blue-dark: #062d4e;
    --lab-blue-soft: #d3ebff;
    --lab-muted: #66717b;
    --lab-grey: #e7ebef;
    --lab-max-width: 1480px;
}

/* =========================================================
   BASE
   ========================================================= */

.lab-page {
    min-width: 320px;
    color: var(--lab-ink);
    background: var(--lab-white);
}

.lab-page main {
    width: 100%;
    overflow: hidden;
}

.lab-page img {
    display: block;
    max-width: 100%;
}

.lab-page .mobile-menu a.active,
.lab-page .nav-desktop a.active {
    color: var(--blue);
}

/* =========================================================
   HERO
   ========================================================= */

.lab-page .header_lab {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    background:
        linear-gradient(
            120deg,
            rgba(4, 20, 35, .48),
            rgba(10, 66, 114, .14)
        ),
        url("img/bg-innlab.jpg") center / cover no-repeat;
}

/* If your image uses another filename, change only the URL above. */

/* =========================================================
   CONTAINER
   ========================================================= */

.lab-page .container {
    width: min(calc(100% - 48px), var(--lab-max-width));
    margin-inline: auto;
}

/* =========================================================
   INTRODUCTION
   ========================================================= */

.lab-page .section_innlab {
    min-height: 760px;
    padding: 105px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 75px;
}

.lab-page .content_innlab {
    width: min(650px, 100%);
    flex: 1 1 0;
}

.lab-page .maintext_innlab {
    margin-bottom: 48px;
}

.lab-page .title_innlab {
    max-width: 650px;
    margin: 0 0 28px;
    color: var(--ink);
    font-family: var(--display-font);
    font-size: clamp(44px, 5vw, 48px);
    font-weight: 400;
    letter-spacing: -3px;
    line-height: 1.02;
}

.lab-page .subtitle_innlab {
    margin: 0 0 22px;
    color: var(--blue);
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.lab-page .text_innlab {
    max-width: 560px;
    color: var(--muted);
    font-family: var(--body-font);
    font-size: 15px;
    line-height: 1.8;
}

.lab-page .img_second_innlab {
    width: min(500px, 42%);
    height: auto;
    flex: 0 1 500px;
    object-fit: contain;
}

/* =========================================================
   INTRODUCTION FEATURE CARDS
   ========================================================= */

.lab-page .inn_cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lab-page .inn_card {
    min-height: 82px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--lab-grey);
    border-radius: 14px;
    background: var(--lab-white);
    box-shadow: 0 7px 22px rgba(10, 66, 114, .06);
}

.lab-page .inn_card > img {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    object-fit: contain;
}

.lab-page .inn_content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lab-page .inn_title {
    color: var(--ink);
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.lab-page .inn_text {
    color: var(--muted);
    font-family: var(--body-font);
    font-size: 12px;
    line-height: 1.45;
}

/* =========================================================
   MESSAGE SECTION
   ========================================================= */

.lab-page .section_text_innlab {
    min-height: 300px;
    padding: 90px 0 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lab-page .section_text_innlab .collab_title {
    margin: 0 0 25px;
    color: var(--blue);
    font-family: var(--body-font);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.lab-page .section_text_innlab .collab_subtitle {
    max-width: 800px;
    margin: 0;
    color: var(--ink);
    font-family: var(--display-font);
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 400;
    letter-spacing: -3px;
    line-height: 1;
}

/* =========================================================
   OPPORTUNITIES SWIPER
   ========================================================= */

.lab-page .section_swiper_innlab {
    width: 100%;
    padding: 80px 0 100px;
    overflow: hidden;
    background: var(--blue);
}

.lab-page .swiper_container {
    position: relative;
    width: min(100% - 48px, 1380px);
    margin: 0 auto;
}

.lab-page .swiper_content {
    width: 100%;
    padding: 12px 58px 60px;
    overflow: hidden;
}

.lab-page .swiper-wrapper {
    align-items: stretch;
}

.lab-page .card_swiper {
    min-height: 270px;
    padding: 35px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(4, 20, 35, .15);
}

.lab-page .innlab_title_swiper {
    color: var(--ink);
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

.lab-page .innlab_title_swiper .span_text {
    color: var(--blue);
    font-weight: 700;
}

.lab-page .section_swiper_innlab .swiper-button-prev,
.lab-page .section_swiper_innlab .swiper-button-next {
    width: 44px;
    height: 44px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    color: var(--white);
    background: transparent;
    transition:
        color .25s ease,
        background-color .25s ease,
        border-color .25s ease;
}

.lab-page .section_swiper_innlab .swiper-button-prev {
    left: 0;
}

.lab-page .section_swiper_innlab .swiper-button-next {
    right: 0;
}

.lab-page .section_swiper_innlab .swiper-button-prev::after,
.lab-page .section_swiper_innlab .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.lab-page .section_swiper_innlab .swiper-button-prev:hover,
.lab-page .section_swiper_innlab .swiper-button-next:hover {
    border-color: var(--white);
    color: var(--blue);
    background: var(--white);
}

.lab-page .section_swiper_innlab .swiper-pagination {
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lab-page .section_swiper_innlab .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 !important;
    opacity: .45;
    background: var(--white);
}

.lab-page .section_swiper_innlab .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 999px;
    opacity: 1;
    background: var(--lab-blue-soft);
}

/* =========================================================
   TEAM SECTION
   ========================================================= */

.lab-page .section_team {
    min-height: 380px;
    padding: 80px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    text-align: center;
}

.lab-page .section_team p {
    width: min(100%, 860px);
    color: var(--white);
    font-family: var(--body-font);
    font-size: clamp(32px, 4vw, 40px);
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 1.08;
}

/* =========================================================
   CURRICULUM SECTION
   ========================================================= */

.lab-page .section_curriculum {
    min-height: 500px;
    padding: 110px 0 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lab-page .section_curriculum .collab_title {
    margin: 0 0 28px;
    color: var(--blue);
    font-family: var(--body-font);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.lab-page .innlab_subtitle {
    max-width: 850px;
    margin: 0 0 30px;
    color: var(--ink);
    font-family: var(--body-font);
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 1.08;
}

.lab-page .innlab_subtitle a {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.lab-page .innlab_text {
    max-width: 650px;
    color: var(--muted);
    font-family: var(--body-font);
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
    .lab-page .header_lab {
        min-height: 280px;
    }

    .lab-page .section_innlab {
        min-height: auto;
        padding: 80px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .lab-page .content_innlab {
        width: 100%;
    }

    .lab-page .img_second_innlab {
        width: min(520px, 100%);
        align-self: center;
        flex-basis: auto;
    }

    .lab-page .section_text_innlab {
        min-height: 260px;
        padding: 75px 0 55px;
    }

    .lab-page .swiper_content {
        padding-right: 48px;
        padding-left: 48px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {
    .lab-page .container {
        width: calc(100% - 36px);
    }

    .lab-page .header_lab {
        min-height: 220px;
    }

    .lab-page .section_innlab {
        padding: 65px 0;
        gap: 45px;
    }

    .lab-page .title_innlab {
        font-size: 42px;
        letter-spacing: -1.5px;
        line-height: 1.05;
    }

    .lab-page .subtitle_innlab {
        font-size: 11px;
        letter-spacing: 1.4px;
    }

    .lab-page .text_innlab {
        font-size: 14px;
        line-height: 1.7;
    }

    .lab-page .inn_card {
        padding: 14px 16px;
        gap: 14px;
    }

    .lab-page .inn_card > img {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .lab-page .inn_title {
        font-size: 13px;
    }

    .lab-page .inn_text {
        font-size: 11px;
    }

    .lab-page .section_text_innlab {
        min-height: 260px;
        padding: 65px 0 45px;
    }

    .lab-page .section_text_innlab .collab_subtitle {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .lab-page .section_swiper_innlab {
        padding: 55px 0 75px;
    }

    .lab-page .swiper_container {
        width: calc(100% - 36px);
    }

    .lab-page .swiper_content {
        padding: 8px 0 55px;
    }

    .lab-page .card_swiper {
        min-height: 260px;
        padding: 28px 24px;
        border-radius: 16px;
    }

    .lab-page .innlab_title_swiper {
        font-size: 14px;
        line-height: 1.65;
    }

    .lab-page .section_swiper_innlab .swiper-button-prev,
    .lab-page .section_swiper_innlab .swiper-button-next {
        width: 38px;
        height: 38px;
    }

    .lab-page .section_swiper_innlab .swiper-button-prev {
        left: 0;
    }

    .lab-page .section_swiper_innlab .swiper-button-next {
        right: 0;
    }

    .lab-page .section_team {
        min-height: 330px;
        padding: 65px 18px;
    }

    .lab-page .section_team p {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .lab-page .section_curriculum {
        min-height: 420px;
        padding: 80px 0 90px;
    }

    .lab-page .innlab_subtitle {
        font-size: 30px;
        letter-spacing: -1px;
    }

    .lab-page .innlab_text {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* =========================================================
   ACCESSIBILITÀ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .lab-page *,
    .lab-page *::before,
    .lab-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
