:root {
    /* Nuova Palette Colori ALETHEIA */
    --primary-color: #1B4958; /* Ottanio Scuro */
    --primary-light: #2A687C;
    --accent-color: #D17A40; /* Terracotta / Ocra */
    --accent-hover: #B86731;
    --bg-main: #FFFFFF; /* Bianco */
    --bg-card: #FFFFFF; /* Bianco */
    --text-main: #333333;
    --text-muted: #666666;
    --border-color: rgba(27, 73, 88, 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Shadows */
    --section-padding: 100px 0;
    --card-shadow: 0 10px 30px rgba(27, 73, 88, 0.06);
    --card-shadow-hover: 0 15px 40px rgba(27, 73, 88, 0.12);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #1a1a1a;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
}

.bg-alt {
    background-color: var(--bg-card);
}

/* Typography Utilities */
.text-center {
    text-align: center;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 16px;
}
.section-header p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 15px;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(209, 122, 64, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

/* Header & Nav */
.site-header {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    margin: 0 auto;
    width: auto;
    max-width: 1200px;
    z-index: 1000;
    padding: 8px 16px 8px 24px;
    transition: all 0.4s ease;
    background: rgba(229, 231, 235, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.site-header.scrolled {
    padding: 8px 16px 8px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: rgba(229, 231, 235, 0.98);
}

.logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

/* Global Nav Fullscreen */
.main-nav {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 100vw;
    height: 100vh;
    background: white;
    padding: 120px 10vw 40px;
    transition: right 0.4s ease;
    z-index: 999;
    overflow-y: auto;
}

.main-nav.active {
    right: 0;
}

.main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.main-nav li {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.main-nav a {
    display: block;
    padding: 20px 0;
    font-weight: 500;
    font-size: 20px;
    color: var(--text-main);
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* Circular Hamburger */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(0,0,0,0.05);
}

.menu-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Toggle Animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle span:nth-child(3) {
    width: 24px;
}

/* Navigazione su Desktop (Menu Aperto) */
@media (min-width: 992px) {
    .menu-toggle {
        display: none !important;
    }
    
    .main-nav {
        position: fixed;
        top: 20px;
        left: 20px;
        right: 20px;
        margin: 0 auto;
        max-width: 1200px;
        height: 56px; /* 40px logo + 16px padding */
        width: auto;
        background: transparent;
        padding: 0;
        z-index: 1002;
        display: flex;
        justify-content: center;
        align-items: center;
        pointer-events: none; /* Ignora click fuori dai link */
    }
    
    .main-nav.active {
        right: auto;
    }
    
    .main-nav ul {
        flex-direction: row;
        gap: 35px;
        pointer-events: auto; /* Riattiva click sui link */
    }
    
    .main-nav li {
        border-bottom: none;
    }
    
    .main-nav a {
        font-size: 15px;
        padding: 5px 0;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--primary-color); /* Colore del testo sul pill bianco */
        position: relative;
    }
    
    .main-nav a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent-color);
        transition: width 0.3s ease;
    }
    
    .main-nav a:hover::after {
        width: 100%;
    }
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Body and Header modifications when Menu is open */
body.menu-open {
    overflow: hidden;
}

body.menu-open .site-header {
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(27, 73, 88, 0.7), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat;
    color: white;
}

.hero-overline {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-overline::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.7);
}

.hero-big-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 10vw, 110px); /* Ingrandito */
    line-height: 1.05;
    font-weight: 800;
    color: white;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-big-title .highlight {
    color: var(--accent-color);
}

.hero-italic-subtitle {
    font-style: italic;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}

.hero-desc {
    font-size: clamp(18px, 2vw, 24px); /* Ingrandito */
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    line-height: 1.6;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-liquid-shape {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    animation: floatingBox 6s ease-in-out infinite;
    padding: 40px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 420px;
    margin: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

@keyframes floatingBox {
    0% { transform: translateY(0px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); }
    50% { transform: translateY(-15px); box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15); }
    100% { transform: translateY(0px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); }
}

.aletheia-acronym {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    width: 100%;
}

.acronym-item {
    display: flex;
    align-items: baseline;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.acronym-item strong {
    display: inline-block;
    width: 22px;
    text-align: center;
    color: var(--accent-color);
    font-size: 24px;
    font-family: var(--font-heading);
    margin-right: 2px;
}

.hero-content {
    text-align: left;
}

.hero-content h1 {
    font-size: clamp(28px, 2.8vw, 38px);
    line-height: 1.2;
    margin-bottom: 16px;
    color: white;
}

.hero-content p {
    font-size: clamp(14px, 1vw, 16px);
    margin-bottom: 24px; /* Crea respiro verticale occupando elegantemente spazio verso il basso */
    color: rgba(255, 255, 255, 0.8);
    max-width: 540px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin-top: 10px;
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
}

.hero .btn-outline:hover {
    background: white !important;
    color: var(--primary-color) !important;
}

/* Trust Badge Top Left */
.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.hero-badge-top .badge-icon {
    font-size: 14px;
}

/* Feature Flow Right Column */
.hero-features-flow {
    position: relative;
    padding-left: 24px;
    margin-top: 20px;
}
.flow-items {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.flow-items::before {
    content: '';
    position: absolute;
    left: -15px; /* Centered exactly on the 10px dot (-20px left + 5px center) */
    top: 10px; /* Starts exactly at the first dot's center */
    bottom: 10px; /* Stops exactly at the third/last dot's center */
    width: 2px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 1;
}
.flow-item {
    position: relative;
    padding-left: 20px;
}
.flow-dot {
    position: absolute;
    left: -20px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    z-index: 2;
}
.flow-content h4 {
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}
.flow-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}
.avatar-group {
    display: flex;
    align-items: center;
}
.avatar-group img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    margin-left: -8px;
    object-fit: cover;
}
.avatar-group img:first-child {
    margin-left: 0;
}
.flow-stats {
    display: flex;
    flex-direction: column;
}
.flow-stats strong {
    font-size: 18px;
    color: white;
    font-family: var(--font-heading);
    line-height: 1.1;
}
.flow-stats span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

/* Features Carousel */
.features-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 20px 40px 20px;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
}

.features-carousel::-webkit-scrollbar {
    display: none;
}

.features-carousel .card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    min-width: 320px;
}

