/* Investors Page Styles */

.investors-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.hero-investors {
    position: relative;
    color: white;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-investors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 206, 84, 0.2) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    .service-features li::before {
            content: '✓';
            color: #0052D9;
            font-weight: 600;
            font-size: 16px;
            line-height: 1;
            position: relative;
            top: 1px;
    }

    /* Responsive aggiustamenti espanso */
    @media (max-width: 900px) {
        .service-header { grid-template-columns: 100px 1fr 40px; min-height: auto; }
        .service-main { padding: 24px 16px 24px 24px; }
        .service-details { padding: 0 16px 0 124px; }
                margin-right: auto;
        .service-details.expanded { padding-bottom: 24px; }
        .service-title { font-size: 26px; line-height: 30px; }
        .service-description { font-size: 18px; line-height: 24px; }
        .service-features li { font-size: 15px; line-height: 22px; }
    }
    @media (max-width: 600px) {
        .service-header { grid-template-columns: 1fr 40px; }
        .service-icon-container { display: none; }
        .service-main { padding: 20px 16px 12px 16px; }
        .service-details { padding: 0 16px; }
        .service-title { font-size: 22px; line-height: 26px; }
        .service-description { font-size: 16px; line-height: 22px; }
        .service-features li { font-size: 14px; line-height: 20px; }
    }

    margin-right: auto; /* (CTA rules extracted to cta-bottom.css) */
}

/* Advisory Services Section */
.advisory-section {
    background: #fff;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    color: var(--CG-colors-Grey-Black, #000);

    /* Head 2 */
    font-family: var(--Typography-font-family-title, "Space Grotesk");
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px; /* 110% */
    text-align: left;
    margin: 60px 20px 40px 20px;
}

/* Advisory list layout */
.services-grid {
    display: block; /* lista verticale */
    margin-top: 2rem;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 4px;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 0;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    position: relative;
    transition: background .25s ease;
}

.service-card:last-child { border-bottom: 0; }

/* Hover state: light grey background for the whole card */
.service-card:hover {
    background: var(--CG-colors-Grey-Grey-5, #F2F2F2);
}


/* Riga principale */
.service-header {
    display: grid;
    grid-template-columns: 120px 1fr 28px; /* icona - testo - toggle */
    align-items: start;
    cursor: pointer;
    min-height: 140px;
    position: relative;
        padding: 20px;
}

/* Blocco icona grande */
.service-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--Blue-1, radial-gradient(197.25% 114.97% at 89.91% 18.81%, var(--CG-colors-Blue-Blue-7, #00269D) 0%, var(--CG-colors-Blue-Blue-9, #000E3B) 100%));
    position: relative;
    padding: 0; /* pieno */
    width: 180px;
    height: 180px;
}

.service-icon-container:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.20), rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.service-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #C4F222; /* lime accent */
}

/* Area testo */
.service-main { padding: 0 0 0 50%; display: flex; flex-direction: column; justify-content: center; }

