/* INDICE:
 * - FONT
 * - VARIABILI CSS
 * - BASE / TIPOGRAFIA
 * - UTILITY TESTO
 * - FORM
 * - BOTTONI
 * - NAVBAR + MEGAMENU
 * - WORKS (TAB & ACCORDION)
 * - FAQ RESPONSIVE
 * - FOOTER
 * - HERO / SEZIONI BASE
 * - HERO / TIPOGRAFIA
 * - OVERRIDES BUILD & GOVERN
 * - BUILD AI: CARD & MEDIA
 * - USE CASES
 * - PARTNERS
 * - WHY GENYO
 * - PROCESSO
 * - LIFECYCLE
 * - CTA
 * - RESOURCES
 * - FAQ
 * - CONTATTI
 * - DEMO
 * - TERMS
 * - MEDIA QUERIES
 */

/* =========
 FONT
 ========= */
@font-face {
    font-family: "Overused Grotesk";
    src: url('../fonts/OverusedGrotesk-Roman.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Apfel Grotezk";
    src: url('../fonts/ApfelGrotezk-Regular.woff2') format('woff2');
    font-style: normal;
    font-weight: 300 800;
}

/* =========
 VARIABILI CSS
 ========= */
* {
    --gen-font: 'Overused Grotesk', sans-serif;
    --gen-font-h: 'Apfel Grotezk', sans-serif;

    --gen-black: #041213;
    --gen-black-20: rgba(4, 18, 19, 0.2);
    --gen-black-10: rgba(4, 18, 19, 0.1);
    --gen-black-60: rgba(4, 18, 19, 0.6);
    --gen-grey: #5E6575;

    --gen-pri-fin: #1C42A2;
    --gen-pri-dig: #6F42C1;

    --gen-fin-10: rgba(28, 66, 162, 0.1);
    --gen-fin-20: rgba(28, 66, 162, 0.2);
    --gen-fin-30: rgba(28, 66, 162, 0.3);
    --gen-fin-40: rgba(28, 66, 162, 0.4);
    --gen-fin-60: rgba(28, 66, 162, 0.6);

    --gen-dig-10: rgba(111, 66, 193, 0.1);
    --gen-dig-20: rgba(111, 66, 193, 0.2);
    --gen-dig-30: rgba(111, 66, 193, 0.3);
    --gen-dig-40: rgba(111, 66, 193, 0.4);
    --gen-dig-60: rgba(111, 66, 193, 0.6);

    --gen-fin-gradient: linear-gradient(180deg, #E9EEF6 12.02%, #F3F3F3 100%), #FFF;
    --gen-dig-gradient: linear-gradient(180deg, #EFE9F6 12.02%, #F3F3F3 100%), #FFF;
}

/* =========
 BASE / TIPOGRAFIA
 ========= */
html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--gen-font-h);
    color: var(--gen-black);
    font-weight: 500;
}

p {
    color: var(--gen-grey);
}

strong {
    font-weight: 600;
}

/* =========
 UTILITY TESTO
 ========= */
.text-fin {
    color: var(--gen-pri-fin);
}

.text-dig {
    color: var(--gen-pri-dig);
}

/* =========
 FORM
 ========= */
input::placeholder,
textarea::placeholder {
    color: #BFC3CC !important;
}

/* =========
 BOTTONI
 ========= */
.btn {
    border-radius: 12px;
    padding: 10px 16px;
}

.btn-gen {
    background-color: var(--gen-pri-fin);
    border: 0;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
}

.btn-gen.govern { background-color: var(--gen-pri-dig); }
.btn-gen-soft.govern { background-color: var(--gen-dig-10); color: var(--gen-pri-dig); }

.btn:hover,
.btn:active,
.btn:focus,
.btn:focus-visible {
    background-color: var(--gen-pri-fin);
    color: #FFF;
    box-shadow: 2px 3px 12px var(--gen-fin-30);
    transform: translateY(0px);
}

.btn-gen:active {
    opacity: 1;
}

.btn-gen-outline {
    border: 1.5px solid var(--gen-black-20);
    background: transparent;
    color: var(--gen-black);
}

.btn-gen-outline:hover {
    background: var(--gen-black-10);
    color: var(--gen-black);
}

.btn-gen-soft {
    background: #E2EBFD;
    color: var(--gen-pri-fin);
    border-radius: 12px;
}

.btn-gen-soft:hover {
    background: #F0F5FD;
    color: var(--gen-pri-fin);
}

/* =========
 NAVBAR + MEGAMENU
 ========= */
header .navbar li.nav-item a {
    color: var(--gen-black);
    font-size: 14px;
}

header .navbar li.nav-item a:hover {
    color: var(--gen-pri-fin);
} 

header .navbar li.nav-item.active a {
    color: var(--gen-pri-fin);
    text-decoration: underline;
    font-weight: 500;
}

.megamenu-products {border: 0; border-radius: 0;}
.megamenu-products .container { padding:16px;}

.megamenu-products button {
    height: 180px;
    width: 350px;
    border-radius: 54.609px !important;
    padding-left: 10% !important;
    text-align: left;
    font-size: 32px;
    font-weight: 500;
    color: var(--gen-black);
    background-image: url(../images/round-arrow.svg);
    background-repeat: no-repeat;
    background-position: 90% center;
}

.megamenu-products button:hover {
    color: inherit;
}

.megamenu-products .gen-bui-btn.active {
    background-color: var(--gen-fin-40);
    color: var(--gen-black);
    backdrop-filter: blur(1.0921874046px);
    background-image: url(../images/round-arrow-fin.svg);
}

.megamenu-products .gen-gov-btn.active {
    background-color: var(--gen-dig-40);
    color: var(--gen-black);
    backdrop-filter: blur(1.0921875238px);
    background-image: url(../images/round-arrow-dig.svg);
}

.megamenu-products .tab-pane {
    width: 100%;
    height: 360px;
    overflow: hidden;
    padding-top: 20px;
    border-radius: 12px !important;
}

.megamenu-products #v-build {
    background-color: var(--gen-fin-20);
}