.carousel-nav .nav-btn {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.carousel-nav .nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* ALETHEIA Announcement Bar */
.aletheia-bar {
    padding: 16px 0;
    overflow: hidden;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    gap: 0;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    padding: 0 8px;
}

.marquee-item strong {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 17px;
}

.marquee-dot {
    color: rgba(255, 255, 255, 0.3);
    font-size: 18px;
    padding: 0 6px;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(209, 122, 64, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 32px;
}

/* Method Grid */
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.method-item {
    text-align: center;
    padding: 40px 24px;
}

.method-letter {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 16px;
    line-height: 1;
}

.method-item h4 {
    font-size: 24px;
    margin-bottom: 12px;
}

.method-item p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Value Pills */
.value-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.value-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 500;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(27, 73, 88, 0.03);
    transition: all 0.3s ease;
}

.value-pill:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(27, 73, 88, 0.15);
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--primary-color); /* Colore verde/celeste del sito da chiuse */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Quando la faq è aperta, la card diventa bianca */
.faq-item.active {
    background: white;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: white; /* Testo bianco quando chiusa */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

/* Testo blu scuro quando aperta */
.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: white; /* Icona bianca da chiusa per contrasto sul verde */
    transition: all 0.3s ease;
}

/* Icona croce diventa arancione quando aperta */
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: transparent;
}

.faq-answer p {
    padding: 0 20px 16px;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 992px) {
    .header-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .hero { min-height: auto; padding: 150px 0 80px; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; }
    .features-carousel .card {
        flex: 0 0 85%;
    }
}

