/* Variabili Globali Estratte dai Nomi delle Classi Tailwind */
:root {
    --color-dark: #1F2937; /* Corrisponde a bygDark (Grigio scuro/Nero) */
    --color-charcoal: #374151; /* Corrisponde a bygCharcoal (Antracite) */
    --color-teal: #2DD4BF; /* Corrisponde a bygTeal (Turchese/Crescita) */
    --color-text-light: #F9FAFB; /* Bianco quasi puro per il testo scuro */
    --color-text-dim: #9CA3AF; /* Grigio 400 */
}

/* Stili Base per tutto il Body */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--color-text-light); /* Testo di default chiaro */
    line-height: 1.6;
    background-color: var(--color-dark); /* Sfondo di default scuro */
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px; /* mx-auto px-6 */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* --- HERO SECTION STYLES --- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem; /* pt-20 */
    overflow: hidden;
    color: var(--color-text-light);
    text-align: center;
}

/* Sfondo e decorazioni (Traduzione dei div assoluti) */
#hero .bg-gradient-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, var(--color-charcoal) 0%, transparent 100%);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}
#hero .bg-blur-teal {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24rem; /* w-96 */
    height: 24rem; /* h-96 */
    background-color: var(--color-teal);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

/* Contenuto principale del Hero (Grid) */
#hero .hero-content-grid {
    position: relative;
    z-index: 10;
    display: grid;
    gap: 3rem; /* gap-12 */
    align-items: center;
}
/* Media Query per desktop (md:grid-cols-2) */
@media (min-width: 768px) {
    #hero {
        text-align: left;
    }
    #hero .hero-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .text-center-md-left {
        text-align: left !important;
    }
}

/* Stile Tag "Strategia + Coaching" */
.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem; /* px-3 py-1 */
    border-radius: 9999px; /* rounded-full */
    background-color: rgba(45, 212, 191, 0.1); /* bygTeal/10 */
    border: 1px solid rgba(45, 212, 191, 0.2); /* border-bygTeal/20 */
    color: var(--color-teal);
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: auto;
    margin-right: auto;
}
.tag-pill .dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: var(--color-teal);
    /* L'animazione "animate-pulse" è omessa perché richiede @keyframes JS */
}

/* Stile Titolo */
#hero h1 {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 800; /* font-extrabold */
    line-height: 1.25; /* leading-tight */
}
@media (min-width: 768px) {
    #hero h1 {
        font-size: 3.75rem; /* md:text-6xl */
    }
}
@media (min-width: 1024px) {
    #hero h1 {
        font-size: 4.5rem; /* lg:text-7xl */
    }
}
.text-gradient {
    /* bg-clip-text bg-gradient-to-r from-bygTeal to-emerald-400 */
    color: transparent;
    background-clip: text;
    background-image: linear-gradient(to right, var(--color-teal), #34D399); /* Emerald 400 */
}

/* Stile Paragrafo */
#hero p {
    color: var(--color-text-dim);
    font-size: 1.125rem; /* text-lg */
    max-width: 32rem; /* max-w-lg */
    line-height: 1.625; /* leading-relaxed */
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    #hero p {
        font-size: 1.25rem; /* md:text-xl */
        margin-left: 0;
        margin-right: 0;
    }
}

/* Stile CTA Button */
.cta-link-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}
@media (min-width: 640px) {
    .cta-link-group {
        flex-direction: row;
        justify-content: flex-start;
    }
}
.cta-primary {
    padding: 1rem 2rem; /* px-8 py-4 */
    background-color: var(--color-teal);
    color: var(--color-dark); /* Testo scuro sul turchese */
    font-weight: bold;
    border-radius: 0.5rem; /* rounded-lg */
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 0 20px rgba(45,212,191,0.2);
}
.cta-primary:hover {
    background-color: white;
    color: var(--color-dark);
}
/* Hover Icon Transformation (non perfetto con CSS puro ma migliorabile) */
.cta-primary:hover svg {
    transform: translateX(4px); /* group-hover:translate-x-1 */
}