.megamenu-products #v-govern {
    background-color: var(--gen-dig-20);
}

.megamenu-products .tab-text {
    padding: 15px;
}


ul#submenuProducts {
    padding-left:1rem;
}

ul#submenuProducts li {
    list-style-type: none;
}

.gen-collapse-trigger {
    position:relative;
}

.gen-collapse-trigger:after {
    transition: all .3s;
    position:absolute;
    right:20px;
}

.gen-collapse-trigger.collapsed:after {
    content: url(../icons/arrow-down-s-line.svg);
    transform: rotate(0deg);
    transform-origin: 50% 50%;
}

.gen-collapse-trigger:not(.collapsed):after {
        content: url(../icons/arrow-down-s-line.svg);
        transform: rotate(-180deg);
        transform-origin: 50% 50%;
}

.nav-products .gen-collapse-trigger {
    padding-right:20px !important;
    margin-right:12px;
}

.nav-products .gen-collapse-trigger:after {
    right:0;
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible {
    outline: 0;
    box-shadow: none;
}

/* =========
 WORKS (TAB & ACCORDION)
 ========= */
.gen-hero h1 {
    font-size: 60px;
}

.gen-works-hero {
    padding: 40px 0;
    background: var(--gen-fin-gradient);
}

.gen-works-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.gen-tab h2 {
    font-size: 48px;
}

.gen-tab ul {
    margin-top: 60px;
}

.gen-tab ul li {
    color: var(--gen-grey);
    border-bottom: 1px solid var(--gen-black-10);
    text-align: center;
}

.gen-tab ul li a {
    color: var(--gen-grey);
}

.gen-tab ul li a.nav-link.active {
    color: var(--gen-pri-fin);
}

.gen-tab-card {
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 12px;
    background: var(--gen-fin-10);
}

.gen-tab-card .w-ico {
    margin-bottom: 14px;
    display: inline-block;
}

.gen-tab-card h5 {
    font-size: 24px;
}

.gen-tab-card p {
    color: var(--gen-grey);
}

.gen-govern-tab ul li a.nav-link.active {
    color: var(--gen-pri-dig);
}

.gen-govern-tab .gen-tab-card {
    background: var(--gen-dig-10);
}

.gen-faq-tab {
    background: #f3f3f8;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* =========
 FAQ RESPONSIVE
 ========= */
.responsive-tabs .nav-underline {
    display: none;
}

@media (min-width: 768px) {
    .responsive-tabs .nav-underline {
        display: flex;
        margin-bottom: 20px;
    }

    .responsive-tabs .card {
        border: none;
        background: none;
    }

    .responsive-tabs .card h5 {
        display: none;
    }

    .responsive-tabs .card .collapse {
        display: block;
    }

    .responsive-tabs .faq-box-container {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .responsive-tabs .fbox {
        background: var(--gen-fin-10);
        padding: 20px;
        border-radius: 6px;
        width: 32%;
    }
}

@media (max-width: 767px) {
    .responsive-tabs .tab-pane {
        display: block !important;
        opacity: 1;
    }

    .responsive-tabs .card {
        border: none;
        background: #FFF;
        margin-bottom: 10px;
        padding: 20px;
        border-radius: 12px;
    }

    .responsive-tabs .card h5 {
        margin-bottom: 0;
    }

    .responsive-tabs .card h5 a {
        display: block;
        width: 100%;
        position: relative;
        color: var(--gen-pri-fin);
        text-decoration: none;
        font-size: 22px;
    }

    .responsive-tabs .card h5 a::after {
        content: "";
        background-image: url("../icons/chevron-down.svg");
        position: absolute;
        top: 0;
        right: 0;
        width: 24px;
        height: 24px;
        display: block;
        background-size: 24px 24px;
        background-repeat: no-repeat;
        background-position: center;
        transform: rotate(0deg);
    }

    .responsive-tabs .card h5 a:not(.collapsed)::after {
        transform: rotate(-180deg);
    }

    .responsive-tabs .faq-box-container {
        padding-top: 20px;
    }

    .responsive-tabs .faq-box-container h4 {
        font-size: 18px;
    }
}

/* =========
 FOOTER
 ========= */
footer {
    background-color: #f5f5f5;
    padding: 80px 40px !important;
}

footer .logo {
    margin-bottom: 30px;
    display: block;
}

footer h5 {
    font-size: 16px;
    color: var(--gen-black);
    font-weight: 500;
    margin-bottom: 24px;
}

footer ul {
    padding-bottom: 20px;
}

footer ul li {
    font-size: 14px;
    margin: 12px 0;
}

footer ul li a {
    font-size: 14px;
    color: var(--gen-grey);
    text-decoration: none;
}

footer ul li a:hover {
    color: var(--gen-black);
}

footer .gen-footer-link {
    border-top: 1px solid var(--gen-black-20);
    padding-top: 24px;
    font-size: 14px;
}

footer .gen-footer-link a {
    color: var(--gen-black);
    margin: 0 20px;
}

/* =========
 HERO / SEZIONI BASE
 ========= */
.gen-hero,
.gen-cta,
.contact-section,
.demo-section {
    background: var(--gen-fin-gradient);
    padding: 80px 0;
}

.govern-ai-container .gen-hero {
    background: var(--gen-dig-gradient);
}

.govern-ai-container .gen-cta {
    background: rgba(255, 255, 255, 0.30);
}

/* =========
 HERO / TIPOGRAFIA
 ========= */
.gen-hero-title,
.build-ai-container .gen-hero h1,
.govern-ai-container .gen-hero h1 {
    font-family: var(--gen-font-h);
    color: var(--gen-black-90);
    font-size: 60px;
    line-height: 1.1;
}

.gen-hero-subtitle {
    color: var(--gen-black-60);
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 32px;
}

.gen-hero-image {
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--gen-fin-10);
}

/* =========
 OVERRIDES BUILD & GOVERN
 ========= */
.gen-highlight-dig {
    color: var(--gen-pri-dig);
}


.build-ai-container .gen-buildai-works-card,
.build-ai-container .gen-usecases,
.gen-usecases,
.partner-section--fin {
    background: var(--gen-fin-10);
}

.build-ai-container .gen-buildai-works-media {
    background: var(--gen-fin-30);
}


.govern-ai-container .gen-buildai-works-card,
.govern-ai-container .gen-usecases {
    background: var(--gen-dig-10);
}

.govern-ai-container .gen-buildai-works-media {
    background: var(--gen-dig-30);
}

.govern-ai-container .btn-gen,
.govern-ai-container .btn-gen:hover {
    background-color: var(--gen-pri-dig);
}

.govern-ai-container .btn-gen-outline {
    border-color: var(--gen-black-20);
    color: var(--gen-black);
}

.govern-ai-container .btn-gen-outline:hover {
    background: var(--gen-black-10);
    color: var(--gen-black);
}

.build-ai-container .gen-hero p,
.govern-ai-container .gen-hero p {
    font-size: 18px;
    line-height: 24px;
    color: var(--gen-black);
    margin-bottom: 32px;
}

/* =========
 BUILD AI: CARD & MEDIA
 ========= */

.gen-buildai-works,
.gen-usecases,
.gen-why,
.gen-process,
.resources-section {
    padding: 80px 0;
}

.gen-buildai-works,
.gen-why,
.resources-container {
    background: #ffffff;
}

.gen-buildai-works-header,
.gen-usecases-header,
.gen-why-header,
.gen-process-header,
.partner-section-header {
    margin-bottom: 60px;
}

.gen-buildai-works-header h2,
.gen-usecases-header h2,
.gen-why-title,
.gen-process-title,
.partner-section-header h2 {
    font-family: var(--gen-font-h);
    font-size: 48px;
    line-height: 58px;
    color: var(--gen-black);
}

.gen-buildai-works-header p,
.gen-usecases-header p,
.gen-lifecycle-subtitle {
    font-size: 18px;
    line-height: 24px;
    color: var(--gen-black);
}

.gen-buildai-works-card {
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gen-buildai-works-card h3,
.partner-card h3 {
    font-family: var(--gen-font-h);
    font-size: 40px;
    line-height: 48px;
    color: var(--gen-black);
    margin-bottom: 24px;
}

.gen-buildai-works-card p,
.resources-intro p,
.partner-card p,
.partner-path-card p,
.contact-header p {
    font-size: 18px;
    line-height: 24px;
    color: var(--gen-black);
    margin-bottom: 0;
}

.gen-buildai-works-media {
    border-radius: 12px;
    padding: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gen-buildai-works-media img,
.partner-media-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========
 USE CASES
 ========= */
.gen-usecase-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
}

.gen-usecase-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 24px;
}

.gen-usecase-card h3,
.partner-path-card h3 {
    font-family: var(--gen-font-h);
    font-size: 28px;
    line-height: 32px;
    color: var(--gen-black);
    margin-bottom: 8px;
}

.gen-usecase-card p,
.demo-header p {
    font-size: 18px;
    line-height: 24px;
    color: var(--gen-black-60);
    margin-bottom: 0;
}

/* =========
 WHY GENYO
 ========= */
.gen-why-subtitle,
.gen-why-card-text {
    font-size: 18px;
    line-height: 24px;
}

.gen-why-card {
    background: var(--gen-fin-10);
    border-radius: 24px;
    padding: 24px;
}

.gen-why-stat {
    font-family: var(--gen-font-h);
    color: var(--gen-pri-fin);
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}

.gen-why-stat-big {
    font-size: 60px;
    line-height: 1;
}

.gen-why-stat-small {
    font-size: 32px;
    line-height: 38px;
}

/* =========
 PROCESSO
 ========= */
.gen-process,
.partner-section--alt {
    background: #f3f3f8;
}

.gen-process-pill {
    border-radius: 16px;
    padding: 24px;
    min-height: 120px;
    text-decoration: none;
}

.gen-process-pill--fin {
    background: var(--gen-fin-40);
}

.gen-process-pill--dig {
    background: var(--gen-dig-40);
}

.gen-process-pill-title,
.gen-lifecycle-title {
    font-family: var(--gen-font-h);
    font-size: 48px;
    line-height: 58px;
    color: var(--gen-black);
}

.gen-process-pill-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: var(--gen-fin-60);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gen-process-pill--dig .gen-process-pill-icon {
    background: var(--gen-dig-60);
}

.gen-process-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.gen-process-card--fin {
    background: var(--gen-fin-20);
}

.gen-process-card--dig {
    background: var(--gen-dig-20);
}

.gen-process-card-content {
    padding: 48px;
    max-width: 360px;
    position: relative;
    z-index: 2;
}

.gen-process-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.gen-process-card-title {
    font-family: var(--gen-font-h);
    font-size: 32px;
    line-height: 38px;
    color: var(--gen-black);
    margin-bottom: 16px;
}

.gen-process-card-text {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 0;
}

.gen-process-card-media {
    position: absolute;
    right: -120px;
    top: 41px;
    bottom: auto;
    width: 520px;
    max-width: none;
}

.gen-process-card--dig .gen-process-card-media {
    right: -80px;
}

.gen-process-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* =========
 LIFECYCLE
 ========= */
.gen-lifecycle,
.partner-section {
    background: #ffffff;
    padding: 80px 0;
}

.gen-lifecycle-header {
    max-width: 1114px;
    margin: 0 auto 60px;
}

.gen-lifecycle-highlight,
.gen-lifecycle-nav-item.active,
.gen-cta-highlight,
.partner-section-header--accent h2 {
    color: var(--gen-pri-fin);
}

.govern-ai-container .gen-cta-highlight {
    color: var(--gen-pri-dig);
}

.gen-lifecycle-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.gen-lifecycle-nav-item {
    font-family: var(--gen-font-h);
    font-size: 24px;
    line-height: 28px;
    color: #8b909c;
    text-decoration: none;
    display: block;
}

.gen-lifecycle-cards {
    gap: 16px;
}

.gen-lifecycle-card {
    background: var(--gen-fin-10);
    border-radius: 16px;
    overflow: hidden;
}

.gen-lifecycle-card-title {
    font-family: var(--gen-font-h);
    font-size: 18px;
    line-height: 28px;
    color: #8b909c;
    margin: 0 0 12px;
}

.gen-lifecycle-card-media {
    padding: 0 32px;
    height: 318px;
    display: flex;
    align-items: flex-end;
}

.gen-lifecycle-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: block;
}

.gen-lifecycle-card-body {
    background: #f5f5f5;
    padding: 32px;
    font-size: 18px;
    line-height: 24px;
    color: var(--gen-black);
}

/* =========
 CTA
 ========= */
.gen-cta-inner {
    max-width: 1280px;
}

.gen-cta-stack {
    gap: 32px;
}

.gen-cta-content {
    gap: 16px;
    max-width: 768px;
}

.gen-cta-title {
    font-family: var(--gen-font-h);
    font-size: 48px;
    line-height: 1.2;
    color: var(--gen-black);
}

.gen-cta-text {
    font-size: 18px;
    line-height: 24px;
    color: var(--gen-black);
    max-width: 674px;
}

/* =========
 RESOURCES
 ========= */
.resources-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.resources-header h1 {
    font-family: var(--gen-font-h);
    font-size: 48px;
    line-height: 1.2;
    color: var(--gen-black);
    margin-bottom: 16px;
}

.resources-header p {
    font-size: 18px;
    line-height: 24px;
    color: var(--gen-black);
    max-width: 760px;
    margin: 0 auto;
}

.resources-tabs {
    margin: 40px auto 32px;
    max-width: 1256px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
}

.resources-tabs .nav-item,
.demo-content,
.demo-form {
    flex: 1 1 0;
}

.resources-tabs .nav-link {
    width: 100%;
    padding: 0 0 12px;
    font-family: var(--gen-font-h);
    font-size: 16px;
    line-height: 24px;
    color: #8b909c;
    background: transparent;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--gen-black-10);
    box-shadow: none;
    text-align: center;
}

