/* --- ROBOTO (Testi) --- */
/* Roboto Light (300) */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/roboto-v50-latin-300.woff2') format('woff2');
}
/* Roboto Regular (400) */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/roboto-v50-latin-regular.woff2') format('woff2');
}
/* Roboto Medium (600) */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/roboto-v50-latin-600.woff2') format('woff2');
}
/* Roboto Medium (700) */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/roboto-v50-latin-700.woff2') format('woff2');
}



/* --- POPPINS (Titoli) --- */
/* Poppins Regular (400) - Se lo usi nei titoli */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2');
}
/* Poppins SemiBold (600) */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/poppins-v24-latin-600.woff2') format('woff2');
}
/* Poppins Bold (700) */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/poppins-v24-latin-700.woff2') format('woff2');
}

/* --- DM SANS (Testi) — Variable Font --- */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    /* src: url('../fonts/DMSans-Variable.ttf') format('truetype'); */
    src: url('../fonts/DMSans-VariableFont_opsz_wght.ttf') format('truetype');
}

/* --- PLAYFAIR DISPLAY (Titoli) — Variable Font --- */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    /*src: url('../fonts/PlayfairDisplay-Variable.ttf') format('truetype');*/
    src: url('../fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
}

/* Reset e variabili */
:root {
    --primary-color: #0066cc;
    --secondary-color: #666;
    --light-color: #f8f9fa;
    --dark-color: #333;
    --max-width: 1200px;
    --padding: 15px;
    --border-radius: 4px;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

/* Impedisce al testo lungo di rompere il layout su schermi molto piccoli */
h1, h2, h3 {
    overflow-wrap: break-word;
    word-wrap: break-word;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

/* Lista con pallini gialli personalizzati */
.yellow-dot-list {
    list-style: none; /* Rimuove il pallino standard di default */
    padding-left: 0;
    margin-top: 1rem;
}

.yellow-dot-list li {
    font-family: var(--font-main);
    color: var(--secondary-color);
    position: relative; /* Necessario per posizionare il pallino */
    padding-left: 1.5rem; /* Crea lo spazio a sinistra per il pallino */
    margin-bottom: 0.8rem; /* Spazio tra una voce e l'altra */
    line-height: 1.8;
    text-align: left;
    font-size: 1.1rem;
}

.yellow-dot-list li::before {
    content: ''; /* Crea l'elemento vuoto */
    position: absolute;
    left: 0;
    top: 0.5em; /* Posiziona il pallino allineato alla prima riga di testo */
    width: 10px; /* Larghezza pallino */
    height: 10px; /* Altezza pallino */
    background-color: #ffcc00; /* COLORE GIALLO (modifica qui se vuoi un altro tono) */
    border-radius: 50%; /* Lo rende rotondo */
}

/* =========================================
   LISTA NUMERATA PERSONALIZZATA (Cerchio Giallo)
   ========================================= */

.yellow-numbered-list {
    list-style: none;          /* Nasconde i numeri standard brutti */
    counter-reset: my-counter; /* Inizializza il contatore */
    padding-left: 0;           /* Rimuove il padding di default */
    margin-top: 1rem;
}

.yellow-numbered-list li {
    counter-increment: my-counter; /* Aumenta il numero di 1 ad ogni riga */
    position: relative;
    padding-left: 3rem;        /* Spazio a sinistra per farci stare il cerchio */
    margin-bottom: 1rem;       /* Spazio tra le righe */
    
    /* STESSI STILI DEL TESTO STANDARD/UL */
    font-family: var(--font-main);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-color);
}

/* Creazione del Pallino Giallo con Numero */
.yellow-numbered-list li::before {
    content: counter(my-counter); /* Scrive il numero (1, 2, 3...) */
    
    /* Posizionamento */
    position: absolute;
    left: 0;
    top: -2px; /* Aggiustamento fine per allinearlo alla prima riga di testo */
    
    /* Aspetto del Cerchio */
    width: 30px;
    height: 30px;
    background-color: #ffcc00; /* Giallo intenso */
    border-radius: 50%;        /* Lo rende perfettamente rotondo */
    
    /* Allineamento del numero al centro del cerchio */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Stile del Numero */
    color: var(--secondary-color); /* Colore richiesto */
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-heading); /* Un po' più geometrico */
}