/* Typing Animation */
.typing-container {
    display: inline-block;
    min-height: 1.2em; /* Prevents layout jump */
}
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: var(--accent-color);
    margin-left: 4px;
    animation: blink 0.8s infinite;
    vertical-align: text-bottom;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Image Layouts */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.split-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 100%;
}
.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.split-image:hover img {
    transform: scale(1.05);
}

/* Carousel */
.carousel-wrapper {
    position: relative;
    max-width: 100%;
    padding: 0 40px;
}
.method-grid.carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 20px 0;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.method-grid.carousel::-webkit-scrollbar {
    display: none;
}
.method-grid.carousel .method-item {
    min-width: 280px;
    scroll-snap-align: center;
    flex: 0 0 auto;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 10;
    transition: all 0.3s ease;
}
.page-hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    padding-top: 80px;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(27,73,88,0.8), rgba(0,0,0,0.6));
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}

/* WhatsApp Float Button */
.wa-float-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.wa-float-btn:hover {
    transform: scale(1.1);
    color: #FFF;
}
.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
}
.carousel-prev { left: -10px; }
.carousel-next { right: -10px; }

@media (max-width: 768px) {
    .split-section { grid-template-columns: 1fr; gap: 40px; }
    .carousel-btn { display: none; } /* On mobile, swiping is enough */
    .carousel-wrapper { padding: 0; }
}

/* Nuove sezioni Bozza */
.bg-dark {
    background-color: var(--primary-color);
    color: white;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 {
    color: white;
}
.bg-dark .text-muted {
    color: rgba(255, 255, 255, 0.7);
}

.pill-tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.approach-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 20px;
}
/* Vertical line starting exactly at the first dot and stopping at the last dot! */
.approach-list::before {
    content: '';
    position: absolute;
    left: 5px; /* exactly centered on the 10px dot (-20px left + 5px center) */
    top: 48px; /* starts at the center of the first dot (padding 42px + 6px top offset) */
    bottom: 48px; /* stops at the center of the last dot */
    width: 2px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 1;
}
.approach-item {
    position: relative;
    padding: 42px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 24px;
}
.approach-item:last-child {
    border-bottom: none;
}
.approach-dot {
    position: absolute;
    left: -20px;
    top: 48px; /* vertically aligned with h4 title */
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    z-index: 2;
}
.approach-content {
    padding-left: 10px;
}
.approach-content h4 {
    font-size: 16px;
    margin-bottom: 6px;
    color: white;
    font-weight: 600;
}
.approach-content p {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.65) !important;
    line-height: 1.5;
    margin: 0;
}

/* Light Background Dotted Flow (4 points) */
.dotted-flow-light {
    position: relative;
    padding-left: 20px;
    margin-bottom: 32px;
    margin-top: 32px;
}
.flow-items-light {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.flow-items-light::before {
    content: '';
    position: absolute;
    left: -15px; /* centered exactly on the 10px dot */
    top: 8px; /* starts exactly at first dot's center */
    bottom: 8px; /* stops exactly at last dot's center */
    width: 2px;
    background: rgba(27, 73, 88, 0.12);
    z-index: 1;
}
.flow-item-light {
    position: relative;
    padding-left: 16px;
    font-size: 14px;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.4;
}
.flow-dot-light {
    position: absolute;
    left: -20px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 8px rgba(209, 122, 64, 0.25);
    z-index: 2;
}

.dashed-list {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}
.dashed-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    color: var(--text-muted);
}
.dashed-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Metodo C.A.R.B. Section */
.carb-section {
    background-color: var(--primary-color);
    color: #ffffff;
}

.carb-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
}

.carb-highlight {
    border-left: 4px solid var(--accent-color);
    padding: 20px 20px 20px 24px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 10px 10px 0;
}

.carb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.carb-item {
    position: relative;
    padding-top: 10px;
    padding-left: 70px;
    min-height: 80px;
}

.carb-letter {
    font-size: 72px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
    position: relative;
    top: 0;
    left: 0;
    line-height: 1;
    font-family: var(--font-heading);
    z-index: 0;
    display: block;
}