.resources-tabs .nav-link.active {
    color: var(--gen-pri-fin);
    border-bottom-color: var(--gen-pri-fin);
    background-color: transparent;
}

.resources-intro {
    text-align: left;
    max-width: none;
    margin: 0 0 32px;
}

.resources-intro h2 {
    font-family: var(--gen-font-h);
    font-size: 32px;
    line-height: 1.2;
    color: var(--gen-black);
    margin-bottom: 12px;
}

.resources-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--gen-black-10);
    box-shadow: 0 14px 30px var(--gen-fin-10);
    min-height: 252px;
    display: flex;
    flex-direction: column;
}

.resources-card-body h3 {
    font-family: var(--gen-font-h);
    font-size: 20px;
    line-height: 28px;
    color: var(--gen-black);
    margin-bottom: 24px;
}

.resources-card-body p {
    font-size: 16px;
    line-height: 24px;
    color: var(--gen-black);
    margin-bottom: 0;
}

.resources-link {
    font-family: var(--gen-font-h);
    font-size: 16px;
    line-height: 24px;
    color: var(--gen-pri-fin);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    align-self: flex-start;
    margin-top: auto;
}

.resources-link:hover {
    color: #143385;
}

/* =========
 PARTNERS
 ========= */
.partner-container .gen-hero h1 {
    font-family: var(--gen-font-h);
    font-size: 60px;
    line-height: 1.1;
    color: var(--gen-pri-fin);
    margin-bottom: 32px;
}