/* Stile Blocco Visual (Right Side) */
.visual-card {
    position: relative;
    z-index: 10;
    background-color: var(--color-charcoal);
    border: 1px solid #4B5563; /* border-gray-700 */
    padding: 2rem;
    border-radius: 1rem; /* rounded-2xl */
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3), 0 8px 10px -6px rgba(0,0,0,0.3); /* shadow-2xl */
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    transform: rotate(2deg);
    transition: transform 0.5s;
}
.visual-card:hover {
    transform: rotate(0deg);
}
.card-metric {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.metric-value {
    color: var(--color-teal);
    font-weight: bold;
    font-size: 1.875rem; /* text-3xl */
}
.progress-bar-container {
    height: 0.5rem;
    background-color: #4B5563; /* gray-700 */
    border-radius: 9999px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    width: 100%; /* Da rendere variabile se necessario */
}
.progress-bar-fill.teal {
    background-color: var(--color-teal);
}
.progress-bar-fill.purple {
    background-color: #A855F7; /* purple-500 */
}

/* Decorative Grid */
.decorative-grid {
    position: absolute;
    top: 2.5rem; /* top-10 */
    right: -2.5rem; /* -right-10 */
    width: 100%;
    height: 100%;
    border: 2px solid rgba(45, 212, 191, 0.2);
    border-radius: 1rem;
    z-index: -10;
}
/* --- HEADER SPECIFIC STYLES (FROM Header.tsx) --- */

/* Stile Header Fisso e Trasparente */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.3s ease-in-out;
    padding-top: 1.5rem; /* py-6 */
    padding-bottom: 1.5rem; /* py-6 */
    background-color: transparent;
}

/* Header quando si scorre (Aggiunto tramite JS) */
header.scrolled {
    background-color: rgba(31, 41, 55, 0.95); /* bygDark/95 */
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding-top: 1rem; /* py-4 */
    padding-bottom: 1rem; /* py-4 */
}

/* Stile Contenitore Logo e Nav */
header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Stile Logo (inclusa Icona Rocket SVG) */
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.logo-icon-bg {
    background-color: var(--color-teal);
    padding: 0.375rem; /* p-1.5 */
    border-radius: 0.5rem; /* rounded-lg */
    transition: background-color 0.3s;
}
.logo-icon-bg:hover {
    background-color: white;
}
.logo-text {
    font-size: 1.5rem; /* text-2xl */
    font-weight: bold;
    letter-spacing: -0.05em; /* tracking-tighter */
    color: white;
}
.logo-text .subtitle {
    color: var(--color-teal);
    font-size: 0.875rem; /* text-sm */
    font-weight: normal;
    letter-spacing: normal;
    margin-left: 0.25rem; /* ml-1 */
    display: none; /* hidden */
}
@media (min-width: 640px) {
    .logo-text .subtitle {
        display: inline; /* sm:inline */
    }
}

/* Desktop Navigation */
header nav.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem; /* gap-8 */
}
@media (min-width: 768px) {
    header nav.desktop-nav {
        display: flex; /* md:flex */
    }
}
.desktop-nav a {
    color: #D1D5DB; /* text-gray-300 */
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    text-transform: uppercase;
    letter-spacing: 0.05em; /* tracking-wide */
}
.desktop-nav a:hover {
    color: var(--color-teal);
}
.desktop-nav .cta-btn-nav {
    background-color: var(--color-teal);
    color: var(--color-dark);
    font-weight: bold;
    padding: 0.5rem 1.5rem; /* py-2 px-6 */
    border-radius: 9999px; /* rounded-full */
    transition: all 0.3s;
    transform: scale(1);
}
.desktop-nav .cta-btn-nav:hover {
    background-color: white;
    color: var(--color-dark);
    transform: scale(1.05);
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: block;
    color: white;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
@media (min-width: 768px) {
    .mobile-menu-button {
        display: none; /* md:hidden */
    }
}
.mobile-menu-button svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile Navigation (Nascosta di default) */
.mobile-nav {
    display: none; /* Nascondiamo di default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-charcoal);
    border-top: 1px solid #4B5563; /* border-gray-700 */
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    height: 100vh; /* h-screen */
}
.mobile-nav.open {
    display: flex; /* Mostra quando la classe 'open' è aggiunta via JS */
}
.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.25rem; /* text-xl */
    font-weight: 500;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #4B5563; /* border-gray-700 */
}
.mobile-nav .cta-btn-mobile {
    background-color: var(--color-teal);
    color: var(--color-dark);
    text-align: center;
    font-weight: bold;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}
/* Variabile per il Pilastro Coaching */
:root {
    /* ... (variabili esistenti) ... */
    --color-purple: #A855F7; /* Purple 500 */
    --color-teal-dark: #25C5AE; /* Per hover del bottone */
}