.carb-item h4 {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.carb-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.carb-program-box {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 768px) {
    /* Padding di sezione ridotto per mobile */
    .section { 
        padding: 50px 0 !important; 
    }
    
    /* Tipografia Responsive */
    h1, .hero-content h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 16px !important;
    }
    
    h2, .section-header h2, .carb-title {
        font-size: 24px !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }
    
    h3, .features-carousel .card h3 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }
    
    .hero-content p, .section-header p {
        font-size: 15px !important;
        line-height: 1.5 !important;
        margin-bottom: 24px !important;
    }
    
    p, .features-carousel .card p {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }
    
    .carb-highlight {
        font-size: 14px !important;
        padding: 16px !important;
        margin-bottom: 24px !important;
    }
    
    /* Dettagli della Griglia C.A.R.B. */
    .carb-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin-bottom: 30px !important;
    }
    
    .carb-item {
        padding-left: 55px !important;
        min-height: auto !important;
    }
    
    .carb-letter {
        font-size: 56px !important;
        top: -6px !important;
    }
    
    .carb-item h4 {
        font-size: 16px !important;
    }
    
    .carb-item p {
        font-size: 13px !important;
    }
    
    .carb-program-box {
        padding: 16px !important;
    }
    
    .carb-program-box h3 {
        font-size: 18px !important;
    }
    
    .value-pill {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    
    /* Riduzione Header Mobile */
    .site-header {
        padding: 8px 0 !important;
    }
    
    .logo img {
        height: 42px !important;
    }

    /* Nuove Regole per la Hero Mobile */
    .hero {
        border-bottom-left-radius: 60px !important;
        padding-top: 100px !important;
        padding-bottom: 60px !important;
    }

    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    .hero-content {
        order: 1 !important;
    }

    .hero-liquid-column {
        order: 2 !important;
        margin-top: 20px !important;
        justify-content: center !important;
    }

    .hero-features-flow {
        padding-left: 20px !important;
    }

    .flow-items {
        gap: 24px !important;
    }

    .flow-item {
        padding-left: 20px !important;
    }

    .flow-dot {
        left: -20px !important;
    }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid rgba(0,0,0,0.05); /* Lieve bordo per separazione al posto dell'ombra */
    transition: transform 0.3s ease;
    text-align: center;
}
.team-card:hover {
    transform: translateY(-5px);
}
.team-img-wrapper {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    background: #f5f7fa;
}
.team-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}
.team-info {
    padding: 25px 20px;
}
.team-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}
.team-role {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .team-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        -webkit-overflow-scrolling: touch;
    }
    .team-grid::-webkit-scrollbar {
        display: none;
    }
    .team-card {
        min-width: 260px;
        scroll-snap-align: center;
    }
}

/* ==========================================================================
   GLOBAL MOBILE UX/UI OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Typography - Grandezza Testi e Titoli Ridotta e Uniforme */
    h1, .hero-content h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 16px !important;
    }
    h2, .section-header h2, .carb-title, .carb-title span {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 14px !important;
    }
    h3, .features-carousel .card h3 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }
    h4, .carb-item h4 {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }
    p, li, .lead, a, label, .hero-content p, .section-header p, .features-carousel .card p, .carb-item p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    
    /* 2. Buttons - Grandezza Tasti */
    .btn {
        padding: 14px 20px !important; 
        font-size: 14px !important;
        width: 100% !important; 
        display: block !important;
        text-align: center !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }

    /* 3. Spacing - Ottimizzazione Spazi tra Sezioni */
    .section {
        padding: 40px 0 !important;
    }
    
    /* 4. Images - Grandezza Foto */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    .split-image, .hero-image img, .feature-icon img {
        max-height: 220px !important; 
        object-fit: cover !important;
        border-radius: 12px !important;
        margin-bottom: 15px !important;
    }
    
    /* 5. Hero Alignment - Allineato a sinistra come richiesto */
    .hero-content {
        text-align: left !important;
        align-items: flex-start !important;
    }
    .hero-content p {
        margin-left: 0 !important;
        margin-right: auto !important;
    }
    
    /* 6. Layout Grids */
    .split-section, .carb-grid, .footer-grid, .features-grid, .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* 7. Metodo C.A.R.B. Fix Lettere */
    .carb-item {
        padding: 20px !important;
        min-height: auto !important;
    }
    .carb-letter {
        position: relative !important;
        font-size: 28px !important;
        top: 0 !important;
        left: 0 !important;
        display: block !important;
        margin-bottom: 5px !important;
    }

    /* 8. Formazione Carousel Arrows Fix */
    .nav-btn {
        top: 25% !important; /* Le sposta in alto sulla foto per non coprire il testo */
        width: 35px !important;
        height: 35px !important;
    }

    /* 9. Team Cards Resize */
    .team-card {
        min-width: 250px !important;
    }
    .team-img-wrapper {
        padding-top: 125% !important; /* Rende la foto più alta in verticale (ritratto) */
    }
    .team-img-wrapper img {
        height: 100% !important; /* Forza l'immagine a coprire l'intero wrapper, annullando height: auto */
    }
    .team-info {
        padding: 24px 16px !important; /* Più respiro per rendere la card più alta */
    }
    .team-name {
        font-size: 18px !important;
        margin-bottom: 6px !important;
    }
    .team-role {
        font-size: 13px !important;
    }

}