/* Stile Hamburger (Nascosto su Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--dark-color);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding);
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--padding);
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/*.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
}*/

/* Modifica la regola esistente .logo a per attivare Flexbox */
.logo a {
    display: flex;              /* Attiva il layout flessibile */
    align-items: center;        /* Allinea verticalmente logo e testo al centro */
    gap: 10px;                  /* Aggiunge spazio tra il logo e la scritta */
    /*font-family: var(--font-heading);*/
    font-family: 'Playfair', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
}

/* Aggiungi questa nuova regola per ridimensionare il logo */
.header-logo {
    height: 45px;               /* Imposta l'altezza fissa (modifica questo valore se lo vuoi più grande) */
    width: auto;                /* Mantiene le proporzioni corrette */
    display: block;             /* Evita spazi vuoti indesiderati sotto l'immagine */
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
}

.btn-nav {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.btn-nav.btn-primary {
    color: #fff;
}

/* Hero */
.hero {
    /*background: linear-gradient(135deg, rgba(30, 136, 229, 0.93), rgba(76, 175, 80, 0.93)), url('img/Luca.jpeg') no-repeat center center;*/

    /* Immagine di sfondo consigliata per impatto */
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.8), rgba(76, 175, 80, 0.8));
    min-height: 50vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    text-align: center;
    padding: 4rem 1.5rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff;
}

.hero h1 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    /* color: #ffffff; */
}

/* Features */
.features {
    padding: 3rem var(--padding);
    text-align: center;
}

.features h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Testimonials */
.testimonials {
    padding: 3rem var(--padding);
    background-color: var(--light-color);
}

.testimonial-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-content blockquote {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.testimonial-content footer {
    color: var(--secondary-color);
}

/* About Coach */
.about-coach {
    padding: 3rem var(--padding);
    text-align: center;
}

.about-coach h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.coach-bio {
    max-width: 800px;
    margin: 0 auto;
}

.coach-bio p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

/* Lead Magnet */
.lead-magnet {
    padding: 3rem var(--padding);
    text-align: center;
    background-color: var(--light-color);
}

.lead-magnet h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.lead-magnet p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.lead-magnet form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
}

.lead-magnet input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
}

.lead-magnet button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

/* Final CTA */
.final-cta {
    padding: 3rem var(--padding);
    text-align: center;
}

.final-cta h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

/* Miglioramento leggibilità su mobile: evita che il testo sia troppo vicino ai bordi */
main section {
    padding: 4rem 5%; /* Padding percentuale per adattarsi meglio */
}

/* Footer */
.main-footer {
    padding: 2rem var(--padding);
    text-align: center;
    background-color: var(--dark-color);
    color: #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-links ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0052a3;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .main-header {
        /* Manteniamo header orizzontale per logo e hamburger */
        position: relative;
        flex-direction: row; 
        justify-content: space-between;
        padding: 1rem var(--padding);
        /*position: sticky; /* Assicura che rimanga in alto */
    }
    

    

    /* Mostra l'hamburger su mobile */
    .hamburger {
        display: block;
        position: absolute; /* Lo sgancia dal flusso degli altri elementi */
        right: 15px;        /* Lo fissa a 15px dal bordo destro (regola se serve) */
        top: 50%;           /* Lo posiziona a metà altezza */
        transform: translateY(-50%); /* Lo centra perfettamente in verticale */
        z-index: 1001;
    }

    /* Animazione Hamburger che diventa una X */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Nascondi il menu di default e stilizzalo come tendina */
    .nav-menu {
        position: fixed;
        left: -100%; /* Fuori dallo schermo a sinistra */
        top: 70px; /* Altezza approssimativa dell'header */
        gap: 0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 2rem 0;
    }

    /* Quando il menu è attivo (classe aggiunta via JS) */
    .nav-menu.active {
        left: 0; /* Porta il menu al centro */
    }

    .nav-menu li {
        margin: 16px 0;
    }

    /* Reset dei bordi grigi che avevi nel vecchio codice */
    .main-nav a {
        background-color: transparent; 
        font-size: 1.2rem;
    }

    /* Gestione del bottone CTA nel menu mobile */
    .btn-nav.btn-primary {
        display: inline-block;
        margin-top: 1rem;
        width: 90%; /* Non forzare larghezza 100% se non vuoi */
        background-color: var(--primary-color);
    }

    /* Adattamenti Hero */
    .hero h1 {
        font-size: 1.8rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .lead-magnet form {
        width: 100%;
        gap: 1rem;
    }
    
    /* Rende i bottoni a tutta larghezza su mobile per facilitare il click */
    .btn-primary, .btn-secondary, .btn-large {
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   AGGIUNTE PER PAGINA "CHI SONO"
   ========================================= */

/* 1. Hero Section Dinamica */
.page-hero {
    /* Gradiente della home page */
    /*background: linear-gradient(135deg, var(--primary-color) 0%, #003d7a 100%);*/
    /*background: linear-gradient(135deg, rgba(30, 136, 229, 0.8), rgba(76, 175, 80, 0.8)), url('placeholder-hero-image.jpg') no-repeat center center/cover;*/
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.8), rgba(76, 175, 80, 0.8));
    color: #fff;
    padding: 7rem var(--padding) 8rem; /* Più spazio sotto per il divisore */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem; /* Più grande */
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Leggera ombra per stacco */
}