/* --- CHI SIAMO (ABOUT) STYLES --- */
#chi-siamo {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: var(--color-dark); /* bg-bygDark */
    color: #D1D5DB; /* text-gray-300 */
    text-align: center;
}

#chi-siamo h2 {
    font-size: 2rem; /* text-3xl */
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem; /* mb-6 */
    line-height: 1.25;
}
@media (min-width: 768px) {
    #chi-siamo h2 {
        font-size: 3rem; /* md:text-5xl */
    }
}

#chi-siamo .section-subtitle {
    font-size: 1.125rem; /* text-lg */
    color: var(--color-text-dim); /* text-gray-400 */
    margin-bottom: 4rem; /* mb-16 */
    max-width: 48rem; /* max-w-3xl */
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    #chi-siamo .section-subtitle {
        font-size: 1.25rem; /* md:text-xl */
    }
}

/* Struttura a Pilastri */
.pillars-container {
    display: flex;
    flex-direction: column; /* flex-col */
    gap: 2rem; /* gap-8 */
    justify-content: center;
    margin-bottom: 4rem; /* mb-16 */
    text-align: left;
}
@media (min-width: 768px) {
    .pillars-container {
        flex-direction: row; /* md:flex-row */
    }
}

.pillar-card {
    flex: 1;
    background-color: var(--color-charcoal); /* bg-bygCharcoal */
    padding: 2rem; /* p-8 */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2); /* shadow-xl */
    transition: box-shadow 0.3s;
}
.pillar-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4); /* hover:shadow-2xl */
}

/* Bordo Superiore Dinamico */
.pillar-card.marketing {
    border-top: 4px solid var(--color-teal); /* border-t-4 border-bygTeal */
}
.pillar-card.coaching {
    border-top: 4px solid var(--color-purple); /* border-t-4 border-purple-500 */
}

.pillar-card h3 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: bold;
    color: white;
    margin-bottom: 1rem; /* mb-4 */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pillar-card h3 .icon-marker {
    font-size: 1.25em; /* Per l'emoji */
}

.pillar-card p {
    margin-bottom: 1.5rem; /* mb-6 */
    line-height: 1.625;
}

.pillar-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    space-y: 0.75rem; /* space-y-3 */
}
.pillar-card ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem; /* text-sm */
    color: var(--color-text-dim); /* text-gray-400 */
}
.pillar-card ul li .dot {
    width: 0.375rem; /* w-1.5 */
    height: 0.375rem; /* h-1.5 */
    border-radius: 50%;
}
.pillar-card ul li .dot.teal {
    background-color: var(--color-teal);
}
.pillar-card ul li .dot.purple {
    background-color: var(--color-purple);
}

/* Stile CTA Finale */
.cta-about-btn {
    display: inline-block;
    padding: 1rem 2rem; /* py-4 px-8 */
    background-color: var(--color-teal);
    color: var(--color-dark);
    font-weight: bold;
    border-radius: 0.5rem; /* rounded-lg */
    transition: transform 0.3s, background-color 0.3s;
    transform: scale(1);
    box-shadow: 0 0 20px rgba(45,212,191,0.3);
    text-decoration: none;
    line-height: 1.4;
}
.cta-about-btn:hover {
    background-color: var(--color-teal-dark);
    transform: scale(1.05);
}
@media (max-width: 767px) {
    .cta-about-btn br {
        display: none; /* Nasconde il br su mobile per renderlo su una riga sola */
    }
}
.team-placeholder {
    margin-top: 4rem; /* mt-16 */
    padding-top: 2rem; /* pt-8 */
    border-top: 1px solid #374151; /* border-gray-800 */
    font-size: 0.875rem; /* text-sm */
    color: #4B5563; /* text-gray-600 */
    font-style: italic;
}
/* Variabile per il Marketing (Blu) */
:root {
    /* ... (variabili esistenti) ... */
    --color-blue: #3B82F6; /* Blue 500 */
}

/* --- SERVIZI (SERVICES) STYLES --- */
#servizi {
    padding-top: 6rem; /* py-24 */
    padding-bottom: 6rem; /* py-24 */
    background-color: var(--color-charcoal); /* bg-bygCharcoal */
    position: relative;
    overflow: hidden;
}

/* Sfondo Decorativo 'GROWTH' */
#servizi .decorative-text-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.03;
}
#servizi .decorative-text-bg span {
    font-size: 20rem; /* text-[20rem] */
    font-weight: bold;
    color: white;
    white-space: nowrap;
    position: absolute;
    top: -5rem; /* -top-20 */
    left: 0;
}