/* --- MIGLIORAMENTO LAYOUT FAQ DESKTOP --- */
@media (min-width: 992px) {
    #faq .container {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 60px;
        align-items: flex-start;
    }
    #faq .section-header {
        text-align: left !important;
        margin-bottom: 0;
        position: sticky;
        top: 100px;
        padding-right: 20px;
    }
    #faq .section-header p {
        margin: 0 !important;
    }
    #faq .faq-list {
        max-width: 100%;
        margin: 0;
    }
}

/* --- Page Hero Overlay --- */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: white;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay per leggibilità */
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-hero h1 {
    font-size: clamp(32px, 4.5vw, 48px);
    color: white !important;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.page-hero p {
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.95) !important;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 80px;
    }
}

/* --- Utilities per Visibilità Mobile/Desktop --- */
.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
        margin: 25px 0 35px 0;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    color: white;
}
        :root {
            --carb-blue: #4A85CD;
            --carb-dark: #3a6ca8;
            --carb-light: rgba(74, 133, 205, 0.1);
        }

        .metodo-hero {
            padding: 160px 20px 80px;
            text-align: center;
            background: linear-gradient(135deg, rgba(74, 133, 205, 0.05) 0%, rgba(33, 85, 115, 0.05) 100%);
        }
        .metodo-hero h1 {
            font-size: 48px;
            color: var(--primary-color);
            margin-bottom: 20px;
            font-family: var(--font-heading);
        }
        .metodo-hero h1 span {
            color: var(--carb-blue);
        }
        .metodo-hero p {
            font-size: 18px;
            color: var(--text-muted);
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .timeline-section {
            padding: 80px 20px;
            background: #fff;
        }
        .timeline-container {
            max-width: 900px;
            margin: 0 auto;
            position: relative;
        }
        .timeline-container::before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 4px;
            background: var(--carb-light);
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .timeline-item {
            display: flex;
            justify-content: flex-end;
            padding-right: 50%;
            position: relative;
            margin-bottom: 60px;
        }
        .timeline-item:nth-child(even) {
            justify-content: flex-start;
            padding-right: 0;
            padding-left: 50%;
        }

        .timeline-dot {
            position: absolute;
            top: 20px;
            left: 50%;
            width: 20px;
            height: 20px;
            background: var(--carb-blue);
            border: 4px solid #fff;
            border-radius: 50%;
            transform: translateX(-50%);
            box-shadow: 0 0 0 4px var(--carb-light);
            z-index: 2;
        }

        .timeline-content {
            width: 90%;
            background: #fff;
            padding: 35px;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.06);
            position: relative;
            border-top: 4px solid var(--carb-blue);
            transition: transform 0.3s ease;
        }
        .timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 50px rgba(74, 133, 205, 0.15);
        }
        
        .timeline-item:nth-child(odd) .timeline-content {
            margin-right: 40px;
        }
        .timeline-item:nth-child(even) .timeline-content {
            margin-left: 40px;
        }

        .timeline-letter {
            font-size: 64px;
            font-weight: 800;
            color: var(--carb-light);
            position: absolute;
            top: 10px;
            right: 20px;
            line-height: 1;
            font-family: var(--font-heading);
            z-index: 0;
        }
        
        .timeline-item:nth-child(even) .timeline-letter {
            right: auto;
            left: 20px;
        }

        .timeline-content h3 {
            font-size: 24px;
            color: var(--primary-color);
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }
        .timeline-content p {
            color: var(--text-main);
            line-height: 1.7;
            font-size: 15px;
            position: relative;
            z-index: 1;
        }

        @media (max-width: 768px) {
            .timeline-container::before {
                left: 30px;
            }
            .timeline-item {
                justify-content: flex-start;
                padding-right: 0;
                padding-left: 0;
            }
            .timeline-item:nth-child(even) {
                padding-left: 0;
            }
            .timeline-dot {
                left: 30px;
            }
            .timeline-content {
                width: calc(100% - 70px);
                margin-left: 70px !important;
                margin-right: 0 !important;
            }
            .timeline-letter {
                right: 20px !important;
                left: auto !important;
            }
        }
        /* Utility per alternare l'ordine su mobile e avere sempre l'immagine in alto */
        @media (max-width: 768px) {
            .mobile-image-first {
                order: -1;
            }
            .carb-grid {
                grid-template-columns: 1fr !important;
            }
            .nav-btn {
                display: none !important; /* Hide arrows on mobile, swipe is better */
            }
        }
        .acronym-carousel {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -ms-overflow-style: none;
            padding: 10px;
        }
        .acronym-carousel::-webkit-scrollbar {
            display: none;
        }
        .acronym-box {
            min-width: 250px;
            scroll-snap-align: center;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            padding: 24px;
            border-radius: 16px;
            text-align: center;
            transition: all 0.3s ease;
        }
        .acronym-box:hover {
            transform: translateY(-5px);
            background: rgba(255,255,255,0.1);
            border-color: var(--accent-color);
        }
        .acronym-letter {
            font-size: 40px;
            font-family: var(--font-heading);
            color: var(--accent-color);
            font-weight: 800;
            line-height: 1;
            margin-bottom: 12px;
        }
        .acronym-word {
            font-size: 16px;
            font-weight: 700;
            color: white;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .policy-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 160px 20px 80px;
            font-family: var(--font-body);
        }
        .policy-container h1 { font-size: 36px; color: var(--primary-color); margin-bottom: 10px; font-family: var(--font-heading); }
        .policy-container .subtitle { font-size: 16px; color: var(--text-muted); margin-bottom: 50px; font-weight: 500; }
        
        .legal-section { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--border-color); }
        .legal-section:last-child { border-bottom: none; }
        
        .legal-section h2 { font-size: 24px; color: var(--primary-color); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
        .legal-section h2::before { content: ""; display: block; width: 4px; height: 24px; background: var(--accent-color); border-radius: 2px; }
        
        .legal-section h3 { font-size: 18px; color: var(--primary-color); margin-top: 25px; margin-bottom: 15px; }
        
        .legal-section p { font-size: 16px; line-height: 1.7; color: var(--text-main); margin-bottom: 15px; }
        .legal-section ul { padding-left: 20px; list-style-type: none; margin-bottom: 20px; }
        .legal-section li { margin-bottom: 10px; font-size: 16px; line-height: 1.6; color: var(--text-main); position: relative; padding-left: 20px; }
        .legal-section li::before { content: "•"; color: var(--accent-color); position: absolute; left: 0; font-weight: bold; font-size: 18px; }
        
        .highlight-box { background: rgba(33, 85, 115, 0.05); padding: 25px; border-radius: 12px; border-left: 4px solid var(--primary-color); margin: 30px 0; }
        .highlight-box p { margin: 0; font-size: 15px; }