/* Evidenziazione testo nel H1 */
.highlight-text {
    color: #ffd700; /* Un tocco di oro/giallo complementare al blu per vivacità */
    /* Oppure, se preferisci rimanere sul blu chiaro: color: #a6cfff; */
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Divisore a forma di onda (Shape Divider) */
.custom-shape-divider-bottom-1623682034 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1623682034 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px; /* Altezza dell'onda */
}

.custom-shape-divider-bottom-1623682034 .shape-fill {
    fill: #FFFFFF; /* Colore dell'onda (deve combaciare con lo sfondo della sezione successiva) */
}

/* Layout Bio: Immagine a sinistra, Testo a destra */
.about-bio {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 5rem var(--padding);
}

.bio-image {
    flex: 1;
    min-width: 300px;
    max-width: 800px;
}

.bio-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.bio-content {
    flex: 1.5;
}

.bio-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    margin: 2rem 0;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 0 4px 4px 0;
}

.bio-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.bio-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.bio-signature {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #eee;
}

/* =========================================
   VARIANTE BIO: SOLO TESTO (NO IMMAGINI)
   ========================================= */

.about-bio.full-text {
    display: block;      /* Disabilita il flexbox laterale */
    text-align: center;  /* Centra il contenitore generale */
}

.about-bio.full-text .bio-content {
    max-width: 800px;    /* Stringe il testo per non farlo diventare troppo largo e illeggibile */
    margin: 0 auto;      /* Centra il blocco nel mezzo della pagina */
    text-align: left;    /* Mantiene il testo allineato a sinistra (più professionale per testi lunghi) */
}

/* Opzionale: se vuoi che il titolo H2 sia centrato, mentre i paragrafi restano a sinistra */
.about-bio.full-text .bio-content h2 {
    text-align: center;
}


/* Classe per invertire l'ordine: Immagine a Destra, Testo a Sinistra */
.about-bio.reverse {
    flex-direction: row-reverse;
    background-color: #fcfcfc; /* Opzionale: un grigio leggerissimo per staccare visivamente */
}

/* Separatore visuale tra le sezioni */
.section-separator {
    width: 100%;
    max-width: 200px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
    opacity: 0.3;
}

/* Sezione Valori */
.values-section {
    background-color: var(--light-color);
    padding: 5rem var(--padding);
    text-align: center;
}

.values-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--primary-color); /* Dettaglio di stile */
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Link attivo nel menu */
.nav-menu a.active-page {
    color: var(--primary-color);
    font-weight: 700;
}


/* =========================================
   SEZIONE BLOG & ARTICOLI
   ========================================= */

/* --- Griglia Elenco Post (blog.html) --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.blog-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    will-change: transform, opacity;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card h3 {
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    color: var(--dark-color);
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
}

.read-more:hover {
    text-decoration: underline;
}

/* --- Template Singolo Articolo (articolo.html) --- */
.article-container {
    max-width: 800px; /* Più stretto per facilitare la lettura */
    margin: 0 auto;
    padding: 0 var(--padding);
}

.article-header {
    text-align: center;
    padding: 4rem 0 2rem;
}