/* Titolo Sezione */
#servizi .section-header {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem; /* mb-16 */
}
#servizi .section-header h2 {
    color: var(--color-teal);
    font-weight: bold;
    letter-spacing: 0.1em; /* tracking-widest */
    text-transform: uppercase;
    margin-bottom: 0.5rem; /* mb-2 */
    font-size: 0.875rem; /* text-sm */
}
#servizi .section-header h3 {
    font-size: 2rem; /* text-3xl */
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem; /* mb-6 */
}
@media (min-width: 768px) {
    #servizi .section-header h3 {
        font-size: 3rem; /* md:text-5xl */
    }
}
#servizi .section-header p {
    color: var(--color-text-dim);
}

/* Contenitore Griglia (2 Colonne su Desktop) */
.services-grid {
    display: grid;
    gap: 2rem; /* gap-8 */
}
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* lg:grid-cols-2 */
        gap: 4rem; /* lg:gap-16 */
    }
}

/* Card del Servizio (Colonna Marketing o Coaching) */
.service-column-card {
    background-color: var(--color-dark); /* bg-bygDark */
    padding: 2rem; /* p-8 */
    border-radius: 1rem; /* rounded-2xl */
    border: 1px solid #374151; /* border-gray-800 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2); /* shadow-xl */
    transition: box-shadow 0.3s;
}
.service-column-card:hover {
    /* Simuliamo shadow-bygTeal/5 */
    box-shadow: 0 10px 15px -3px rgba(45, 212, 191, 0.1); 
}

/* Intestazione Colonna (M / C) */
.column-header {
    display: flex;
    align-items: center;
    gap: 1rem; /* gap-4 */
    margin-bottom: 2rem; /* mb-8 */
    padding-bottom: 2rem; /* pb-8 */
    border-bottom: 1px solid #374151; /* border-b border-gray-800 */
}
.column-header .initial-icon {
    padding: 0.75rem; /* p-3 */
    border-radius: 0.5rem; /* rounded-lg */
    font-weight: bold;
    font-size: 1.25rem; /* text-xl */
}
.column-header .initial-icon.marketing-blue {
    background-color: rgba(59, 130, 246, 0.2); /* bg-blue-500/20 */
    color: #60A5FA; /* text-blue-400 */
}
.column-header .initial-icon.coaching-purple {
    background-color: rgba(168, 85, 247, 0.2); /* bg-purple-500/20 */
    color: #C084FC; /* text-purple-400 */
}
.column-header h3 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: bold;
    color: white;
}
.column-header p {
    color: #6B7280; /* text-gray-500 */
    font-size: 0.875rem; /* text-sm */
}

/* Stile Singola Voce di Servizio */
.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem; /* gap-4 */
    margin-bottom: 1.5rem; /* mb-6 */
}
.service-item:last-child {
    margin-bottom: 0; /* last:mb-0 */
}
.service-item .icon-wrapper {
    margin-top: 0.25rem; /* mt-1 */
    color: var(--color-teal);
    flex-shrink: 0;
}
.service-item .icon-wrapper svg {
    width: 1.5rem; /* w-6 */
    height: 1.5rem; /* h-6 */
}
.service-item h4 {
    font-size: 1.125rem; /* text-lg */
    font-weight: bold;
    color: white;
    margin-bottom: 0.25rem; /* mb-1 */
}
.service-item p {
    color: var(--color-text-dim); /* text-gray-400 */
    font-size: 0.875rem; /* text-sm */
    line-height: 1.6;
}
/* --- PROCESSO (PROCESS) STYLES --- */
#processo {
    padding-top: 6rem; /* py-24 */
    padding-bottom: 6rem; /* py-24 */
    background-color: var(--color-dark); /* bg-bygDark */
}

/* Header Sezione */
#processo .section-header {
    margin-bottom: 4rem; /* mb-16 */
    text-align: center;
}
@media (min-width: 1024px) {
    #processo .section-header {
        text-align: left;
    }
}

#processo .section-header h2 {
    color: var(--color-teal);
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}
#processo .section-header h3 {
    font-size: 2rem; /* text-3xl */
    font-weight: bold;
    color: white;
}
@media (min-width: 768px) {
    #processo .section-header h3 {
        font-size: 3rem; /* md:text-5xl */
    }
}