.service-title {
    margin: 0 0 24px 0;
    color: var(--CG-colors-Grey-Black, #000);
    font-family: var(--Typography-font-family-title, "Space Grotesk");
    font-size: 32px; /* Head 1 */
    font-style: normal;
    font-weight: 500;
    line-height: 34px; /* 106.25% */
}

.service-description {
    margin: 0;
    color: var(--CG-colors-Shadows-Black-80, rgba(0, 0, 0, 0.80));
    font-family: var(--Typography-font-family-body, Montserrat);
    font-size: 20px; /* Body 4 */
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 130% */
    max-width: 510px;
}

/* Bottone espansione */
.expand-button {
    align-self: center;
    margin-right: 20px;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(0,0,0,0.25);
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    position: absolute;
    right: 20px;
    top: 20px;
}


/* rotate only the svg inside the button when expanded */
.expand-button svg {
    display: block;
    transition: transform .25s ease;
}
.expand-button.expanded svg {
    transform: rotate(45deg);
}

.expand-icon {
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

/* Dettagli espansi */
.service-details {
    max-height: 0;
    transition: max-height .35s ease;
        background: transparent;
    margin: 0 120px 0 120px; /* allineare sotto testo (120px icona) */
    opacity: 0;
}

.service-details.expanded { max-height: 480px;opacity: 1;}

.service-features {
    list-style: none;
    padding: 0 0 12px 0;
    margin: 0;
    padding-left: 52%;
    margin-top: -54px;
}

.service-features li {
    /* Body 2 */
    color: var(--CG-colors-Shadows-Black-80, rgba(0, 0, 0, 0.80));
    font-family: var(--Typography-font-family-body, Montserrat);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    padding: 0 0 24px 22px;
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 6px;
    top: 10px;
    color: #C4F222;
    font-weight: 600;
    font-size: 10px;
    line-height: 1;
}

/* SVG freccia inside feature items */
.service-features li svg {
    width: 13.455px;
    height: 12px;
    flex-shrink: 0;
    aspect-ratio: 37/33;
    stroke-width: 2px;
    stroke: var(--CG-colors-Blue-Blue-5, #003EFF);
    display: inline-block;
    vertical-align: middle;
}

/* Testimonials section - stessa grafica di scaleups */
.testimonial-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, #1a365d 0%, #2d5282 100%);
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
}

.testimonial-icon {
    position: absolute;
    top: -30px;
    right: 60px;
    z-index: 10;
}

.testimonial-icon .icon-letter {
    width: 60px;
    height: 60px;
    background: #ff6b9d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.5rem;
}

.testimonial-item {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-quote {
    font-size: 1.8rem;
    line-height: 1.4;
    color: white;
    font-weight: 500;
    margin-bottom: 3rem;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #00ff88;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #000;
    font-size: 1.5rem;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 1.3rem;
    color: white;
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.author-info p {
    font-size: 1rem;
    color: #b0b0b0;
    margin: 0;
}

.author-info .author-source {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}
.contact-btn {
  display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid var(--CG-colors-Shadows-Black-30, rgba(0, 0, 0, 0.30));
    color: var(--CG-colors-Grey-Black, #000);
    font-family: var(--Typography-font-family-caption, Montserrat);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px;
    max-width: 185px;
    text-decoration: none;
    text-align: center;
}
/* (Legacy CTA styles removed; now in cta-bottom.css) */

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    /* Ensure services list is single column on mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Make each service card flow vertically: icon, title, description */
    .service-card {
        display: block;
        padding: 1rem 1.25rem;
    }

    .service-header {
        /* switch from grid to stacked column */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        cursor: pointer;
        min-height: auto;
        padding: 12px 0;
    }

    .service-icon-container {
        width: 120px;
        height: 120px;
        min-width: auto;
        border-radius: 8px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-icon { width: 80px; height: 80px; font-size: 32px; }

    .service-main {
        padding: 0;
        width: 100%;
        text-align: center;
        display: block;
    }

    .service-title {
        font-size: 22px;
        line-height: 28px;
        margin: 8px 0 8px 0;
    }

    .service-description {
        margin: 0 auto 12px auto;
        max-width: 640px;
        font-size: 16px;
        line-height: 22px;
    }

    /* Place expand button inline under header on mobile */
    .expand-button {
        position: static;
        right: auto;
        top: auto;
        margin: 8px auto 0 auto;
        align-self: center;
    }

    /* Details: reset margins so they follow the stacked layout */
    .service-details {
        margin: 0;
        padding: 0 12px 12px 12px;
        background: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease, opacity .25s ease;
    }
    .service-details.expanded { max-height: 640px; opacity: 1; }

    .service-features { padding-left: 0; margin-top: 0; }

    .cta-title { font-size: 2rem; }

    .testimonial-quote { font-size: 1.3rem; }
    .investors-grid { grid-template-columns: 1fr !important; }
    .investor-card { margin-bottom: 16px; }
}

@media (max-width: 480px) {
    .hero-investors {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .advisory-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-cta {
        padding: 60px 0;
    }
}
.contact-cta-section.cta-scaleups{
    padding: 0 !important;
    background: #fff !important;
}


.contact-cta-section .container-frame {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 120px 0 !important;
    position: relative;
    border-left: 1px solid #D9D9D9 !important;
    border-right: 1px solid #D9D9D9 !important;
        overflow: hidden;
}
.contact-cta-section.cta-scaleups .contact-cta-text h2 {
    color: var(--CG-colors-Grey-Black, #000) !important;
    text-align: center;
    font-family: var(--Typography-font-family-title, "Space Grotesk") !important;
    font-size: 60px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 60px !important; /* 100% */
    margin-bottom: 20px !important;
}
.cta-hp-graphic {
    bottom: -197px !important;
    right: -290px !important;
}
.band{
    border-top: none !important;
}
.line-scl{
    top: 110px !important;
}