.article-meta {
    display: inline-block;
    background-color: #eef6ff;
    color: var(--primary-color);
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.article-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.article-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.article-featured-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

/* Container per l'immagine nel blog */
.blog-image-container {
    margin: 2.5rem 0; /* Spazio coerente sopra e sotto l'immagine */
    text-align: center; /* Centra l'immagine e la didascalia */
    width: 100%;
    clear: both; /* Impedisce al testo di stare ai lati */
}

.blog-image-container img {
    max-width: 100%;
    height: auto;
    display: block; /* Rimuove spazi bianchi indesiderati sotto l'img */
    margin: 0 auto;
    border-radius: 8px; /* Opzionale: per coerenza con le card del blog */
}

/* Stile per la didascalia */
.blog-image-caption {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-style: italic;
    font-family: 'Roboto', sans-serif;
}

/* Tipografia del contenuto dell'articolo */
.article-content {
    font-size: 1.125rem; /* Leggermente più grande per lettura */
    line-height: 1.8;
    /*color: #444;*/
    color: var(--secondary-color);
}

.article-content h2 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    margin: 2rem 0;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 0 4px 4px 0;
}

/* 3. Wrapper per il Separatore negli Articoli */
/* Serve per dare più spazio verticale quando usi il separatore tra i paragrafi */
.article-separator-wrapper {
    margin: 4rem auto; /* Molto spazio sopra e sotto */
    text-align: center;
}

/* Navigazione tra articoli */
.article-navigation {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
}

/* =========================================
   SEZIONE FAQ
   ========================================= */

.faq-section {
    padding: 4rem var(--padding);
    background-color: #fff; /* O var(--light-color) se vuoi un grigio chiaro alternato */
    text-align: center;
}

.faq-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left; /* Le domande stanno meglio allineate a sinistra */
}

/* Stile del singolo blocco domanda */
.faq-item {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

/* Stile della domanda cliccabile */
.faq-item summary {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-color);
    cursor: pointer;
    list-style: none; /* Rimuove il triangolino standard */
    position: relative;
    padding-right: 30px; /* Spazio per l'icona custom */
    transition: color 0.3s ease;
}

/* Rimuove il marker standard su alcuni browser (es. Safari) */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Hover sulla domanda */
.faq-item summary:hover {
    color: var(--primary-color);
}

/* Creazione dell'icona "+" personalizzata */
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

/* Animazione quando la domanda è aperta */
.faq-item[open] summary::after {
    transform: rotate(45deg); /* Il + diventa una X */
}

.faq-item[open] summary {
    margin-bottom: 1rem; /* Crea spazio tra titolo e risposta quando aperto */
    color: var(--primary-color);
}

/* Stile della risposta */
.faq-content p {
    font-family: var(--font-main);
    color: var(--secondary-color);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    padding-right: 2rem; /* Per non andare sopra l'icona */
    animation: fadeIn 0.4s ease-in-out;
}

/* Piccola animazione di comparsa */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}


/* =========================================
   RESPONSIVE BLOG & ARTICOLI
   ========================================= */

@media (max-width: 768px) {
    /* Griglia Blog su Mobile: Una sola colonna */
    .blog-grid {
        grid-template-columns: 1fr; 
        gap: 1.5rem;
        padding: 1rem 0;
    }

    /* Testi Articolo più piccoli su mobile */
    .article-header h1 {
        font-size: 1.8rem; /* Titolo più piccolo */
    }
    
    .article-content {
        font-size: 1rem; /* Testo leggibile ma non enorme */
        line-height: 1.6;
    }

    .article-featured-image {
        margin-bottom: 1.5rem;
        height: auto;
    }

    /* Margini laterali di sicurezza */
    .article-container {
        padding: 0 1.2rem; 
    }
}

/* SOCIAL ICONE */
.social-icons {
    margin-bottom: 15px; /* Spazio tra le icone e il testo del copyright */
    text-align: center;
}