.partner-container .gen-hero h1 span {
    color: var(--gen-black);
}

.partner-container .gen-hero p {
    font-size: 18px;
    line-height: 24px;
    color: var(--gen-black);
    max-width: 598px;
    margin-bottom: 32px;
}

.partner-black {
    color: var(--gen-black);
}

.partner-section-header p {
    font-size: 20px;
    line-height: 30px;
    color: var(--gen-black);
    max-width: 768px;
    margin: 0 auto;
}

.partner-card {
    background: var(--gen-fin-10);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.partner-media-card {
    background: var(--gen-fin-30);
    border-radius: 12px;
    padding: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-media-img {
    transform: translate(0, 0);
}

.partner-path-card {
    background: var(--gen-fin-10);
    border-radius: 12px;
    padding: 24px;
}

.partner-path-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
}

.partner-ecosystem-card {
    background: var(--gen-fin-10);
    border-radius: 12px;
}

/* =========
 FAQ
 ========= */
.faq-section {
    background: #ffffff;
    padding: 80px 0;
}

.faq-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
}

.faq-header h1 {
    font-family: var(--gen-font-h);
    font-size: 48px;
    line-height: 58px;
    color: var(--gen-black);
    text-align: center;
    margin-bottom: 0;
}

.faq-header p {
    font-size: 18px;
    line-height: 24px;
    color: var(--gen-black);
    text-align: center;
    max-width: 659px;
    margin-bottom: 0;
}