/* Contenitore Processo */
#processo .process-container {
    position: relative;
}

/* Linea di Connessione (Solo Desktop) */
#processo .connecting-line {
    display: none;
}
@media (min-width: 1024px) {
    #processo .connecting-line {
        display: block;
        position: absolute;
        top: 3rem; /* top-12 (circa a metà del cerchio) */
        left: 0;
        width: 100%;
        height: 2px; /* h-0.5 */
        background-color: #374151; /* bg-gray-800 */
        z-index: 0;
    }
}

/* Griglia Passi */
.process-grid {
    display: grid;
    gap: 2rem; /* gap-8 */
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr); /* lg:grid-cols-4 */
    }
}

/* Singolo Passo */
.process-step {
    position: relative;
    z-index: 10;
    padding-top: 2rem; /* Spazio per compensare il numero sopra */
}

/* Icona e Cerchio Esterno */
.step-icon-wrapper {
    width: 6rem; /* w-24 */
    height: 6rem; /* h-24 */
    background-color: var(--color-charcoal);
    border: 2px solid #4B5563; /* border-gray-700 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem; /* mx-auto mb-6 */
    transition: all 0.3s;
}
@media (min-width: 1024px) {
    .step-icon-wrapper {
        margin-left: 0; /* lg:mx-0 */
    }
}
.process-step:hover .step-icon-wrapper {
    border-color: var(--color-teal); /* group-hover:border-bygTeal */
}

.step-icon-wrapper svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-teal);
    transition: transform 0.3s;
}
.process-step:hover .step-icon-wrapper svg {
    transform: scale(1.1); /* group-hover:scale-110 */
}

/* Testo del Passo */
.step-text-content {
    text-align: center;
}
@media (min-width: 1024px) {
    .step-text-content {
        text-align: left; /* lg:text-left */
    }
}

.step-text-content h4 {
    font-size: 1.25rem; /* text-xl */
    font-weight: bold;
    color: white;
    margin-bottom: 0.75rem; /* mb-3 */
}
.step-text-content p {
    color: var(--color-text-dim); /* text-gray-400 */
    font-size: 0.875rem; /* text-sm */
    line-height: 1.6;
}

/* Numero Grande di Sfondo */
.step-number-overlay {
    font-size: 3rem; /* text-5xl */
    font-weight: 900; /* font-black */
    color: #374151; /* text-gray-800 */
    position: absolute;
    top: 0;
    right: 0;
    z-index: -10;
    user-select: none;
    opacity: 0.5;
}
@media (min-width: 1024px) {
    .step-number-overlay {
        font-size: 5rem; /* Aumentato per l'effetto */
        left: 6rem; /* lg:left-24 */
        top: -2rem; /* lg:-top-8 */
        opacity: 1;
    }
}
/* --- TESTIMONIANZE (TESTIMONIALS) STYLES --- */
#testimonianze {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: var(--color-charcoal); /* bg-bygCharcoal */
}

/* Header Sezione */
#testimonianze h2 {
    text-align: center;
    font-size: 2rem; /* text-3xl */
    font-weight: bold;
    color: white;
    margin-bottom: 4rem; /* mb-16 */
}
@media (min-width: 768px) {
    #testimonianze h2 {
        font-size: 3rem; /* md:text-5xl */
    }
}
#testimonianze h2 span {
    color: var(--color-teal);
}

/* Griglia Testimonianze */
.testimonials-grid {
    display: grid;
    gap: 2rem; /* gap-8 */
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr); /* md:grid-cols-3 */
    }
}

/* Card Singola Testimonianza */
.testimonial-card {
    background-color: var(--color-dark); /* bg-bygDark */
    padding: 2rem; /* p-8 */
    border-radius: 0.75rem; /* rounded-xl */
    border: 1px solid #374151; /* border-gray-800 */
    position: relative;
    transition: transform 0.3s;
}
.testimonial-card:hover {
    transform: translateY(-8px); /* hover:-translate-y-2 */
}

/* Icona Quote */
.testimonial-card .icon-quote {
    position: absolute;
    top: 1.5rem; /* top-6 */
    right: 1.5rem; /* right-6 */
    color: #4B5563; /* text-gray-700 */
    width: 2rem; /* w-8 */
    height: 2rem; /* h-8 */
    opacity: 0.5;
    fill: currentColor;
}