.social-icons a {
    color: #ffffff; /* Colore delle icone (bianco) */
    font-size: 24px; /* Grandezza delle icone */
    margin: 0 10px; /* Spazio orizzontale tra le icone */
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

/* Effetto al passaggio del mouse */
.social-icons a:hover {
    color: #0088cc; /* Cambia colore (es. azzurro, puoi mettere il tuo colore highlight) */
    transform: translateY(-3px); /* Leggero movimento verso l'alto */
}

/* Specifico per WhatsApp se vuoi il verde al passaggio del mouse */
.social-icons a:nth-child(2):hover {
    color: #25D366;
}

/* RESPONSIVE PER CHI SONO */
@media (max-width: 768px) {
    .about-bio {
        flex-direction: column; /* Colonna singola su mobile */
        text-align: center;
        gap: 2rem;
    }
    
    /* AGGIUNTA: Appiattisce l'onda su mobile */
    .custom-shape-divider-bottom-1623682034 svg {
        height: 25px; /* Molto bassa e sottile */
    }
    
    /* Facoltativo: se vuoi ridurre anche il padding della hero su mobile per avvicinare il contenuto */
    .page-hero {
        padding-bottom: 4rem; 
    }

    .bio-image {
        width: 100%;
        max-width: 400px; /* Limita larghezza foto su mobile */
        margin: 0 auto;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }

/* IMPORTANTE: Gestione Mobile per la classe reverse */
    .about-bio.reverse {
        /* Su mobile vogliamo che rimanga in colonna standard (Img sopra, testo sotto) */
        flex-direction: column; 
    }
    
	.about-bio.full-text .bio-content {
        width: 100%;
    }
}

/* =========================================
   SEZIONE INTRO DINAMICA E ASIMMETRICA
   ========================================= */
.intro-dynamic {
    padding: 5rem 5%;
    background-color: var(--light-color); /* Sfondo grigio chiarissimo per staccare dal bianco */
    overflow: hidden; /* Evita scroll orizzontali */
}

.intro-dynamic-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.intro-image-wrapper {
    position: relative;
    flex: 1;
    max-width: 480px;
}

/* L'immagine in allegato (LM.jpeg) */
.dynamic-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    /* Ombra asimmetrica marcata per dare tridimensionalità */
    box-shadow: 20px 20px 0px rgba(37, 211, 102, 0.2); /* Verde tema */
    /* Leggera rotazione per spezzare l'eccessiva simmetria */
    transform: rotate(-2.5deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dynamic-image:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 15px 15px 0px rgba(37, 211, 102, 0.4);
}

/* Elemento decorativo dietro l'immagine */
.image-accent-shape {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 180px;
    height: 180px;
    background-color: var(--primary-color); /* Azzurro tema */
    border-radius: 50%;
    z-index: 1;
    opacity: 0.08;
}

/* Box di testo sfalsato */
.intro-text-wrapper {
    flex: 1;
    padding: 3.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06); /* Ombra morbida */
    position: relative;
    z-index: 3;
    /* IL SEGRETO DELL'ASIMMETRIA: Margine negativo per sovrapporre il testo alla foto */
    margin-left: -80px; 
    margin-top: 40px;
}

.intro-text-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.intro-text-wrapper p {
    font-family: var(--font-main);
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* --- RESPONSIVE PER LA NUOVA SEZIONE --- */
@media (max-width: 900px) {
    .intro-dynamic-container {
        flex-direction: column;
        gap: 2rem;
        padding-top: 2rem;
    }
    
    .intro-text-wrapper {
        margin-left: 0;
        margin-top: -60px; /* Sovrapposizione verticale su schermi piccoli */
        padding: 2rem;
    }

    .dynamic-image {
        transform: rotate(0deg); /* Rimuoviamo la rotazione su mobile per ottimizzare gli spazi */
        box-shadow: 15px 15px 0px rgba(37, 211, 102, 0.2);
    }
}

/* =========================================
   SEZIONI FEATURE — LAYOUT DINAMICI
   ========================================= */

/* --- Prima griglia: "A chi mi rivolgo" --- */
.features--asymmetric {
    background-color: #fff;
}

.feature-grid--bento {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: stretch;
}

/* Card grande a sinistra: occupa 2 righe */
.feature-card--hero {
    grid-row: 1 / 3;
    background: linear-gradient(145deg, #f0f7ff 0%, #e8f4ff 100%);
    border: none;
    border-left: 5px solid #25D366;
    box-shadow: 0 8px 30px rgba(0,102,204,0.08);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card--hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: rgba(37, 211, 102, 0.07);
    border-radius: 50%;
}

.feature-card--hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,102,204,0.13);
}

.feature-card--hero h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.feature-card--hero p {
    color: var(--secondary-color);
    line-height: 1.75;
    font-size: 1.05rem;
    flex: 1;
}

/* Badge "Principale" */
.feature-card__badge {
    display: inline-block;
    background-color: #25D366;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 1.2rem;
}