.faq-accordion-wrapper {
    max-width: 768px;
    margin: 0 auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-accordion .accordion-item {
    border: 1px solid var(--gen-black-10);
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
}

.faq-accordion .accordion-button {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--gen-black-90);
    padding: 16px 24px;
    background: transparent;
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: #f5f5f5;
    border-bottom: 0;
    padding: 24px;
}

.faq-accordion .accordion-button::after {
    content: "";
    background-image: url("../icons/chevron-down.svg");
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    transform: rotate(0deg);
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.faq-accordion .accordion-body {
    background: #f5f5f5;
    padding: 0 24px 24px;
    font-family: "Overused Grotesk", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: var(--gen-black);
}

/* =========
 CONTATTI
 ========= */
.contact-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.contact-header h1,
.terms-header h1 {
    font-family: var(--gen-font-h);
    font-size: 48px;
    line-height: 58px;
    color: var(--gen-black);
    margin-bottom: 16px;
}

.contact-form {
    width: 100%;
    max-width: 652px;
}

.contact-label {
    font-family: "Overused Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #474F62;
    margin-bottom: 6px;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid #d5d7da;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 16px;
    line-height: 24px;
    color: var(--gen-black);
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
}

.contact-form .form-control::placeholder {
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "Overused Grotesk", sans-serif;
    font-size: 16px;
    font-style: normal;
    line-height: 24px;
}

.contact-form .form-select,
.demo-form .form-select {
    color: var(--gen-black);
    font-family: "Overused Grotesk", sans-serif;
    font-size: 16px;
    font-style: normal;
    line-height: 24px;
}

.contact-form textarea {
    resize: none;
}

.contact-check .form-check-input:checked {
    background-color: var(--gen-pri-fin);
    border-color: var(--gen-pri-fin);
}

.contact-form .input-group .form-select,
.demo-form .input-group .form-select {
    max-width: 60px;
    border-right: 0;
    box-shadow: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.contact-form .input-group .form-control,
.demo-form .input-group .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.contact-textarea {
    min-height: 120px;
}

.contact-check {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-check .form-check-input {
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--gen-black);
    border-radius: 8px;
}

.contact-check .form-check-label {
    font-size: 14px;
    line-height: 20px;
    color: var(--gen-black);
}

.contact-link {
    color: var(--gen-black);
    text-decoration: underline;
}

/* =========
 DEMO
 ========= */
.demo-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.demo-header h1 {
    font-family: var(--gen-font-h);
    font-size: 48px;
    line-height: 58px;
    color: var(--gen-black);
    margin-bottom: 24px;
}

.demo-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--gen-black);
    font-size: 18px;
    line-height: 24px;
}