/* Contenuto e Autore */
.testimonial-card p {
    color: #D1D5DB; /* text-gray-300 */
    margin-bottom: 2rem; /* mb-8 */
    font-style: italic;
    position: relative;
    z-index: 10;
    line-height: 1.6;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem; /* gap-4 */
}
.testimonial-author img {
    width: 3rem; /* w-12 */
    height: 3rem; /* h-12 */
    border-radius: 50%;
    border: 2px solid var(--color-teal);
    object-fit: cover;
}
.testimonial-author h5 {
    color: white;
    font-weight: bold;
    font-size: 0.875rem; /* text-sm */
}
.testimonial-author span {
    color: #6B7280; /* text-gray-500 */
    font-size: 0.75rem; /* text-xs */
    text-transform: uppercase;
    letter-spacing: 0.05em; /* tracking-wide */
}

/* Big Impact Stat */
.impact-stat {
    margin-top: 5rem; /* mt-20 */
    background-color: var(--color-dark);
    border-radius: 1rem; /* rounded-2xl */
    padding: 2rem; /* p-8 */
    border: 1px solid #374151;
    text-align: center;
    max-width: 64rem; /* max-w-4xl */
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    .impact-stat {
        padding: 3rem; /* md:p-12 */
    }
}
.impact-stat p:first-child {
    font-size: 1.25rem; /* text-xl */
    color: white;
    font-weight: 500;
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .impact-stat p:first-child {
        font-size: 1.5rem; /* md:text-2xl */
    }
}

/* Stile Gradiente per il Numero */
.impact-stat .gradient-number {
    font-size: 3rem; /* text-5xl */
    font-weight: 900; /* font-extrabold */
    
    /* Applicazione Gradiente */
    background: linear-gradient(to right, var(--color-teal), white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
@media (min-width: 768px) {
    .impact-stat .gradient-number {
        font-size: 4.5rem; /* md:text-7xl */
    }
}

.impact-stat p:last-child {
    color: #6B7280; /* text-gray-500 */
    margin-top: 1rem;
    font-size: 0.875rem; /* text-sm */
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
/* --- CONTATTI (CONTACT) STYLES --- */
#contatti {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: var(--color-dark); /* bg-bygDark */
}

/* Header Sezione */
#contatti .section-header {
    text-align: center;
    margin-bottom: 3rem; /* mb-12 */
}
#contatti .section-header h2 {
    font-size: 2.25rem; /* text-4xl */
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem; /* mb-6 */
}
@media (min-width: 768px) {
    #contatti .section-header h2 {
        font-size: 3.75rem; /* md:text-6xl */
    }
}
#contatti .section-header h2 span {
    color: var(--color-teal);
}
#contatti .section-header p {
    font-size: 1.25rem; /* text-xl */
    color: var(--color-text-dim);
}

/* Contenitore Form */
.contact-card {
    background-color: var(--color-charcoal); /* bg-bygCharcoal */
    padding: 2rem; /* p-8 */
    border-radius: 1rem; /* rounded-2xl */
    border: 1px solid #4B5563; /* border-gray-700 */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4); /* shadow-2xl */
    max-width: 64rem; /* max-w-4xl (spostato nel HTML) */
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    .contact-card {
        padding: 3rem; /* md:p-12 */
    }
}

/* Campi Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* space-y-6 */
}

.input-group-grid {
    display: grid;
    gap: 1.5rem; /* gap-6 */
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .input-group-grid {
        grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
    }
}

.input-field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* space-y-2 */
}