/* Link sottile nelle card */
.feature-card__link {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #25D366;
    text-decoration: none;
    transition: letter-spacing 0.2s ease, color 0.2s ease;
}

.feature-card__link:hover {
    letter-spacing: 0.04em;
    color: #1ea855;
}

.feature-card__link--blue {
    color: var(--primary-color);
}

.feature-card__link--blue:hover {
    color: #0052a3;
}

/* Card colorata (accento blu) */
.feature-card--accent {
    background: linear-gradient(135deg, #0066cc, #1e88e5);
    color: #fff;
    border: none;
    box-shadow: 0 8px 24px rgba(0,102,204,0.25);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card--accent:hover {
    transform: translateY(-4px) rotate(0.5deg);
    box-shadow: 0 16px 36px rgba(0,102,204,0.35);
}

.feature-card--accent h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.feature-card--accent p {
    color: rgba(255,255,255,0.88);
    font-size: 0.97rem;
    line-height: 1.65;
}

/* Card minimal con bordo sottile */
.feature-card--minimal {
    background-color: #fff;
    border: 1.5px solid #e0e8f5;
    box-shadow: none;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card--minimal:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0,102,204,0.1);
}

.feature-card--minimal h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.feature-card--minimal p {
    font-size: 0.97rem;
    color: var(--secondary-color);
    flex: 1;
}


/* --- Seconda griglia: "Cosa puoi ottenere" --- */
.features--results {
    background-color: var(--light-color);
}

.features__header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.features__subtitle {
    color: var(--secondary-color);
    font-size: 1.05rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.feature-grid--staggered {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    align-items: stretch;
}

/* I primi 3 box: ognuno occupa 2 colonne su 6 */
.feature-grid--staggered .feature-card:nth-child(1),
.feature-grid--staggered .feature-card:nth-child(2),
.feature-grid--staggered .feature-card:nth-child(3) {
    grid-column: span 2;
}

/* Il quarto box: largo 3 colonne su 6 (= 1.5x), centrato */
.feature-grid--staggered .feature-card:nth-child(4) {
    grid-column: 2 / 6;
}

/* Numero decorativo in ogni card */
.feature-card__number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(0,102,204,0.08);
    line-height: 1;
    margin-bottom: 0.5rem;
    user-select: none;
    letter-spacing: -0.02em;
}

.feature-card__number--light {
    color: rgba(255,255,255,0.18);
}

/* Card con bordo superiore colorato */
.feature-card--bordered-top {
    border-top: 4px solid #25D366;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card--bordered-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* Card scura (dark) */
.feature-card--dark {
    background-color: #1a2535;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 28px rgba(26,37,53,0.25);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card--dark:hover {
    transform: translateY(-5px) rotate(-0.4deg);
    box-shadow: 0 16px 40px rgba(26,37,53,0.35);
}

.feature-card--dark h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.feature-card--dark p {
    color: rgba(255,255,255,0.75);
    font-size: 0.97rem;
    line-height: 1.65;
}

/* Offset verticale per creare sfalsamento */
.feature-card--offset {
    margin-top: 1.5rem;
}

/* =========================================
   RESPONSIVE — LAYOUT DINAMICI
   ========================================= */

@media (max-width: 900px) {
    .feature-grid--bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .feature-card--hero {
        grid-row: auto;
    }

    .feature-grid--staggered {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid--staggered .feature-card:nth-child(1),
    .feature-grid--staggered .feature-card:nth-child(2),
    .feature-grid--staggered .feature-card:nth-child(3),
    .feature-grid--staggered .feature-card:nth-child(4) {
        grid-column: span 1;
    }

    .feature-card--offset {
        margin-top: 0;
    }
}

@media (max-width: 540px) {
    .feature-grid--staggered {
        grid-template-columns: 1fr;
    }
}
/* === Due colonne "A chi mi rivolgo" === */
.feature-grid--two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.feature-grid--two-col .feature-card {
    height: 100%;
}

.feature-card__link--white {
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

.feature-card__link--white:hover {
    border-bottom-color: #ffffff;
}

@media (max-width: 768px) {
    .feature-grid--two-col {
        grid-template-columns: 1fr;
    }
}

/* === FADE CARD BLOG IN HOMEPAGE === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

#latest-blog-grid {
    min-height: 400px; /* Evita che il footer "salti" quando i dati arrivano */
}