.demo-list-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.demo-check {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.demo-label-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.demo-help-icon {
    width: 16px;
    height: 16px;
}

.demo-question {
    font-size: 16px;
    line-height: 24px;
    color: var(--gen-black-60);
    margin-bottom: 8px;
}

.demo-privacy {
    font-size: 14px;
    line-height: 20px;
    color: var(--gen-black);
    margin: 8px 0 0;
}

.demo-privacy a {
    color: var(--gen-pri-fin);
    text-decoration: none;
}

.demo-check-group {
    align-items: flex-start;
}

.demo-check-group .form-check-input {
    margin-top: 2px;
}

/* =========
 TERMS
 ========= */
.terms-section {
    background: #ffffff;
    padding: 112px 0 100px;
}

.terms-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.terms-body {
    font-family: "Overused Grotesk", sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: var(--gen-black);
    text-align: justify;
}

.terms-body p {
    margin-bottom: 16px;
}

.terms-heading {
    font-family: "Overused Grotesk", sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: var(--gen-black);
    margin: 24px 0 16px;
}

.terms-body ul {
    margin: 16px 0;
    padding-left: 24px;
}

.terms-body li {
    margin-bottom: 12px;
}


/* ===============================================
==========  MEDIA QUERIES (Bootstrap breakpoints)

Small	sm	≥576px
Medium	md	≥768px
Large	lg	≥992px
Extra large	xl	≥1200px
Extra extra large	xxl	≥1400px

================================================ */

/* Mobile: max 575px */
@media (max-width: 575.98px) {
    .resources-header h1 {
        font-size: 32px;
    }

    .resources-intro h2 {
        font-size: 22px;
    }
}

/* Mobile: max 767px */
@media (max-width: 767.98px) {
    .navbar-nav li .btn {
        width: 100%;
    }

    .gen-tab ul li a.nav-link span {
        display: none;
    }

    footer .copy {
        margin-bottom: 24px;
    }

    footer .gen-footer-link a {
        margin-top: 12px;
        margin-left: 0;
    }

    .gen-hero,
    .gen-why,
    .gen-process,
    .gen-cta,
    .gen-lifecycle {
        padding: 60px 0;
    }

    .gen-hero-title,
    .gen-why-title,
    .gen-process-title,
    .gen-process-pill-title,
    .gen-lifecycle-title,
    .gen-cta-title {
        font-size: 32px;
        line-height: 1;
    }

    .gen-hero-title span.d-block:not(:last-child) {
        margin-bottom: 4px;
    }

    .gen-why-header,
    .gen-process-header,
    .gen-lifecycle-header {
        margin-bottom: 40px;
    }

    .gen-why-subtitle,
    .gen-why-card-text,
    .gen-process-card-text,
    .gen-lifecycle-subtitle {
        font-size: 16px;
    }

    .gen-why-stat-big {
        font-size: 48px;
    }

    .gen-why-stat-small {
        font-size: 20px;
        line-height: 38px;
    }

    .gen-process-pill {
        min-height: 0;
        align-items: flex-start;
    }

    .gen-process-pill-icon {
        width: 48px;
        height: 48px;
    }

    .gen-process-card {
        min-height: 400px;
        flex-direction: column;
        align-items: flex-start;
    }

    .gen-process-card-content {
        padding: 24px;
        max-width: 100%;
    }

    .gen-process-card-title {
        font-size: 24px;
        line-height: 28px;
    }

    .gen-lifecycle-nav {
        display: none;
    }

    .gen-lifecycle-card-title {
        font-size: 18px;
        line-height: 28px;
        margin: 0 0 12px;
    }

    .gen-lifecycle-card-media {
        padding: 20px 20px 0;
        height: 151px;
    }

    .gen-lifecycle-card-media img {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    .gen-lifecycle-card-body {
        padding: 20px;
        font-size: 16px;
    }

    .gen-cta-content {
        gap: 24px;
    }

    .gen-cta-text {
        font-size: 16px;
        max-width: 100%;
    }

    .gen-process-card-media {
        position: static;
        width: 100%;
        margin-top: auto;
        padding: 0 16px 16px;
        transform: translate(16px, 16px);
    }

    .gen-process-image {
        border-radius: 8px;
    }
}

/* Tablet: 768px - 991px */
@media (min-width: 768px) and (max-width: 991.98px) {

    .gen-hero,
    .gen-why,
    .gen-process {
        padding: 70px 0;
    }

    .gen-hero-title {
        font-size: 44px;
        line-height: 52px;
    }

    .gen-hero-subtitle,
    .gen-why-subtitle,
    .gen-why-card-text,
    .gen-process-card-text {
        font-size: 17px;
    }

    .gen-why-header,
    .gen-process-header {
        margin-bottom: 50px;
    }

    .gen-why-title,
    .gen-process-title,
    .gen-process-pill-title {
        font-size: 40px;
        line-height: 48px;
    }

    .gen-why-stat-big {
        font-size: 54px;
    }

    .gen-why-stat-small {
        font-size: 26px;
        line-height: 32px;
    }

    .gen-process-pill {
        min-height: 200px;
        padding: 20px;
    }

    .gen-process-pill-icon {
        width: 56px;
        height: 56px;
    }

    .gen-process-card {
        min-height: 380px;
    }

    .gen-process-card-content {
        padding: 32px;
        max-width: 320px;
    }

    .gen-process-card-title {
        font-size: 28px;
        line-height: 34px;
    }

    .gen-process-card-media {
        right: -100px;
        width: 460px;
    }

    .gen-process-card--dig .gen-process-card-media {
        right: -60px;
    }

    .gen-lifecycle-nav {
        display: flex;
    }

    .gen-lifecycle-nav-item {
        font-size: 20px;
        line-height: 24px;
    }

    .gen-lifecycle-card-title {
        display: none;
    }

    .gen-lifecycle-card-media {
        padding: 16px 20px 0;
        height: 220px;
    }

    .gen-lifecycle-card-body {
        padding: 24px;
        font-size: 16px;
        line-height: 22px;
    }
}

/* Small desktop: max 991px */
@media (max-width: 991.98px) {
    .resources-section {
        padding: 64px 0;
    }

    .resources-header h1 {
        font-size: 36px;
    }

    .resources-intro h2 {
        font-size: 26px;
    }

    .resources-tabs {
        margin: 24px -8px;
        padding: 0 8px 12px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .resources-tabs .nav-item {
        flex: 0 0 auto;
    }

    .resources-tabs .nav-link {
        white-space: nowrap;
        text-align: center;
    }

    .resources-tabs::-webkit-scrollbar {
        display: none;
    }

    .build-ai-container .gen-hero,
    .govern-ai-container .gen-hero,
    .gen-buildai-works,
    .gen-usecases {
        padding: 60px 0;
    }

    .build-ai-container .gen-hero h1,
    .govern-ai-container .gen-hero h1,
    .gen-buildai-works-header h2,
    .gen-usecases-header h2 {
        font-size: 32px;
        line-height: 38px;
    }

    .build-ai-container .gen-hero p,
    .govern-ai-container .gen-hero p,
    .gen-buildai-works-header p,
    .gen-usecases-header p,
    .gen-buildai-works-card p,
    .gen-usecase-card p {
        font-size: 16px;
    }

    .gen-buildai-works-header,
    .gen-usecases-header {
        margin-bottom: 40px;
    }

    .gen-buildai-works-card {
        min-height: 0;
    }

    .gen-buildai-works-card h3 {
        font-size: 28px;
        line-height: 32px;
    }

    .gen-buildai-works-media {
        min-height: 250px;
    }

    .faq-section {
        padding: 60px 0;
    }

    .faq-header {
        gap: 24px;
        margin-bottom: 40px;
    }

    .faq-header h1 {
        font-size: 32px;
        line-height: 38px;
    }

    .faq-header p,
    .faq-accordion .accordion-body {
        font-size: 16px;
    }

    .terms-section {
        padding: 60px 0;
    }

    .terms-header h1 {
        font-size: 32px;
        line-height: 38px;
    }

    .terms-body {
        font-size: 16px;
        line-height: 24px;
    }

    .demo-section {
        padding: 60px 0;
    }

    .demo-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .demo-header h1 {
        font-size: 32px;
        line-height: 38px;
        text-align: center;
    }

    .demo-header p {
        font-size: 16px;
        text-align: center;
    }

    .demo-list {
        font-size: 16px;
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-wrapper {
        gap: 40px;
    }

    .contact-header h1 {
        font-size: 32px;
        line-height: 38px;
    }

    .contact-header p {
        font-size: 16px;
        line-height: 24px;
    }

    .partner-container .gen-hero h1 {
        font-size: 40px;
        line-height: 48px;
    }

    .partner-container .gen-hero p,
    .partner-card p,
    .partner-path-card p {
        font-size: 16px;
    }

    .partner-section {
        padding: 60px 0;
    }

    .partner-section-header {
        margin-bottom: 40px;
    }

    .partner-section-header h2 {
        font-size: 32px;
        line-height: 38px;
    }

    .partner-section-header p {
        font-size: 16px;
        line-height: 24px;
    }

    .partner-card h3 {
        font-size: 28px;
        line-height: 34px;
    }

    .partner-path-card h3 {
        font-size: 24px;
        line-height: 28px;
    }
}

/* Desktop: min 992px */
@media (min-width: 992px) {
    .gen-hero-media-cut {
        margin-right: -120px;
    }

    .gen-buildai-works-card,
    .gen-buildai-works-media,
    .partner-card,
    .partner-media-card {
        height: 400px;
        max-height: 400px;
    }

    .gen-process-pill {
        min-height: 400px;
    }

    .gen-lifecycle-nav {
        position: sticky;
        top: 120px;
    }

    .partner-media-img--shift-18 {
        transform: translate(110px, 50px);
    }

    .partner-media-img--shift-19 {
        transform: translateX(110px);
    }
}

/* Desktop medium: 992px - 1199px */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .gen-hero-title {
        font-size: 48px;
    }

    .gen-why-title,
    .gen-process-title {
        font-size: 40px;
        line-height: 48px;
    }

    .gen-why-stat {
        flex-wrap: wrap;
        gap: 4px;
        white-space: normal;
    }

    .gen-why-stat-big {
        font-size: 44px;
    }

    .gen-why-stat-small {
        font-size: 20px;
        line-height: 26px;
    }

    .gen-process-pill {
        min-height: 340px;
    }

    .gen-process-pill-title {
        font-size: 36px;
        line-height: 44px;
    }

    .gen-process-card {
        min-height: 360px;
    }

    .gen-process-card-content {
        padding: 32px;
        max-width: 280px;
    }

    .gen-process-card-title {
        font-size: 26px;
        line-height: 32px;
    }

    .gen-process-card-text {
        font-size: 16px;
        line-height: 22px;
    }

    .gen-process-card-media {
        right: -140px;
        width: 420px;
    }

    .gen-process-card--dig .gen-process-card-media {
        right: -100px;
    }
}