.input-field-wrapper label {
    font-size: 0.875rem; /* text-sm */
    font-weight: bold;
    color: #D1D5DB; /* text-gray-300 */
    text-transform: uppercase;
    letter-spacing: 0.05em; /* tracking-wide */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select {
    width: 100%;
    background-color: var(--color-dark);
    border: 1px solid #4B5563; /* border-gray-600 */
    color: white;
    border-radius: 0.5rem; /* rounded-lg */
    padding: 1rem; /* p-4 */
    outline: none;
    transition: all 0.3s;
}

/* Stili Focus Input */
.contact-form input:focus,
.contact-form select:focus {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 1px var(--color-teal); /* focus:ring-1 focus:ring-bygTeal */
}

/* Bottone di Invio */
.submit-btn {
    width: 100%;
    background-color: var(--color-teal);
    color: var(--color-dark);
    font-weight: bold;
    padding: 1rem; /* py-4 */
    border-radius: 0.5rem;
    font-size: 1.125rem; /* text-lg */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem; /* gap-3 */
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.submit-btn:hover {
    background-color: var(--color-teal-dark);
    box-shadow: 0 0 20px rgba(45,212,191,0.3);
}
.submit-btn svg {
    width: 1.25rem; /* w-5 */
    height: 1.25rem; /* h-5 */
    stroke: currentColor;
    fill: none;
}

/* Note a piè di pagina */
.form-note {
    text-align: center;
    font-size: 0.75rem; /* text-xs */
    color: #6B7280; /* text-gray-500 */
    margin-top: 1rem; /* mt-4 */
}


/* Stile Messaggio di Successo (Hidden di Default) */
.success-message {
    text-align: center;
    padding-top: 3rem; /* py-12 */
    padding-bottom: 3rem;
    display: none; /* Nascondi di default, JavaScript lo mostrerà */
}
.success-message svg {
    width: 5rem; /* w-20 */
    height: 5rem; /* h-20 */
    color: var(--color-teal);
    margin: 0 auto 1.5rem; /* mx-auto mb-6 */
}
.success-message h3 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: bold;
    color: white;
    margin-bottom: 1rem; /* mb-4 */
}
.success-message p {
    color: var(--color-text-dim); /* text-gray-400 */
}
/* --- FOOTER STYLES --- */
.footer {
    background-color: black;
    padding-top: 3rem; /* py-12 */
    padding-bottom: 3rem; /* py-12 */
    border-top: 1px solid #1F2937; /* border-gray-900 */
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2rem; /* gap-8 */
    width: 100%;
}
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row; 
        align-items: flex-start; /* Allinea in alto (opzionale, ma più pulito) */
    }
}

/* Logo e Descrizione */
.footer-logo-group {
    display: flex;
    flex-direction: column;
    align-items: center; /* items-center */
    gap: 1rem; /* gap-4 */
}
@media (min-width: 768px) {
    .footer-logo-group {
        align-items: flex-start; /* md:items-start */
    }
}
.footer-logo-group .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* gap-2 */
}
.footer-logo-group .logo svg {
    color: var(--color-teal);
    width: 1.5rem; /* w-6 */
    height: 1.5rem; /* h-6 */
}
.footer-logo-group .logo span {
    font-size: 1.25rem; /* text-xl */
    font-weight: bold;
    color: white;
}
.footer-logo-group p {
    color: #9CA3AF; /* CORREZIONE: text-gray-400 - Reso più chiaro */
    font-size: 0.875rem; /* text-sm */
    max-width: 18rem; /* max-w-xs */
    text-align: center;
}
@media (min-width: 768px) {
    .footer-logo-group p {
        text-align: left; /* md:text-left */
    }
}

/* Link Social */
.social-links {
    display: flex;
    gap: 1.5rem; /* gap-6 */
    align-self: center;
}
.social-links a {
    color: #D1D5DB; /* CORREZIONE: text-gray-300 - Reso più chiaro */
    transition: color 0.3s;
}
.social-links a:hover {
    color: white;
}
.social-links a svg {
    width: 1.25rem; /* w-5 */
    height: 1.25rem; /* h-5 */
    /* PROPRIETÀ ESSENZIALI AGGIUNTE PER LA VISIBILITÀ: */
    stroke: currentColor; 
    fill: none; 
}

/* Copyright e Legali */
.footer-legal {
    color: #9CA3AF; /* CORREZIONE: text-gray-400 - Reso più chiaro */
    font-size: 0.875rem; /* text-sm */
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* gap-2 */
    align-items: center;
}
@media (min-width: 768px) {
    .footer-legal {
        align-items: flex-end; /* md:items-end */
    }
}

.footer-legal .legal-links {
    display: flex;
    gap: 1rem; /* gap-4 */
}
.footer-legal a:hover {
    color: #D1D5DB; /* hover:text-gray-300 */
}
/* --- ENGINE SECTION STYLES (Il Motore B.Y.G.) --- */
.engine-section {
    padding-top: 6rem; /* py-24 */
    padding-bottom: 8rem; /* py-32 */
    background-color: var(--color-dark); /* bg-bygDark */
    color: white;
}

/* Header */
.engine-header {
    text-align: center;
    margin-bottom: 4rem; /* mb-16 */
    max-width: 48rem; /* max-w-3xl */
    margin-left: auto;
    margin-right: auto;
}
.engine-header svg {
    width: 2rem; /* w-8 */
    height: 2rem; /* h-8 */
    color: var(--color-teal);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem; /* mb-4 */
}
.engine-header h2 {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 800; /* font-extrabold */
    margin-bottom: 1rem;
    line-height: 1.2;
}
@media (min-width: 768px) {
    .engine-header h2 {
        font-size: 3rem; /* md:text-5xl */
    }
}
.engine-header p {
    font-size: 1.25rem; /* text-xl */
    color: #9CA3AF; /* text-gray-400 */
}

/* Griglia dei Membri (2 Colonne Centrate) */
.team-grid {
    display: flex; /* Uso flexbox per centrare la griglia quando ci sono solo 2 elementi */
    justify-content: center;
    gap: 2rem; /* gap-8 */
    flex-wrap: wrap;
}

.team-member-card {
    background-color: #1F2937; /* bg-gray-900 */
    border-radius: 0.75rem; /* rounded-xl */
    padding: 1.5rem; /* p-6 */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); /* shadow-2xl */
    transition: all 0.3s;
    flex: 0 0 100%; /* Default a piena larghezza su mobile */
    max-width: 25rem; /* Limita la larghezza su mobile */
}

@media (min-width: 640px) {
    .team-member-card {
        flex: 0 0 calc(50% - 1rem); /* 2 carte affiancate su schermi più grandi */
    }
}

.team-member-card:hover {
    box-shadow: 0 10px 15px -3px var(--color-teal-rgb-50); /* hover:shadow-bygTeal/50 */
    transform: scale(1.02);
}

/* Immagine */
.team-member-card .img-container {
    width: 6rem; /* w-24 */
    height: 6rem; /* h-24 */
    margin-left: auto;
    margin-right: auto;
    border-radius: 9999px; /* rounded-full */
    background-color: rgba(68, 187, 192, 0.2); /* bg-bygTeal/20 */
    margin-bottom: 1rem; /* mb-4 */
    overflow: hidden;
    border: 2px solid var(--color-teal);
}
.team-member-card .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dettagli */
.team-member-card h3 {
    font-size: 1.25rem; /* text-xl */
    font-weight: bold;
    color: white;
    text-align: center;
}
.team-member-card .role {
    color: var(--color-teal);
    font-size: 0.875rem; /* text-sm */
    font-weight: 600; /* font-semibold */
    margin-bottom: 0.75rem; /* mb-3 */
    text-align: center;
}
.team-member-card .focus-box {
    margin-top: 1rem; /* mt-4 */
    padding-top: 1rem; /* pt-4 */
    border-top: 1px solid #4B5563; /* border-gray-700 */
}
.team-member-card .focus-box p {
    color: #9CA3AF; /* text-gray-400 */
    font-size: 0.875rem; /* text-sm */
    text-align: center;
    font-style: italic;
}

/* Call to Action */
.engine-cta {
    text-align: center;
    margin-top: 5rem; /* mt-20 */
}
/* --- LIGHTBOX STYLES --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Sfondo scuro e semitrasparente */
    display: none; /* Inizialmente nascosto, verrà mostrato dal JavaScript */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Assicura che sia sopra ogni altra cosa */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    padding-bottom: 30px; /* Spazio per la didascalia */
}

.lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    z-index: 1001;
}

.lightbox-close:hover {
    color: var(--color-teal);
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 1.1rem;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
/* --- AGGIUNTA STILI PER IL CTA DELLA SEZIONE MOTORE B.Y.G. --- */
.engine-cta .btn {
    /* Imposta il colore del testo a Bianco per massima leggibilità */
    color: white; 
    
    /* Aumenta la dimensione del font */
    font-size: 1.125rem; 
    /* Aumenta il padding (spessore) attorno al testo */
    padding: 1rem 2rem; 
    /* Rendi il testo più evidente */
    font-weight: 700; 
    /* Rendi il pulsante più largo sui desktop per maggior impatto */
    min-width: 300px;
    
    /* Aggiungi un'ombra per farlo risaltare */
    box-shadow: 0 4px 15px rgba(68, 187, 192, 0.4); 
    /* Effetto Hover più marcato */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.engine-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(68, 187, 192, 0.6);
}
/* --- FIX PER IL CONTENUTO NASCOSTO SOTTO L'HEADER FISSO --- */

/* --- NUOVO FIX GLOBALE: Sposta l'intero Body sotto l'Header fisso --- */
body {
    /* Questo valore è più alto e si applica a TUTTA la pagina */
    padding-top: 170px !important; 
}