/* ============================================
   KLEOS LIVING - STYLESHEET PRINCIPALE
   ============================================ */

/* ============================================
   VARIABILI CSS
   ============================================ */
:root {
    /* Colori brand */
    --primary-red: #C41E3A;
    --secondary-blue: #1A4B8E;
    --accent-orange: #E67E22;
    --dark-gray: #2C3E50;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    
    /* Tipografia */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spaziature */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transizioni */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Gradient brand - riutilizzabile */
    --gradient-hero: linear-gradient(
        135deg,
        rgba(196, 30, 58, 0.5) 0%,      /* Rosso attenuato */
        rgba(26, 75, 142, 0.5) 50%,      /* Blu attenuato */
        rgba(44, 62, 80, 0.7) 100%       /* Grigio */
    );
    
    --gradient-section-light: linear-gradient(
        135deg,
        rgba(196, 30, 58, 0.08) 0%,      /* Rosso più visibile */
        rgba(26, 75, 142, 0.12) 50%,     /* Blu più visibile */
        rgba(44, 62, 80, 0.12) 100%      /* Grigio più visibile */
    );
    
    --gradient-section-medium: linear-gradient(
        135deg,
        rgba(196, 30, 58, 0.15) 0%,
        rgba(26, 75, 142, 0.20) 50%,
        rgba(44, 62, 80, 0.25) 100%
    );
}

/* ============================================
   BOTTONI UTILITY - Stile Brand Unificato
   ============================================ */

a.btn,
a[class*="btn-"] {
    text-decoration: none !important;
}

/* Bottone base rosso → blu hover */
.btn-kleos {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
    transition: all var(--transition-fast);
}

.btn-kleos:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(196, 30, 58, 0.6);
}

/* Variante circolare (per icone) */
.btn-kleos-circle {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Variante pillola (per testo) */
.btn-kleos-pill {
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    white-space: nowrap;
}

/* Hover con scala invece di translateY (per cerchi) */
.btn-kleos-circle:hover {
    transform: scale(1.1);
}

/* ============================================
   RESET E BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   HERO SECTION - FULL SCREEN
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Immagine hero background */
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero); /* Gradient attenuato */
}

/* ============================================
   NAVBAR
   ============================================ */

.kleos-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    z-index: 998;
    transition: all var(--transition-normal);
}

.kleos-navbar.scrolled {
    background: transparent; /* Nessuna fascia nera */
    backdrop-filter: none;
    padding: var(--spacing-sm) var(--spacing-md);
    box-shadow: none; /* Rimuovi ombra */
    z-index: 1005;
}

/* Container centrato inizialmente, poi sinistra dopo scroll */
.kleos-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* Centrato inizialmente */
    align-items: center; /* Allineamento verticale perfetto */
    gap: var(--spacing-lg);
    transition: all var(--transition-normal);
}

.kleos-navbar.scrolled .kleos-nav-container {
    justify-content: space-between; /* Logo sinistra, hamburger destra */
}

/* Logo - display flex per centratura perfetta */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
}

.logo img {
    height: 90px;
    transition: all var(--transition-normal);
    display: block; /* Rimuove spazi extra sotto immagine */
}

.kleos-navbar.scrolled .logo img {
    height: 70px;
}

.kleos-navbar.scrolled .logo {
    margin-right: auto;
    transform: translateX(-150px); /* Sposta 150px a sinistra */
}

/* Menu desktop - visibile solo quando NON scrolled */
.kleos-nav-menu {
    display: flex;
    align-items: center; /* Allineamento verticale dei link */
    gap: var(--spacing-md);
    list-style: none;
    margin: 0; /* Rimuovi margini default */
    padding: 0; /* Rimuovi padding default */
    transition: all var(--transition-normal);
}

.kleos-navbar.scrolled .kleos-nav-menu {
    display: none; /* Nasconde menu dopo scroll */
}

.kleos-nav-link {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: var(--spacing-xs) var(--spacing-sm);
    transition: all var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.kleos-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width var(--transition-normal);
}

.kleos-nav-link:hover::after,
.kleos-nav-link.active::after {
    width: 80%;
}

/* Hamburger Menu - visibile solo dopo scroll */
.hamburger {
    display: none; /* Nascosto inizialmente */
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    transition: all var(--transition-fast);
    z-index: 1001; /* Sopra sidebar */
}

.kleos-navbar.scrolled .hamburger {
    display: flex; /* Appare dopo scroll */
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: all 0.4s ease-in-out; /* Transizione più fluida */
}

/* Animazione X quando aperto */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* SIDEBAR MENU - Si apre da DESTRA */
.kleos-navbar.scrolled .kleos-nav-menu {
    position: fixed;
    top: 0;
    right: -400px; /* Nascosta fuori schermo a destra */
    width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.98), rgba(26, 75, 142, 0.98));
    backdrop-filter: blur(20px);
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    transition: right 0.5s ease-in-out; /* Transizione più fluida */
    z-index: 10; /* Relativo alla navbar (che ha z-index 1005) */
    pointer-events: none; /* Disabilita quando chiusa */
}

/* Sidebar aperta */
.kleos-navbar.scrolled .kleos-nav-menu.active {
    right: 0; /* Scivola dentro */
    pointer-events: auto; /* Abilita quando aperta */
}

/* Stile link in sidebar */
.kleos-navbar.scrolled .kleos-nav-menu .kleos-nav-link {
    font-size: 1.3rem;
    padding: var(--spacing-sm) var(--spacing-md);
    width: 100%;
    text-align: center;
    border-radius: 10px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

/* Animazione staggered dei link quando sidebar si apre */
.kleos-navbar.scrolled .kleos-nav-menu.active .kleos-nav-link {
    opacity: 1;
    transform: translateX(0);
}

.kleos-navbar.scrolled .kleos-nav-menu.active .kleos-nav-link:nth-child(1) {
    transition-delay: 0.1s;
}

.kleos-navbar.scrolled .kleos-nav-menu.active .kleos-nav-link:nth-child(2) {
    transition-delay: 0.15s;
}

.kleos-navbar.scrolled .kleos-nav-menu.active .kleos-nav-link:nth-child(3) {
    transition-delay: 0.2s;
}

.kleos-navbar.scrolled .kleos-nav-menu.active .kleos-nav-link:nth-child(4) {
    transition-delay: 0.25s;
}

.kleos-navbar.scrolled .kleos-nav-menu.active .kleos-nav-link:nth-child(5) {
    transition-delay: 0.3s;
}

.kleos-navbar.scrolled .kleos-nav-menu .kleos-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.kleos-navbar.scrolled .kleos-nav-menu .kleos-nav-link::after {
    display: none; /* Rimuovi underline in sidebar */
}

/* Overlay scuro quando sidebar aperta */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    z-index: 1004; /* Sotto navbar ma sopra contenuto */
    pointer-events: none; /* Non blocca quando invisibile */
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: none; /* Non blocca quando invisibile */
}

/* ============================================
   NAV ACTIONS - Bottoni top right
   ============================================ */
.kleos-nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all var(--transition-normal);
}

.partner-btn-nav {
    padding: 10px 24px;
    font-size: 0.85rem;
    /* Stile ereditato da .btn-kleos e .btn-kleos-pill */
}

/* Area Clienti */
.area-clienti-nav {
    width: 45px;
    height: 45px;
    background: var(--white);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.area-clienti-nav:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

/* DOPO SCROLL - Bottoni diventano fixed top-right */
.kleos-navbar.scrolled .kleos-nav-actions {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 1003; /* Sopra tutto */
}

.kleos-navbar.scrolled .partner-btn-nav {
    font-size: 0.8rem;
    padding: 8px 20px;
}

.kleos-navbar.scrolled .area-clienti-nav {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
}

/* ============================================
   HERO CONTENT
   ============================================ */
.hero-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 var(--spacing-md);
    margin-top: 80px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    color: var(--primary-red);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--white);
    max-width: 700px;
    margin-bottom: var(--spacing-lg);
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn-general {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(196, 30, 58, 0.6);
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: var(--white);
    animation: bounce 2s infinite;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Nasconde scroll indicator quando si scrolla */
.scroll-indicator.hidden {
    opacity: 0;
    visibility: hidden;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 25px;
    }
}

.scroll-indicator p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   SOCIAL FIXED (Centro verticale SINISTRA)
   ============================================ */
.social-fixed {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.social-icon {
    width: 45px;
    height: 45px;
    background: var(--white);
    color: var(--dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-icon:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

/* ============================================
   CHAT FIXED
   ============================================ */
   
.chat-fixed {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999;
    width: 65px;
    height: 65px;
    font-size: 1.8rem;
    /* Stile ereditato da .btn-kleos e .btn-kleos-circle */
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-red);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: bold;
    min-width: 22px;
    height: 22px;
    display: none; /* Nascosto di default */
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite; /* Animazione pulse per attirare attenzione */
}

/* Mostra badge quando ci sono messaggi */
.chat-badge.visible {
    display: flex;
}

/* Animazione pulse per badge */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* ============================================
   SCROLL TO TOP BUTTON (Bottom Left)
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 999;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100px);
    /* Stile ereditato da .btn-kleos e .btn-kleos-circle */
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: dropDown 0.5s ease-out;
}

/* Hover specifico per scroll-top (translateY invece di scale) */
.scroll-top:hover {
    transform: translateY(-5px) !important;
}

/* Animazione caduta dall'alto */
@keyframes dropDown {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    60% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================================
   SEZIONI GENERALI
   ============================================ */
.section {
    padding: var(--spacing-lg) 0;
    position: relative;
}

/* Classi utility per gradient sulle sezioni */
.section-gradient-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-section-light);
    pointer-events: none;
    z-index: 0;
}

.section-gradient-medium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-section-medium);
    pointer-events: none;
    z-index: 0;
}

/* Container nelle sezioni con gradient */
.section-gradient-light .container,
.section-gradient-medium .container,
.section-gradient-light .section-header,
.section-gradient-medium .section-header {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: var(--primary-red);
    animation: lineBreath 5s ease-in-out infinite; /* ← Animazione continua */
    transform-origin: center; /* ← Cresce dal centro */
}

/* Animazione linea titolo - respiro */
@keyframes lineBreath {
    0%, 100% {
        transform: translateX(-50%) scaleX(1); /* Dimensione normale */
    }
    50% {
        transform: translateX(-50%) scaleX(3); /* Si allunga x3 */
    }
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: var(--spacing-sm) auto 0;
}

/* ============================================
   COME LAVORIAMO - FEATURES GRID
   ============================================ */
.come-lavoriamo {
    background: var(--light-gray);
    position: relative;
    overflow: hidden; /* Importante per contenere ::before */
}

/* Overlay gradient sulla sezione */
.come-lavoriamo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-section-light);
    pointer-events: none;
    z-index: 1;
}



/* ============================================
   CHAT POPUP
   ============================================ */
.chat-popup {
    position: fixed;
    bottom: 120px;
    right: 40px;
    width: 380px;
    max-height: 550px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 998;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-popup.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.98), rgba(26, 75, 142, 0.98));
    color: var(--white);
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.chat-close:hover {
    transform: rotate(90deg);
}

.chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    padding: var(--spacing-md);
    overflow-y: auto;
    max-height: 400px;
}

.message {
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 15px;
    max-width: 80%;
    line-height: 1.5;
}

.bot-message {
    background: var(--light-gray);
    color: var(--dark-gray);
    margin-right: auto;
}

.user-message {
    background: var(--primary-red);
    color: var(--white);
    margin-left: auto;
}

.chat-input-container {
    display: flex;
    padding: var(--spacing-md);
    border-top: 1px solid #eee;
}

.chat-input {
    flex: 1;
    padding: var(--spacing-sm);
    border: 1px solid #ddd;
    border-radius: 25px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}

.chat-send {
    margin-left: var(--spacing-sm);
    width: 45px;
    height: 45px;
    /* Stile ereditato da .btn-kleos e .btn-kleos-circle */
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet e Mobile */
@media (max-width: 768px) {
    /* Hamburger sempre visibile su mobile */
    .hamburger {
        display: flex !important;
    }
    
    .kleos-navbar.scrolled .hamburger {
        display: flex !important;
    }
    
    /* Container sempre space-between su mobile */
    .kleos-nav-container {
        justify-content: space-between !important;
    }
    
    /* Menu nascosto di default su mobile */
    .kleos-nav-menu {
        display: none;
    }
    
    /* Sidebar su mobile - stessa logica con transizione fluida */
    .kleos-nav-menu.active {
        position: fixed;
        top: 0;
        right: 0 !important;
        width: 280px !important;
        height: 100vh;
        background: linear-gradient(135deg, rgba(196, 30, 58, 0.98), rgba(26, 75, 142, 0.98));
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-md);
        padding: var(--spacing-lg);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        animation: slideInRight 0.5s ease-in-out; /* Animazione entrata */
    }

    .kleos-nav-link {
        font-size: 1.2rem !important;
        width: 100%;
        text-align: center;
    }
    
    /* Animazione staggered anche su mobile */
    .kleos-nav-menu.active .kleos-nav-link {
        opacity: 0;
        animation: fadeInSlide 0.3s ease-in-out forwards;
    }

    .kleos-nav-menu.active .kleos-nav-link:nth-child(1) {
        animation-delay: 0.1s;
    }

    .kleos-nav-menu.active .kleos-nav-link:nth-child(2) {
        animation-delay: 0.15s;
    }

    .kleos-nav-menu.active .kleos-nav-link:nth-child(3) {
        animation-delay: 0.2s;
    }

    .kleos-nav-menu.active .kleos-nav-link:nth-child(4) {
        animation-delay: 0.25s;
    }

    .kleos-nav-menu.active .kleos-nav-link:nth-child(5) {
        animation-delay: 0.3s;
    }
}

/* Animazioni keyframes */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Tablet */
@media (max-width: 768px) {
    .social-fixed {
        left: 20px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .scroll-top {
        left: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .chat-fixed {
        right: 20px;
        bottom: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .chat-popup {
        right: 20px;
        bottom: 90px;
        width: calc(100vw - 40px);
        max-width: 350px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonne su tablet */
        gap: var(--spacing-sm);
    }
    
    .feature-card {
        padding: var(--spacing-sm);
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-text {
        font-size: 0.9rem;
    }

    /* Nav actions responsive */
    .kleos-nav-actions {
        gap: var(--spacing-xs);
    }
    
    .partner-btn-nav {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
    
    .area-clienti-nav {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .kleos-navbar.scrolled .kleos-nav-actions {
        top: 20px;
        right: 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    .hero-content {
        padding: 0 var(--spacing-sm);
    }
    
    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
    
    /* Social icons restano visibili ma più piccoli */
    .social-fixed {
        left: 15px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Scroll top più piccolo */
    .scroll-top {
        left: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Chat più piccola */
    .chat-fixed {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    /* Nav actions mobile */
    .partner-btn-nav {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
    
    .area-clienti-nav {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .kleos-navbar.scrolled .kleos-nav-actions {
        top: 15px;
        right: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr; /* 1 colonna su mobile */
    }
    
    .feature-card {
        padding: var(--spacing-sm);
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .feature-title {
        font-size: 1rem;
    }
    
    .feature-text {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* ============================================
   METODO KLEOS - Card Compatte Centrate
   ============================================ */
.metodo-kleos {
    background: var(--white);
    position: relative;
}

.metodo-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.metodo-step {
    background: var(--light-gray);
    border-radius: 15px;
    padding: var(--spacing-md); /* Ridotto */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrato */
    text-align: center; /* Testo centrato */
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    height: 100%; /* Altezza uniforme */
}

.metodo-step:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: var(--white);
}

/* Gradient border effect on hover - sinistro */
.metodo-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-red), var(--secondary-blue));
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.metodo-step:hover::before {
    transform: scaleY(1);
}

/* Icona centrata e ridotta */
.metodo-step-icon {
    flex-shrink: 0;
    width: 70px; /* Ridotto da 100px */
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem; /* Ridotto da 2.5rem */
    margin: 0 auto var(--spacing-sm); /* Centrato e margin ridotto */
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.3);
}

.metodo-step:hover .metodo-step-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 30px rgba(196, 30, 58, 0.5);
}

/* Contenuto centrato */

.metodo-step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.metodo-step-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.metodo-step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
}

.metodo-step-title {
    font-family: var(--font-heading);
    font-size: 1.3rem; /* Ridotto da 1.8rem */
    font-weight: 700;
    color: var(--dark-gray);
    line-height: 1.2;
    margin: 0 0 var(--spacing-xs) 0; /* Ridotto */
    text-align: center;
}

.metodo-step-text {
    color: #666;
    line-height: 1.7; /* Ridotto */
    font-size: 0.95rem; /* Ridotto da 1.05rem */
    margin: 0 0 var(--spacing-sm) 0; /* Ridotto */
    text-align: center;
}

.metodo-step-text strong {
    color: var(--primary-red);
    font-weight: 600;
}

/* Bottone "Scopri di più" */
.metodo-step-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    margin-top: auto; /* Spinge il bottone in basso */
    font-size: 0.85rem;
    text-decoration: none;
    /* Stile ereditato da .btn-kleos e .btn-kleos-pill */
}

.metodo-step-btn i {
    font-size: 0.85rem;
    transition: transform var(--transition-fast);
}

.metodo-step-btn:hover i {
    transform: translateX(5px);
}

/* CTA finale */
.metodo-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.metodo-cta-note {
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* ============================================
   RESPONSIVE - METODO KLEOS
   ============================================ */

@media (max-width: 768px) {
    .metodo-step {
        flex-direction: column;
        align-items: center; /* Centra tutto */
        text-align: center;
        padding: var(--spacing-md);
    }
    
    .metodo-step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto var(--spacing-sm);
    }
    
    .metodo-step-content {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centra contenuto */
    }
    
    .metodo-step-header {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-xs);
    }
    
    .metodo-step-number {
        font-size: 2rem;
    }
    
    .metodo-step-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .metodo-step-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .metodo-step-btn {
        align-self: center; /* Centra bottone */
    }
    
    .metodo-step:hover {
        transform: translateY(-5px);
    }
}

/* ============================================
   ECOSISTEMA KLEOS
   ============================================ */
.ecosistema-kleos {
    position: relative;
    overflow: hidden;
}

.ecosistema-intro {
    max-width: 800px;
    margin: var(--spacing-sm) auto 0;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.4;
}

/* ============================================
   DIAGRAMMA ECOSISTEMA - POSIZIONAMENTO PERFETTO
   ============================================ */
.ecosistema-diagram {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 600px;
    margin: var(--spacing-sm) auto;
}

/* Centro - Logo KLEOS */
.ecosistema-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.kleos-logo-circle {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.4);
    animation: pulse-center 3s ease-in-out infinite;
}

.kleos-logo-circle span {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
}

@keyframes pulse-center {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 30px rgba(196, 30, 58, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(196, 30, 58, 0.6);
    }
}

/* Nodi professionisti - POSIZIONAMENTO CIRCOLARE PERFETTO */
.professionista-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.node-icon {
    width: 90px;
    height: 90px;
    background: var(--white);
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-red);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-normal);
}

.professionista-node:hover .node-icon {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-color: var(--secondary-blue);
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(196, 30, 58, 0.4);
}

.node-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-align: center;
    white-space: nowrap;
}

/* Posizionamento MATEMATICO in cerchio perfetto (raggio 240px dal centro) */
/* Formula: x = centerX + radius * cos(angle), y = centerY + radius * sin(angle) */

/* Architetti - Top (0°) */
.node-1 { 
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
}

/* Muratori - Top Right (60°) */
.node-2 { 
    top: 120px;
    right: 60px;
}

/* Impiantisti - Bottom Right (120°) */
.node-3 { 
    bottom: 120px;
    right: 50px;
}

/* Designer - Bottom (180°) */
.node-4 { 
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
}

/* Serramentisti - Bottom Left (240°) */
.node-5 { 
    bottom: 120px;
    left: 50px;
}

/* Idraulici - Top Left (300°) */
.node-6 { 
    top: 120px;
    left: 60px;
}

/* Linee connessione SVG - Cerchio tratteggiato */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-lines circle {
    stroke: rgba(196, 30, 58, 0.3);
    stroke-width: 2;
    fill: none;
}

/* Tagline sotto diagramma */
.ecosistema-tagline {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

/* ============================================
   3 FEATURE BLOCKS
   ============================================ */
.ecosistema-features {
    margin-bottom: var(--spacing-md);
}

.ecosistema-feature {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.ecosistema-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.ecosistema-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--spacing-md);
    transition: all var(--transition-normal);
}

.ecosistema-feature:hover .ecosistema-feature-icon {
    transform: rotate(360deg) scale(1.1);
}

.ecosistema-feature-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.ecosistema-feature-text {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* ============================================
   CTA FINALE
   ============================================ */
.ecosistema-cta {
    text-align: center;
    padding: var(--spacing-sm);
    border-radius: 20px;
}

.ecosistema-cta-text {
    font-size: 1.2rem;
    color: var(--dark-gray);
    /*margin-bottom: var(--spacing-md);*/
    font-weight: 600;
}

/* ============================================
   RESPONSIVE ECOSISTEMA
   ============================================ */
@media (max-width: 768px) {
    .ecosistema-diagram {
        height: 500px;
        max-width: 500px;
    }
    
    .kleos-logo-circle {
        width: 120px;
        height: 120px;
    }
    
    .kleos-logo-circle span {
        font-size: 1.5rem;
    }
    
    .node-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
    
    .node-label {
        font-size: 0.85rem;
    }
    
    /* Posizionamento ridotto per tablet */
    .node-1 { top: 50px; }
    .node-2 { top: 100px; right: 60px; }
    .node-3 { bottom: 100px; right: 60px; }
    .node-4 { bottom: 50px; }
    .node-5 { bottom: 100px; left: 60px; }
    .node-6 { top: 100px; left: 60px; }
}

@media (max-width: 480px) {
    .ecosistema-diagram {
        height: 400px;
        max-width: 380px;
    }
    
    .kleos-logo-circle {
        width: 100px;
        height: 100px;
    }
    
    .kleos-logo-circle span {
        font-size: 1.2rem;
    }
    
    .node-icon {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .node-label {
        font-size: 0.75rem;
    }
    
    /* Posizionamento mobile */
    .node-1 { top: 30px; }
    .node-2 { top: 80px; right: 40px; }
    .node-3 { bottom: 80px; right: 40px; }
    .node-4 { bottom: 30px; }
    .node-5 { bottom: 80px; left: 40px; }
    .node-6 { top: 80px; left: 40px; }
}


/* ============================================
   VANTAGGI KLEOS - SPLIT TITLE LEFT / LIST RIGHT
   ============================================ */
.vantaggi-kleos {
    background: var(--white);
    position: relative;
}

/* Split container: titolo sinistra, lista destra */
.vantaggi-split-title {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: var(--spacing-xl);
    align-items: center;
}

/* Colonna sinistra - Titolo */
.vantaggi-title-side {
    align-items: center;
    top: 120px; /* Sticky mentre scrolli */
}

.vantaggi-main-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--dark-gray);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

.vantaggi-main-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.3;
}

/* Colonna destra - Lista vantaggi */
.vantaggi-list-side {
    padding-left: var(--spacing-md);
}

.vantaggi-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vantaggio-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    align-items: flex-start;
}

.vantaggio-item:last-child {
    margin-bottom: 0;
}

/* Checkmark grande */
.vantaggio-check {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.vantaggio-check i {
    font-size: 1.5rem;
    color: var(--primary-red);
    transition: all var(--transition-normal);
}

.vantaggio-item:hover .vantaggio-check {
    background: var(--primary-red);
    transform: scale(1.1);
}

.vantaggio-item:hover .vantaggio-check i {
    color: var(--white);
}

/* Contenuto vantaggio */
.vantaggio-content {
    flex: 1;
}

.vantaggio-item-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.vantaggio-item-text {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* CTA finale */
.vantaggi-cta {
    text-align: center;
    padding: var(--spacing-md);
    border-radius: 20px;
    margin-top: var(--spacing-sm);
}

.vantaggi-cta-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   RESPONSIVE VANTAGGI SPLIT
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .vantaggi-split-title {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .vantaggi-title-side {
        position: relative;
        top: 0;
        text-align: center;
        margin-bottom: var(--spacing-md);
    }
    
    .vantaggi-list-side {
        padding-left: 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .vantaggi-main-title {
        font-size: 1.8rem;
    }
    
    .vantaggi-main-subtitle {
        font-size: 1rem;
    }
    
    .vantaggio-item {
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }
    
    .vantaggio-check {
        width: 40px;
        height: 40px;
    }
    
    .vantaggio-check i {
        font-size: 1.2rem;
    }
    
    .vantaggio-item-title {
        font-size: 1.2rem;
    }
    
    .vantaggio-item-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .vantaggi-cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .vantaggi-main-title {
        font-size: 1.5rem;
    }
    
    .vantaggi-main-subtitle {
        font-size: 0.95rem;
    }
    
    .vantaggio-check {
        width: 35px;
        height: 35px;
    }
    
    .vantaggio-check i {
        font-size: 1rem;
    }
    
    .vantaggio-item-title {
        font-size: 1.1rem;
    }
    
    .vantaggio-item-text {
        font-size: 0.9rem;
    }
}

/* ============================================
   CTA AI AGENT - SEZIONE CONVERSAZIONALE
   ============================================ */
.ai-cta-section {
    background: linear-gradient(135deg, 
        rgba(196, 30, 58, 0.95) 0%,
        rgba(26, 75, 142, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
    color: var(--white);
}

/* Pattern background animato */
.ai-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: patternMove 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes patternMove {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Split layout */
.ai-cta-split {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ============================================
   MOCKUP CHAT PREVIEW
   ============================================ */
.ai-chat-preview {
    position: relative;
}

.chat-window {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 400px;
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.chat-avatar {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-red);
}

.chat-info {
    display: flex;
    flex-direction: column;
}

.chat-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
}

.chat-status {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Chat Messages */
.chat-messages {
    padding: var(--spacing-md);
    background: #f5f5f5;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.chat-message {
    display: flex;
}

.chat-message.bot {
    justify-content: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    animation: messageAppear 0.3s ease-out;
}

@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.bot .message-bubble {
    background: var(--white);
    color: var(--dark-gray);
    border-bottom-left-radius: 4px;
}

.chat-message.user .message-bubble {
    background: var(--primary-red);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* AI Badge */
.ai-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: var(--white);
    color: var(--primary-red);
    padding: 8px 16px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================
   CTA CONTENT DESTRA
   ============================================ */
.ai-cta-content {
    color: var(--white);
}

.ai-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.ai-cta-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

/* Benefits list */
.ai-cta-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg) 0;
}

.ai-cta-benefits li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.ai-cta-benefits i {
    color: #4ade80;
    font-size: 1.2rem;
}

/* CTA Button */
.btn-ai-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 1.1rem;
    background: var(--white);
    color: var(--primary-red);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
}

.btn-ai-cta:hover {
    background: var(--white);
    color: var(--secondary-blue);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.btn-ai-cta i {
    transition: transform var(--transition-fast);
}

.btn-ai-cta:hover i {
    transform: translateX(5px);
}

.ai-cta-note {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    opacity: 0.85;
    font-style: italic;
}

/* ============================================
   RESPONSIVE AI CTA
   ============================================ */
@media (max-width: 992px) {
    .ai-cta-split {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .ai-chat-preview {
        order: 2;
        margin: 0 auto;
    }
    
    .ai-cta-content {
        order: 1;
        text-align: center;
    }
    
    .ai-cta-benefits {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .chat-window {
        max-width: 100%;
    }
    
    .chat-messages {
        min-height: 250px;
    }
    
    .ai-cta-title {
        font-size: 1.8rem;
    }
    
    .ai-cta-subtitle {
        font-size: 1rem;
    }
    
    .btn-ai-cta {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ai-cta-title {
        font-size: 1.5rem;
    }
    
    .message-bubble {
        font-size: 0.9rem;
        max-width: 85%;
    }
    
    .ai-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

/* ============================================
   BOTTONE FISSO AI CHAT
   ============================================ */
.ai-chat-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    width: 65px;
    height: 65px;
    font-size: 1.8rem;
    box-shadow: 0 6px 25px rgba(196, 30, 58, 0.4);
    /* Stile ereditato da btn-kleos */
}

.ai-chat-label {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--dark-gray);
    padding: 8px 16px;
    border-radius: 25px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.ai-chat-fixed:hover .ai-chat-label {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* ============================================
   SIDEBAR AI CHAT
   ============================================ */

/* Overlay scuro */
.ai-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.ai-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar container */
.ai-sidebar {
    position: fixed;
    top: 0;
    right: -850px; /* Nascosta fuori schermo */
    width: 850px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
}

.ai-sidebar.active {
    right: 0; /* Scivola dentro */
}

/* Header sidebar */
.ai-sidebar-header {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ai-sidebar-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.ai-sidebar-avatar {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ai-sidebar-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.ai-status {
    font-size: 0.85rem;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ai-sidebar-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.ai-sidebar-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Messages area */
.ai-sidebar-messages {
    flex: 1;
    padding: var(--spacing-md);
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Scrollbar custom */
.ai-sidebar-messages::-webkit-scrollbar {
    width: 6px;
}

.ai-sidebar-messages::-webkit-scrollbar-track {
    background: #e0e0e0;
}

.ai-sidebar-messages::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 3px;
}

/* Message */

/* Elementi nascosti inizialmente */
.ai-message.hidden,
.ai-quick-replies.hidden {
    display: none;
}

/* Cursore lampeggiante durante typing */
.ai-message-bubble.typing::after {
    content: '▋';
    animation: blink 0.7s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
.ai-message {
    display: flex;
    gap: var(--spacing-sm);
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-message.bot {
    align-self: flex-start;
}

.ai-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ai-message-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ai-message.user .ai-message-avatar {
    background: var(--dark-gray);
}

.ai-message-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 75%;
}

.ai-message-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.6;
    word-wrap: break-word;
}

.ai-message.bot .ai-message-bubble {
    background: var(--white);
    color: var(--dark-gray);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ai-message.user .ai-message-bubble {
    background: var(--primary-red);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.ai-message-time {
    font-size: 0.75rem;
    color: #999;
    padding: 0 8px;
}

/* Quick replies */
.ai-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--spacing-sm);
}

.ai-quick-reply {
    background: var(--white);
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    padding: 10px 16px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.ai-quick-reply:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

/* Input area */
.ai-sidebar-input {
    padding: var(--spacing-md);
    background: var(--white);
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.ai-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.ai-input:focus {
    border-color: var(--primary-red);
}

.ai-send-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Footer */
.ai-sidebar-footer {
    padding: var(--spacing-sm) var(--spacing-md);
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #666;
}

.ai-sidebar-footer i {
    color: var(--primary-red);
}

/* ============================================
   TYPING EFFECT - Cursore lampeggiante
   ============================================ */

.ai-message-bubble.typing::after {
    content: '▋';
    animation: blink 0.7s infinite;
    margin-left: 2px;
    color: inherit;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

/* Animazione fade in per quick replies */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-quick-replies {
    animation: fadeInUp 0.5s ease;
}

/* ============================================
   RESPONSIVE AI SIDEBAR
   ============================================ */


@media (max-width: 768px) {
    .ai-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .ai-chat-fixed {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .ai-chat-label {
        display: none; /* Nasconde label su mobile */
    }
}

@media (max-width: 480px) {
    .ai-sidebar-header {
        padding: var(--spacing-sm);
    }
    
    .ai-sidebar-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .ai-sidebar-info h3 {
        font-size: 1rem;
    }
    
    .ai-message-bubble {
        font-size: 0.9rem;
    }
}
/* ============================================
   FOOTER SPLIT DIAGONALE - VERSIONE COMPATTA
   ============================================ */
.footer-diagonal {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Container principale */
.footer-container {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 400px;
    position: relative;
}

/* ============================================
   SEZIONE SINISTRA - GRADIENT ROSSO-BLU
   ============================================ */
.footer-cta-side {
    background: linear-gradient(135deg, 
        var(--primary-red) 0%,
        var(--secondary-blue) 100%
    );
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

/* Pattern background animato */
.footer-cta-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: patternFloat 15s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.footer-cta-content {
    position: relative;
    z-index: 1;
    max-width: 450px;
    text-align: center;
    color: var(--white);
}

/* Brand Section */
.footer-brand {
    margin-bottom: var(--spacing-lg);
}

.footer-brand-logo {
    height: 70px;
    margin-bottom: var(--spacing-sm);
    filter: brightness(0) invert(1); /* Logo bianco */
}

.footer-brand-tagline {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.footer-brand-mission {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.95;
    color: var(--white);
}

/* Social Media */
.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.footer-social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.footer-social-icon:hover {
    background: var(--white);
    color: var(--primary-red);
    transform: translateY(-5px);
}

/* ============================================
   SEZIONE DESTRA - SFONDO BIANCO
   ============================================ */
.footer-info-side {
    background: var(--white);
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
}

.footer-info-content {
    width: 100%;
}

/* Links Grid - 3 Colonne */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.footer-column-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a,
.footer-links span {
    color: #666;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    text-decoration: none;
    line-height: 1.6;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-links i {
    color: var(--primary-red);
    font-size: 0.8rem;
    width: 14px;
    flex-shrink: 0;
}

/* ============================================
   BOTTOM BAR - DARK
   ============================================ */
.footer-bottom {
    background: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-sm) 0;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.85rem;
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.footer-legal a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-legal span {
    opacity: 0.5;
}

/* ============================================
   RESPONSIVE FOOTER
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .footer-cta-side {
        clip-path: none;
        min-height: 300px;
        padding: var(--spacing-md);
    }
    
    .footer-brand-logo {
        height: 60px;
    }
    
    .footer-brand-tagline {
        font-size: 1.2rem;
    }
    
    .footer-brand-mission {
        font-size: 0.9rem;
    }
    
    .footer-info-side {
        padding: var(--spacing-md);
    }
    
    .footer-links-grid {
        padding-left: 0;
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-cta-side {
        min-height: 280px;
    }
    
    .footer-brand-logo {
        height: 50px;
    }
    
    .footer-brand-tagline {
        font-size: 1.1rem;
    }
    
    .footer-brand-mission {
        font-size: 0.85rem;
    }
    
    .footer-social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-links li {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-brand-logo {
        height: 45px;
    }
    
    .footer-brand-tagline {
        font-size: 1rem;
    }
    
    .footer-brand-mission {
        font-size: 0.8rem;
    }
    
    .footer-column-title {
        font-size: 0.85rem;
    }
    
    .footer-links a,
    .footer-links span {
        font-size: 0.85rem;
    }
    
    .footer-copyright,
    .footer-legal {
        font-size: 0.8rem;
    }
}
/* ============================================
   PAGINA METODO KLEOS
   ============================================ */

/* ============================================
   HERO METODO
   ============================================ */
.metodo-hero {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: 150px 0 100px;
    position: relative;
    color: var(--white);
    text-align: center;
}

.metodo-section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.metodo-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 87%;
    transform: translateX(50%);
    width: 50px;
    height: 4px;
    background: var(--primary-red);
    animation: lineBreath 5s ease-in-out infinite; /* ← Animazione continua */
    transform-origin: left; /* ← Cresce dal centro */
}

/* Animazione linea titolo - respiro */
@keyframes lineBreath {
    0%, 100% {
        transform: translateX(-50%) scaleX(1); /* Dimensione normale */
    }
    50% {
        transform: translateX(-50%) scaleX(3); /* Si allunga x3 */
    }
}

.metodo-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.metodo-hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
}

.metodo-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.metodo-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Wave divider */
.metodo-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.metodo-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* ============================================
   INTRO SECTION
   ============================================ */
.metodo-intro {
    background: var(--white);
}

.metodo-intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: var(--spacing-md);
}

.metodo-intro-text strong {
    color: var(--primary-red);
    font-weight: 600;
}

/* Stats */
.metodo-intro-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.metodo-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.metodo-stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
}

.metodo-stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
}

/* Comparison cards */
.metodo-intro-comparison {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.comparison-card {
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comparison-card.traditional {
    background: #f5f5f5;
    border-left: 4px solid #999;
}

.comparison-card.kleos {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.05), rgba(26, 75, 142, 0.05));
    border-left: 4px solid var(--primary-red);
}

.comparison-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-card.traditional h3 {
    color: #666;
}

.comparison-card.traditional h3 i {
    color: #d32f2f;
}

.comparison-card.kleos h3 {
    color: var(--primary-red);
}

.comparison-card.kleos h3 i {
    color: #4caf50;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-card ul li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #555;
    padding-left: 25px;
    position: relative;
}

.comparison-card.traditional ul li::before {
    content: "−";
    position: absolute;
    left: 0;
    color: #d32f2f;
    font-weight: bold;
}

.comparison-card.kleos ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

/* ============================================
   TIMELINE 5 FASI
   ============================================ */
.metodo-fasi {
    background: #f8f9fa;
}

.metodo-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Linea centrale */
.metodo-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-red), var(--secondary-blue));
}

.timeline-item {
    position: relative;
    padding-left: 120px;
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Marker numero */
.timeline-marker {
    position: absolute;
    left: 12px;
    top: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.3);
    z-index: 2;
}

.timeline-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

/* Content */
.timeline-content {
    background: var(--white);
    border-radius: 20px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: var(--spacing-lg);
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.timeline-text {
    flex: 1;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.timeline-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: var(--spacing-md);
}

/* Details list */
.timeline-details {
    background: #f8f9fa;
    padding: var(--spacing-md);
    border-radius: 10px;
    margin-bottom: var(--spacing-md);
}

.timeline-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: #555;
}

.timeline-detail-item i {
    color: #4caf50;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Duration */
.timeline-duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-red);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ============================================
   TECNOLOGIA SECTION
   ============================================ */
.metodo-tech {
    background: var(--white);
}

.metodo-tech-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: var(--spacing-lg);
}

.metodo-tech-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.metodo-tech-features li {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: #f8f9fa;
    border-radius: 10px;
    transition: all var(--transition-fast);
}

.metodo-tech-features li:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.metodo-tech-features i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.metodo-tech-features strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 4px;
}

.metodo-tech-features span {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

/* Mockup placeholder */
.metodo-tech-mockup {
    position: relative;
}

.mockup-placeholder {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(26, 75, 142, 0.1));
    border-radius: 20px;
    padding: var(--spacing-xl);
    text-align: center;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(196, 30, 58, 0.3);
}

.mockup-placeholder i {
    font-size: 5rem;
    color: var(--primary-red);
    opacity: 0.3;
    margin-bottom: var(--spacing-md);
}

.mockup-placeholder p {
    color: #666;
    font-size: 1.1rem;
}

/* ============================================
   GARANZIE SECTION
   ============================================ */
.metodo-garanzie {
    background: #f8f9fa;
}

.garanzie-grid {
    margin-top: var(--spacing-lg);
}

.garanzia-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
}

.garanzia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.garanzia-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--spacing-md);
}

.garanzia-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.garanzia-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
}

/* ============================================
   CTA FINALE
   ============================================ */
.metodo-cta-final {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: var(--spacing-lg) 0;
    text-align: center;
    color: var(--white);
}

.metodo-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.metodo-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.metodo-cta-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.btn-kleos-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.metodo-cta-note {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    opacity: 0.85;
    color: var(--white);
}

/* ============================================
   RESPONSIVE METODO PAGE
   ============================================ */
@media (max-width: 992px) {
    .metodo-timeline::before {
        left: 30px;
    }
    
    .timeline-marker {
        width: 60px;
        height: 60px;
    }
    
    .timeline-number {
        font-size: 1.8rem;
    }
    
    .timeline-item {
        padding-left: 100px;
    }
    
    .timeline-content {
        flex-direction: column;
    }
    
    .timeline-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .metodo-intro-stats {
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .metodo-hero {
        padding: 120px 0 80px;
    }
    
    .metodo-intro-comparison {
        margin-top: var(--spacing-lg);
    }
    
    .metodo-timeline::before {
        display: none;
    }
    
    .timeline-marker {
        position: relative;
        left: auto;
        margin: 0 auto var(--spacing-md);
    }
    
    .timeline-item {
        padding-left: 0;
        text-align: center;
    }
    
    .timeline-content {
        align-items: center;
    }
    
    .timeline-title {
        font-size: 1.5rem;
    }
    
    .mockup-placeholder {
        min-height: 300px;
    }
}

/* ============================================
   PAGINA VANTAGGI KLEOS
   ============================================ */

/* ============================================
   HERO VANTAGGI
   ============================================ */
.vantaggi-hero {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: 150px 0 100px;
    position: relative;
    color: var(--white);
    text-align: center;
}

.vantaggi-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.vantaggi-hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
}

.vantaggi-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.vantaggi-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Wave divider */
.vantaggi-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.vantaggi-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* ============================================
   PROBLEMA VS SOLUZIONE SECTION
   ============================================ */
.vantaggi-problema {
    background: var(--white);
}

.problema-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.problema-card {
    background: #fff;
    padding: var(--spacing-lg);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.problema-card.problema {
    background: #f5f5f5;
    border-left: 4px solid #d32f2f;
}

.soluzione-card {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.05), rgba(26, 75, 142, 0.05));
    padding: var(--spacing-lg);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #4caf50;
}

.problema-icon,
.soluzione-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.problema-icon {
    background: #ffebee;
    color: #d32f2f;
}

.soluzione-icon {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
}

.problema-title,
.soluzione-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.problema-title {
    color: #d32f2f;
}

.soluzione-title {
    color: var(--primary-red);
}

.problema-text,
.soluzione-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

.problema-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-red);
    font-weight: bold;
}

/* ============================================
   VANTAGGI PRINCIPALI ESPANSI
   ============================================ */
.vantaggi-principali {
    background: #f8f9fa;
}

.vantaggi-expanded {
    max-width: 1100px;
    margin: 0 auto;
}

.vantaggio-expanded-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--spacing-lg);
    align-items: flex-start;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.vantaggio-expanded-item.reverse {
    grid-template-columns: 1fr 120px;
}

.vantaggio-expanded-item.reverse .vantaggio-expanded-icon {
    order: 2;
}

.vantaggio-expanded-item.reverse .vantaggio-expanded-content {
    order: 1;
}

.vantaggio-expanded-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
}

.vantaggio-expanded-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.vantaggio-expanded-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: var(--spacing-md);
}

.vantaggio-expanded-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.vantaggio-expanded-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #555;
}

.vantaggio-expanded-list i {
    color: #4caf50;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ============================================
   TABELLA CONFRONTO
   ============================================ */
.vantaggi-confronto {
    background: var(--white);
}

.confronto-table-wrapper {
    overflow-x: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.confronto-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.confronto-table thead {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
}

.confronto-table th {
    padding: var(--spacing-md);
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.confronto-table th i {
    margin-right: 8px;
}

.confronto-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background var(--transition-fast);
}

.confronto-table tbody tr:hover {
    background: #f8f9fa;
}

.confronto-table td {
    padding: var(--spacing-md);
    font-size: 0.95rem;
}

.aspect-col {
    font-weight: 600;
    color: var(--dark-gray);
    width: 200px;
}

.traditional-col {
    background: #fff5f5;
    color: #666;
}

.kleos-col {
    background: #f1f8f4;
    color: #555;
    font-weight: 500;
}

/* ============================================
   COSA RISPARMI SECTION
   ============================================ */
.vantaggi-risparmi {
    background: #f8f9fa;
}

.risparmi-grid {
    margin-bottom: var(--spacing-xl);
}

.risparmio-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all var(--transition-normal);
}

.risparmio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.risparmio-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--spacing-md);
}

.risparmio-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 8px;
}

.risparmio-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.risparmio-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
}

/* Testimonianza inline */
.testimonianza-inline {
    max-width: 900px;
    margin: var(--spacing-xl) auto 0;
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-red);
}

.testimonianza-content i {
    font-size: 2rem;
    color: var(--primary-red);
    opacity: 0.3;
    margin-bottom: var(--spacing-sm);
}

.testimonianza-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.testimonianza-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonianza-author strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--dark-gray);
}

.testimonianza-author span {
    font-size: 0.9rem;
    color: #999;
}

/* ============================================
   CTA FINALE
   ============================================ */
.vantaggi-cta-final {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: var(--white);
}

.vantaggi-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.vantaggi-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.vantaggi-cta-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.btn-kleos-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.vantaggi-cta-note {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ============================================
   RESPONSIVE VANTAGGI PAGE
   ============================================ */
@media (max-width: 992px) {
    .problema-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .problema-arrow {
        transform: rotate(90deg);
        margin: var(--spacing-sm) 0;
    }
    
    .vantaggio-expanded-item,
    .vantaggio-expanded-item.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .vantaggio-expanded-icon {
        margin: 0 auto var(--spacing-md);
        order: 1 !important;
    }
    
    .vantaggio-expanded-content {
        order: 2 !important;
    }
    
    .vantaggio-expanded-list {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .vantaggi-hero {
        padding: 120px 0 80px;
    }
    
    .confronto-table {
        font-size: 0.85rem;
    }
    
    .confronto-table th,
    .confronto-table td {
        padding: var(--spacing-sm);
    }
    
    .aspect-col {
        width: auto;
    }
    
    .risparmio-value {
        font-size: 2rem;
    }
    
    .testimonianza-inline {
        padding: var(--spacing-md);
    }
    
    .testimonianza-text {
        font-size: 1rem;
    }
}

/* ============================================
   PAGINA SERVIZI CLIENTI
   ============================================ */

/* ============================================
   HERO SERVIZI
   ============================================ */
.servizi-hero {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: 150px 0 120px;
    position: relative;
    color: var(--white);
    text-align: center;
}

.servizi-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.servizi-hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
}

.servizi-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.servizi-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

/* Wave divider */
.servizi-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.servizi-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* ============================================
   SERVIZI GRID
   ============================================ */
.servizi-main {
    background: var(--white);
}

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.servizio-card {
    background: var(--white);
    border-radius: 20px;
    padding: var(--spacing-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.servizio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-red);
}

.servizio-card.featured {
    border: 2px solid var(--primary-red);
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.02), rgba(26, 75, 142, 0.02));
}

.servizio-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.servizio-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.servizio-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.servizio-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: var(--spacing-md);
}

.servizio-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg) 0;
    flex: 1;
}

.servizio-includes li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.servizio-includes li:last-child {
    border-bottom: none;
}

.servizio-includes i {
    color: #4caf50;
    margin-top: 2px;
    flex-shrink: 0;
}

.servizio-price {
    background: #f8f9fa;
    padding: var(--spacing-md);
    border-radius: 10px;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.servizio-price-label {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 4px;
}

.servizio-price-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 4px;
}

.servizio-price-note {
    display: block;
    font-size: 0.8rem;
    color: #999;
}

.servizio-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: var(--spacing-md);
}

.servizio-duration i {
    color: var(--primary-red);
}

.servizio-cta {
    width: 100%;
}

/* ============================================
   COME FUNZIONA PROCESS
   ============================================ */
.servizi-come-funziona {
    background: #f8f9fa;
}

.servizi-process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto var(--spacing-sm);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.process-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.process-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-red);
    font-weight: bold;
}

/* ============================================
   VANTAGGI SERVIZI
   ============================================ */
.servizi-vantaggi {
    background: var(--white);
}

.servizi-vantaggio {
    text-align: center;
    padding: var(--spacing-md);
    background: #f8f9fa;
    border-radius: 15px;
    height: 100%;
    transition: all var(--transition-fast);
}

.servizi-vantaggio:hover {
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.servizi-vantaggio i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: var(--spacing-sm);
}

.servizi-vantaggio h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.servizi-vantaggio p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.servizi-faq {
    background: #f8f9fa;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0;
}

.faq-question i {
    color: var(--primary-red);
    font-size: 1rem;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-md);
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* ============================================
   CTA FINALE SERVIZI
   ============================================ */
.servizi-cta-final {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: var(--white);
}

.servizi-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.servizi-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.servizi-cta-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.servizi-cta-note {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ============================================
   RESPONSIVE SERVIZI PAGE
   ============================================ */
@media (max-width: 992px) {
    .servizi-grid {
        grid-template-columns: 1fr;
    }
    
    .servizi-process {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .servizi-hero {
        padding: 120px 0 80px;
    }
    
    .servizio-card {
        padding: var(--spacing-md);
    }
    
    .servizio-price-value {
        font-size: 1.6rem;
    }
    
    .vantaggio-expanded-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PAGINA PARTNER
   ============================================ */

/* ============================================
   HERO PARTNER
   ============================================ */
.partner-hero {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-red));
    padding: 150px 0 120px;
    position: relative;
    color: var(--white);
    text-align: center;
}

.partner-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.partner-hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
}

.partner-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.partner-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: var(--spacing-lg);
}

.partner-hero-ctas {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-kleos-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-kleos-outline-white:hover {
    background: var(--white);
    color: var(--primary-red);
}

/* Wave divider */
.partner-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.partner-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* ============================================
   CATEGORIE PROFESSIONALI
   ============================================ */
.partner-target {
    background: var(--white);
}

.partner-categories {
    margin-top: var(--spacing-md);
}

.partner-category-card {
    background: var(--white);
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    padding: var(--spacing-md);
    height: 100%;
    transition: all var(--transition-normal);
}

.partner-category-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.partner-category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.partner-category-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.partner-category-title-sub {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.partner-category-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: var(--spacing-md);
}

.partner-category-needs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partner-category-needs li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: #555;
}

.partner-category-needs i {
    color: #4caf50;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ============================================
   VANTAGGI PARTNERSHIP
   ============================================ */
.partner-vantaggi {
    background: #f8f9fa;
}

.partner-benefits {
    max-width: 1100px;
    margin: 0 auto;
}

.partner-benefit-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--spacing-md);
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.partner-benefit-item.reverse {
    grid-template-columns: 1fr 120px;
}

.partner-benefit-item.reverse .partner-benefit-icon {
    order: 2;
}

.partner-benefit-item.reverse .partner-benefit-content {
    order: 1;
}

.partner-benefit-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
}

.partner-benefit-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.partner-benefit-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: var(--spacing-sm);
}

.partner-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partner-benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.95rem;
    color: #555;
}

.partner-benefit-list i {
    color: #4caf50;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ============================================
   PROCESSO PARTNERSHIP
   ============================================ */
.partner-processo {
    background: var(--white);
}

.partner-process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.partner-process-step {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid #f0f0f0;
}

.partner-process-step:last-child {
    border-bottom: none;
}

.partner-process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.partner-process-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.partner-process-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
}

/* ============================================
   REQUISITI
   ============================================ */
.partner-requisiti {
    background: #f8f9fa;
}

.requisito-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 20px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.requisito-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.requisito-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.requisito-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requisito-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    padding-left: 25px;
    position: relative;
}

.requisito-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

/* ============================================
   TESTIMONIANZE PARTNER
   ============================================ */
.partner-testimonianze {
    background: var(--white);
}

.partner-testimonial-card {
    background: #f8f9fa;
    padding: var(--spacing-xl);
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.partner-testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.partner-testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.partner-testimonial-author strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 4px;
}

.partner-testimonial-author span {
    font-size: 0.9rem;
    color: #999;
}

/* ============================================
   FORM CANDIDATURA
   ============================================ */
.partner-form-section {
    background: var(--white);
}

.partner-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-section {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid #f0f0f0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    color: var(--primary-red);
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
    outline: none;
}

.form-check {
    margin-bottom: 10px;
}

.form-check-input:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.form-submit {
    text-align: center;
    padding-top: var(--spacing-sm);
}

.form-submit-note {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    color: #666;
}

/* ============================================
   CTA ALTERNATIVA
   ============================================ */
.partner-cta-alternative {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: var(--white);
}

.partner-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.partner-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.partner-cta-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.partner-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-kleos-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-kleos-outline:hover {
    background: var(--white);
    color: var(--primary-red);
}

/* ============================================
   RESPONSIVE PARTNER PAGE
   ============================================ */
@media (max-width: 992px) {
    .partner-benefit-item,
    .partner-benefit-item.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .partner-benefit-icon {
        margin: 0 auto var(--spacing-md);
        order: 1 !important;
    }
    
    .partner-benefit-content {
        order: 2 !important;
    }
    
    .partner-benefit-list {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .partner-hero {
        padding: 120px 0 80px;
    }
    
    .partner-hero-ctas {
        flex-direction: column;
    }
    
    .partner-process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .partner-process-number {
        margin: 0 auto var(--spacing-md);
    }
    
    .partner-form-wrapper {
        padding: var(--spacing-md);
    }
}

/* ============================================
   HERO CHI SIAMO
   ============================================ */
.about-hero {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: 150px 0 120px;
    position: relative;
    color: var(--white);
    text-align: center;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
}

.about-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.about-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Wave divider */
.about-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.about-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* ============================================
   STORIA
   ============================================ */
.about-story {
    background: var(--white);
}

.about-story-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: var(--spacing-md);
}

.about-story-text strong {
    color: var(--primary-red);
}

.about-story-image {
    height: 100%;
    min-height: 400px;
}

.image-placeholder {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(26, 75, 142, 0.1));
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(196, 30, 58, 0.3);
}

.image-placeholder i {
    font-size: 5rem;
    color: var(--primary-red);
    opacity: 0.3;
    margin-bottom: var(--spacing-md);
}

.image-placeholder p {
    color: #666;
    font-size: 1.1rem;
}

/* ============================================
   MISSION VISION VALUES
   ============================================ */
.about-mvv {
    background: #f8f9fa;
}

.mvv-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 20px;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
}

.mvv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--spacing-md);
}

.mvv-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.mvv-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* ============================================
   NUMERI
   ============================================ */
.about-numbers {
    background: var(--white);
}

.number-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: #f8f9fa;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.number-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-blue));
}

.number-value {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    display: inline-block;
}

.number-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    display: inline-block;
    margin-left: 5px;
}

.number-label {
    font-size: 1rem;
    color: #666;
    margin-top: var(--spacing-sm);
    font-weight: 600;
}

/* ============================================
   TEAM
   ============================================ */
.about-team {
    background: #f8f9fa;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.team-image {
    height: 280px;
    overflow: hidden;
    background: #f0f0f0;
}

.team-image-placeholder {
    height: 100%;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(26, 75, 142, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image-placeholder i {
    font-size: 5rem;
    color: var(--primary-red);
    opacity: 0.3;
}

.team-info {
    padding: var(--spacing-lg);
    text-align: center;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.9rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.team-bio {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: var(--spacing-md);
}

.team-social {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    color: var(--dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.team-social a:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
   PERCHÉ ESISTIAMO
   ============================================ */
.about-why {
    background: var(--white);
}

.about-why-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-why-text {
    text-align: left;
}

.about-why-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: var(--spacing-md);
}

.about-why-text strong {
    color: var(--primary-red);
}

.about-quote {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-red);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark-gray);
    border-radius: 0 10px 10px 0;
}

/* ============================================
   CTA FINALE CHI SIAMO
   ============================================ */
.about-cta-final {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: var(--white);
}

.about-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.about-cta-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.about-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE CHI SIAMO
   ============================================ */
@media (max-width: 768px) {
    .about-hero {
        padding: 120px 0 80px;
    }
    
    .about-story-image {
        min-height: 300px;
        margin-top: var(--spacing-lg);
    }
    
    .number-value {
        font-size: 3rem;
    }
    
    .about-cta-buttons {
        flex-direction: column;
    }
}

/* ============================================
   CHI SIAMO - NUOVE SEZIONI (AGGIUNGI DOPO LE ESISTENTI)
   ============================================ */

/* ORIGINE E IDENTITÀ */
.about-origin {
    background: var(--white);
}

.about-text-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.about-text-content .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.about-text-content p {
    margin-bottom: var(--spacing-md);
}

.about-text-content strong {
    color: var(--primary-red);
}

/* Highlight boxes */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
}

.highlight-box p {
    margin-bottom: 0;
    font-size: 1.1rem;
    /*line-height: 1.6;*/
    color: white;
}

.highlight-box-alt {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-red);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box-alt i {
    color: var(--primary-red);
    margin-right: 0.5rem;
}

.highlight-box-alt p {
    margin-bottom: 0;
    color: #555;
}

/* MISSION E VISION (NUOVE) */
.about-mission-vision {
    background: #f8f9fa;
}

.mission-box, .vision-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all var(--transition-normal);
}

.mission-box:hover, .vision-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.mission-icon, .vision-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mission-icon i, .vision-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mission-title, .vision-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.mission-text, .vision-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

/* Quote large */
.about-quote-large {
    position: relative;
    font-size: 1.5rem;
    font-weight: 500;
    font-style: italic;
    color: var(--dark-gray);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 2px solid var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
    margin: 3rem 0;
}

.about-quote-large i {
    font-size: 3rem;
    color: var(--primary-red);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

/* FILOSOFIA AZIENDALE */
.about-philosophy {
    background: var(--white);
}

.philosophy-principles {
    margin-top: 2rem;
}

.principle-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
    transition: all var(--transition-normal);
    border: 1px solid #f0f0f0;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.15);
    border-color: var(--primary-red);
}

.principle-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.principle-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.principle-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
}

.principle-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* IL MODELLO KLEOS */
.about-model {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    padding: var(--spacing-xl) 0;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.9);
}

.model-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.model-content {
    color: var(--dark-gray);
}

.model-headline {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.model-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.model-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    color: #555;
}

.benefit-item i {
    color: var(--primary-red);
    margin-right: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    font-size: 1.3rem;
}

/* CONTESTO DI MERCATO */
.about-market {
    background: var(--white);
}

/* VANTAGGI COMPETITIVI */
.about-advantages {
    background: #f8f9fa;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    border: 1px solid #f0f0f0;
}

.advantage-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 25px rgba(196, 30, 58, 0.15);
    border-color: var(--primary-red);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.advantage-content h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.advantage-content p {
    color: #666;
    margin: 0;
    line-height: 1.7;
}

/* NUMERI - AGGIUNTA ICONE */
.number-card {
    position: relative;
}

.number-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.number-icon i {
    font-size: 2rem;
    color: var(--white);
}

/* ============================================
   RESPONSIVE - NUOVE SEZIONI
   ============================================ */
@media (max-width: 768px) {
    .advantage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .advantage-item:hover {
        transform: translateY(-5px);
    }
    
    .advantage-icon {
        margin: 0 auto 1rem;
    }
    
    .model-box {
        padding: 2rem 1.5rem;
    }
    
    .model-headline {
        font-size: 1.5rem;
    }
    
    .about-quote-large {
        font-size: 1.2rem;
        padding: 2rem 1rem;
    }
    
    .about-quote-large i {
        font-size: 2rem;
    }
    
    .highlight-box {
        padding: 1.5rem;
    }
    
    .mission-box, .vision-box {
        padding: 2rem;
    }
    
    .principle-card {
        padding: 1.5rem;
    }
}

/* COSA CI RENDE UNICI */
.about-unique {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    padding: var(--spacing-xl) 0;
}

.unique-content-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    color: var(--dark-gray);
}

.unique-intro {
    margin-bottom: 3rem;
}

.unique-intro .lead-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.unique-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.unique-intro strong {
    color: var(--primary-red);
}

.unique-features {
    margin-bottom: 3rem;
}

.unique-feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    height: 100%;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.unique-feature-card:hover {
    background: var(--white);
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.15);
}

.unique-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.unique-feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.unique-feature-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
}

.unique-feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.unique-conclusion {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
}

.conclusion-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    position: relative;
    padding-left: 2rem;
}

.conclusion-text i {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-red);
    opacity: 0.3;
    font-size: 1.5rem;
}

.conclusion-text strong {
    color: var(--primary-red);
}

/* Responsive */
@media (max-width: 768px) {
    .unique-content-box {
        padding: 2rem 1.5rem;
    }
    
    .unique-intro .lead-text {
        font-size: 1.1rem;
    }
    
    .unique-feature-card {
        padding: 1.5rem;
    }
    
    .unique-conclusion {
        padding: 1.5rem;
    }
    
    .conclusion-text {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
}

/* ============================================
   PORTFOLIO PAGE - VERSIONE COMPATTA
============================================= */

/* Hero Portfolio */
.portfolio-hero {
    position: relative;
    background: linear-gradient(135deg, #c41e3a, #1a4b8e);
    padding: 120px 0 80px;  /* ← Ridotto */
    overflow: hidden;
}

.portfolio-hero-content {
    max-width: 700px;  /* ← Ridotto */
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.portfolio-hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 16px;  /* ← Ridotto */
    border-radius: 20px;
    font-size: 0.85rem;  /* ← Ridotto */
    font-weight: 600;
    margin-bottom: 0.75rem;
    backdrop-filter: blur(10px);
}

.portfolio-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);  /* ← Ridotto */
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.portfolio-hero-subtitle {
    font-size: 1.1rem;  /* ← Ridotto */
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.portfolio-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;  /* ← Ridotto */
}

/* Filtri */
.portfolio-filters-section {
    padding: 1.5rem 0;  /* ← Ridotto */
    background: white;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;  /* ← Ridotto */
}

.filter-btn {
    background: white;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 0.6rem 1.25rem;  /* ← Ridotto */
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;  /* ← Ridotto */
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.filter-btn i {
    font-size: 1rem;
}

/* Progetti */
.portfolio-projects {
    padding: 2rem 0 3rem;  /* ← Ridotto */
    background: #f8f9fa;
}

.portfolio-card {
    background: white;
    border-radius: 16px;  /* ← Ridotto */
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);  /* ← Ridotto */
    margin-bottom: 2rem;  /* ← Ridotto */
    transition: all 0.3s ease;
    opacity: 1;
}

.portfolio-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

/* Header Card */
.portfolio-card-header {
    padding: 1.5rem 1.5rem 1rem;  /* ← Ridotto */
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.portfolio-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: white;
    padding: 5px 14px;  /* ← Ridotto */
    border-radius: 16px;
    font-size: 0.8rem;  /* ← Ridotto */
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;  /* ← Ridotto */
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.3;
}

/* Gallery (lato sinistro) */
.portfolio-gallery {
    position: relative;
    height: 100%;
    min-height: 280px;  /* ← RIDOTTO da 380px */
    background: #f0f0f0;
}

.portfolio-gallery .carousel,
.portfolio-gallery .carousel-inner,
.portfolio-gallery .carousel-item {
    height: 100%;
    min-height: 280px;  /* ← RIDOTTO da 380px */
}

.portfolio-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 38px;  /* ← Ridotto */
    height: 38px;  /* ← Ridotto */
    background: rgba(196, 30, 58, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-card:hover .carousel-control-prev,
.portfolio-card:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev { left: 12px; }
.carousel-control-next { right: 12px; }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 16px;  /* ← Ridotto */
    height: 16px;  /* ← Ridotto */
}

.carousel-indicators {
    bottom: 12px;  /* ← Ridotto */
    margin: 0;
}

.carousel-indicators button {
    width: 7px;  /* ← Ridotto */
    height: 7px;  /* ← Ridotto */
    border-radius: 50%;
    background-color: white;
    border: none;
    opacity: 0.5;
    margin: 0 3px;
}

.carousel-indicators button.active {
    opacity: 1;
    background-color: var(--primary-red);
    width: 20px;  /* ← Ridotto */
    border-radius: 3.5px;
}

/* Placeholder */
.portfolio-placeholder {
    height: 280px;  /* ← Ridotto */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
}

.portfolio-placeholder i {
    font-size: 2.5rem;  /* ← Ridotto */
    margin-bottom: 0.75rem;
}

.portfolio-placeholder p {
    font-size: 0.9rem;
    margin: 0;
}

/* Info (lato destro) */
.portfolio-info {
    padding: 1.5rem;  /* ← Ridotto */
    display: flex;
    flex-direction: column;
    gap: 1.25rem;  /* ← Ridotto */
    height: 100%;
    background: #fafbfc;
}

.portfolio-description {
    font-size: 0.95rem;  /* ← Ridotto */
    line-height: 1.6;
    color: #666;
}

.portfolio-description p {
    margin: 0;
}

/* Specs */
.portfolio-specs {
    background: white;
    padding: 1.25rem;  /* ← Ridotto */
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.portfolio-specs h4 {
    font-size: 0.95rem;  /* ← Ridotto */
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0 0 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.portfolio-specs h4 i {
    color: var(--primary-red);
    font-size: 0.9rem;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;  /* ← Ridotto */
    padding: 0.6rem 0;  /* ← Ridotto */
    border-bottom: 1px solid #f0f0f0;
}

.spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-item > i {
    color: var(--primary-red);
    font-size: 1rem;  /* ← Ridotto */
    margin-top: 2px;
    min-width: 18px;
}

.spec-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-label {
    font-size: 0.85rem;  /* ← Ridotto */
    color: #666;
    font-weight: 500;
}

.spec-value {
    font-size: 0.85rem;  /* ← Ridotto */
    color: var(--dark-gray);
    font-weight: 600;
}

/* Dettagli Arredo */
.portfolio-arredo {
    background: linear-gradient(135deg, #fffbf0, #fff8e6);
    padding: 1rem;  /* ← Ridotto */
    border-radius: 10px;
    border-left: 3px solid #ffc107;
}

.portfolio-arredo h4 {
    font-size: 0.9rem;  /* ← Ridotto */
    font-weight: 600;
    margin: 0 0 0.6rem;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.portfolio-arredo h4 i {
    color: #ffc107;
    font-size: 0.85rem;
}

.portfolio-arredo p {
    font-size: 0.85rem;  /* ← Ridotto */
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* Testimonial */
.portfolio-testimonial {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 1rem;  /* ← Ridotto */
    border-radius: 10px;
    border-left: 3px solid var(--secondary-blue);
}

.portfolio-testimonial i {
    color: var(--secondary-blue);
    font-size: 1.25rem;  /* ← Ridotto */
    opacity: 0.4;
    margin-bottom: 0.4rem;
}

.portfolio-testimonial p {
    font-style: italic;
    color: #555;
    margin: 0 0 0.6rem;
    line-height: 1.5;
    font-size: 0.85rem;  /* ← Ridotto */
}

.portfolio-testimonial strong {
    color: var(--dark-gray);
    font-size: 0.8rem;  /* ← Ridotto */
    font-style: normal;
}

/* Stats */
.portfolio-stats {
    background: white;
    padding: 3rem 0;  /* ← Ridotto */
}

.portfolio-stat-card {
    text-align: center;
    padding: 1.5rem 1.25rem;  /* ← Ridotto */
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.portfolio-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.portfolio-stat-icon {
    width: 60px;  /* ← Ridotto */
    height: 60px;  /* ← Ridotto */
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;  /* ← Ridotto */
}

.portfolio-stat-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;  /* ← Ridotto */
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 0.4rem;
}

.portfolio-stat-label {
    font-size: 0.9rem;  /* ← Ridotto */
    color: #666;
    font-weight: 600;
}

/* CTA Finale */
.portfolio-cta-final {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: 3.5rem 0;  /* ← Ridotto */
    text-align: center;
    color: white;
}

.portfolio-cta-content {
    max-width: 650px;  /* ← Ridotto */
    margin: 0 auto;
}

.portfolio-cta-title {
    font-family: var(--font-heading);
    font-size: 2rem;  /* ← Ridotto */
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: white;
}

.portfolio-cta-text {
    font-size: 1.1rem;  /* ← Ridotto */
    margin-bottom: 1.75rem;
    opacity: 0.95;
    line-height: 1.6;
}

.portfolio-cta-note {
    margin-top: 1.25rem;
    font-size: 0.9rem;  /* ← Ridotto */
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 991px) {
    .portfolio-hero {
        padding: 100px 0 60px;
    }

    .portfolio-info {
        padding: 1.25rem;
    }

    .portfolio-gallery,
    .portfolio-gallery .carousel,
    .portfolio-gallery .carousel-inner,
    .portfolio-gallery .carousel-item,
    .portfolio-placeholder {
        min-height: 240px;  /* ← Ridotto */
    }
}

@media (max-width: 768px) {
    .portfolio-card-header {
        padding: 1.25rem;
    }

    .portfolio-title {
        font-size: 1.35rem;
    }

    .portfolio-gallery,
    .portfolio-gallery .carousel,
    .portfolio-gallery .carousel-inner,
    .portfolio-gallery .carousel-item,
    .portfolio-placeholder {
        min-height: 200px;  /* ← Ridotto */
    }

    .portfolio-info {
        background: white;
        padding: 1.5rem;
    }
}

/* ============================================
   TAB EDITOR (Visual / HTML)
============================================= */

#editor-html textarea {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    color: #333;
    resize: vertical;
}

#editor-html textarea:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 0.2rem rgba(196, 30, 58, 0.15);
}

/* Syntax highlighting leggero (opzionale) */
#html-textarea {
    tab-size: 2;
}

/* Button group attivo */
.btn-group .btn.active {
    background: #c41e3a !important;
    border-color: #c41e3a !important;
    color: white !important;
}
/* ============================================
   PAGINA CONTATTI
   ============================================ */

/* ============================================
   HERO CONTATTI
   ============================================ */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: 150px 0 120px;
    position: relative;
    color: var(--white);
    text-align: center;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
}

.contact-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Wave divider */
.contact-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.contact-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* ============================================
   CONTACT OPTIONS
   ============================================ */
.contact-options {
    background: var(--white);
}

.contact-method-card {
    background: #f8f9fa;
    padding: var(--spacing-xl);
    border-radius: 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
    position: relative;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

.contact-method-card.featured {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.05), rgba(26, 75, 142, 0.05));
    border: 2px solid var(--primary-red);
}

.contact-method-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--spacing-md);
}

.contact-method-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.contact-method-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: var(--spacing-lg);
    flex: 1;
}

.contact-method-time {
    display: block;
    margin-top: var(--spacing-md);
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

.contact-method-time i {
    color: var(--primary-red);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form-section {
    background: #f8f9fa;
}

.contact-form-wrapper {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.contact-form-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: var(--spacing-lg);
}

.form-section-divider {
    height: 2px;
    background: #f0f0f0;
    margin: var(--spacing-lg) 0;
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
    outline: none;
}

.form-check {
    margin-bottom: 12px;
}

.form-check-input:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.form-check-label {
    font-size: 0.9rem;
    color: #666;
}

.form-check-label a {
    color: var(--primary-red);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* ============================================
   CONTACT INFO SIDEBAR
   ============================================ */
.contact-info-sidebar {
    position: sticky;
    top: 100px;
}

.contact-info-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 15px;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

.contact-info-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.contact-info-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.contact-info-text a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-text a:hover {
    text-decoration: underline;
}

.contact-info-note {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-top: 4px;
}

/* Hours */
.contact-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-hour-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.contact-hour-item:last-child {
    border-bottom: none;
}

.contact-hour-item .day {
    font-weight: 600;
    color: var(--dark-gray);
}

.contact-hour-item .time {
    color: #666;
}

/* Social */
.contact-social {
    display: flex;
    gap: var(--spacing-sm);
}

.contact-social a {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    color: var(--dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.contact-social a:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
   MAPPA
   ============================================ */
.contact-map-section {
    background: var(--white);
    padding: 0;
}

.contact-map {
    width: 100%;
    height: 450px;
    background: #f0f0f0;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(26, 75, 142, 0.1));
}

.map-placeholder i {
    font-size: 5rem;
    color: var(--primary-red);
    opacity: 0.3;
    margin-bottom: var(--spacing-md);
}

.map-placeholder p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #666;
    margin-bottom: 8px;
}

.map-placeholder small {
    font-size: 1rem;
    color: #999;
}

/* ============================================
   FAQ CONTATTI
   ============================================ */
.contact-faq {
    background: #f8f9fa;
}

.contact-faq-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 15px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-faq-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.contact-faq-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.contact-faq-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.contact-faq-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid #e0e0e0;
}

.contact-faq-cta p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   CTA FINALE CONTATTI
   ============================================ */
.contact-cta-final {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: var(--white);
}

.contact-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.contact-cta-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

/* ============================================
   RESPONSIVE CONTATTI
   ============================================ */
@media (max-width: 992px) {
    .contact-info-sidebar {
        position: static;
        margin-top: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 0 80px;
    }
    
    .contact-form-wrapper {
        padding: var(--spacing-md);
    }
    
    .contact-method-card {
        padding: var(--spacing-md);
    }
    
    .contact-map {
        height: 300px;
    }
}

/* ============================================
   PAGINA FAQ
   ============================================ */

/* ============================================
   HERO FAQ
   ============================================ */
.faq-hero {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: 150px 0 120px;
    position: relative;
    color: var(--white);
    text-align: center;
}

.faq-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
}

.faq-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.faq-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: var(--spacing-lg);
}

/* Search Bar */
.faq-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.faq-search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #999;
}

.faq-search input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-search input:focus {
    outline: none;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

/* Wave divider */
.faq-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.faq-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* ============================================
   FAQ CATEGORIES NAV
   ============================================ */
.faq-nav-section {
    background: var(--white);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-categories-nav {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.faq-cat-btn {
    background: #f8f9fa;
    color: var(--dark-gray);
    border: 2px solid transparent;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-cat-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.faq-cat-btn.active {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-color: var(--primary-red);
}

.faq-cat-btn i {
    font-size: 1rem;
}

/* ============================================
   FAQ CONTENT
   ============================================ */
.faq-content-section {
    background: #f8f9fa;
}

.faq-category-block {
    display: none;
}

.faq-category-block.active {
    display: block;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 3px solid var(--primary-red);
}

.faq-category-header i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.faq-category-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin: 0;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 1000px;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-fast);
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
    padding-right: var(--spacing-md);
}

.faq-question i {
    color: var(--primary-red);
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: calc(var(--spacing-lg) + 20px);
    padding-right: var(--spacing-lg);
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer strong {
    color: var(--primary-red);
}

.faq-answer a {
    color: var(--primary-red);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* ============================================
   CTA FINALE FAQ
   ============================================ */
.faq-cta-final {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: var(--white);
}

.faq-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.faq-cta-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.faq-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-kleos-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-kleos-outline:hover {
    background: var(--white);
    color: var(--primary-red);
}

/* ============================================
   RESPONSIVE FAQ
   ============================================ */
@media (max-width: 768px) {
    .faq-hero {
        padding: 120px 0 80px;
    }
    
    .faq-nav-section {
        top: 60px;
    }
    
    .faq-categories-nav {
        gap: 8px;
    }
    
    .faq-cat-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .faq-category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .faq-category-header h2 {
        font-size: 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item {
        margin-bottom: var(--spacing-sm);
    }
    
    .faq-cta-buttons {
        flex-direction: column;
    }
}

/* ============================================
   PAGINE LEGALI (Privacy, Cookie, Termini)
   ============================================ */

/* ============================================
   HERO LEGALE
   ============================================ */
.legal-hero {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: 120px 0 80px;
    color: var(--white);
    text-align: center;
}

.legal-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.legal-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: var(--spacing-md);
}

.legal-last-update {
    font-size: 0.95rem;
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.legal-last-update i {
    font-size: 1rem;
}

/* ============================================
   LEGAL CONTENT
   ============================================ */
.legal-content-section {
    background: #f8f9fa;
}

/* Sidebar Navigation */
.legal-nav {
    position: sticky;
    top: 90px;
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-nav-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-red);
}

.legal-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav-list li {
    margin-bottom: 8px;
}

.legal-nav-list a {
    display: block;
    padding: 8px 12px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.legal-nav-list a:hover {
    background: #f8f9fa;
    color: var(--primary-red);
    padding-left: 16px;
}

/* Main Document */
.legal-document {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid #f0f0f0;
}

/* Legal Sections */
.legal-section {
    margin-bottom: var(--spacing-xl);
}

.legal-section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.legal-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.legal-section-content {
    padding-left: calc(45px + var(--spacing-md));
}

.legal-section-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: var(--spacing-md);
}

.legal-section-content ul,
.legal-section-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: 25px;
}

.legal-section-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

.legal-section-content strong {
    color: var(--primary-red);
    font-weight: 600;
}

.legal-section-content a {
    color: var(--primary-red);
    text-decoration: none;
}

.legal-section-content a:hover {
    text-decoration: underline;
}

/* Subsections */
.legal-subsection-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

/* Info Boxes */
.legal-info-box {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-red);
    padding: var(--spacing-md);
    border-radius: 0 10px 10px 0;
    margin: var(--spacing-md) 0;
}

.legal-info-box p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.legal-info-box p:last-child {
    margin-bottom: 0;
}

/* Notes */
.legal-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: var(--spacing-md);
    border-radius: 0 10px 10px 0;
    margin: var(--spacing-md) 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.legal-note i {
    color: #ffc107;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.legal-note strong {
    color: #856404;
}

/* Purpose Boxes (Privacy) */
.legal-purpose-box {
    background: #f8f9fa;
    padding: var(--spacing-md);
    border-radius: 10px;
    margin-bottom: var(--spacing-md);
}

.legal-purpose-box h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-purpose-box i {
    color: var(--primary-red);
}

.legal-purpose-box ul {
    margin-bottom: 0;
}

/* Rights Grid (Privacy) */
.legal-rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.legal-right-card {
    background: #f8f9fa;
    padding: var(--spacing-md);
    border-radius: 10px;
    text-align: center;
}

.legal-right-card i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto var(--spacing-sm);
}

.legal-right-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.legal-right-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Contact Grid */
.legal-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.legal-contact-card {
    background: #f8f9fa;
    padding: var(--spacing-md);
    border-radius: 10px;
    text-align: center;
}

.legal-contact-card i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto var(--spacing-sm);
}

.legal-contact-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.legal-contact-card a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.legal-contact-card a:hover {
    text-decoration: underline;
}

.legal-contact-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* ============================================
   COOKIE POLICY SPECIFICI
   ============================================ */

/* Cookie Type Cards */
.cookie-type-card {
    background: #f8f9fa;
    padding: var(--spacing-md);
    border-radius: 10px;
    margin-bottom: var(--spacing-md);
}

.cookie-type-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-type-card i {
    color: var(--primary-red);
}

/* Cookie Table */
.cookie-table {
    margin: var(--spacing-md) 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    font-size: 0.9rem;
}

.cookie-table thead {
    background: var(--primary-red);
    color: var(--white);
}

.cookie-table th {
    font-weight: 600;
    padding: 12px;
}

.cookie-table td {
    padding: 12px;
}

.cookie-table code {
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--primary-red);
}

/* Third Party Services */
.third-party-service {
    background: #f8f9fa;
    padding: var(--spacing-md);
    border-radius: 10px;
    margin-bottom: var(--spacing-md);
}

.third-party-service h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.third-party-service i {
    font-size: 1.5rem;
}

.third-party-service p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.third-party-service p:last-child {
    margin-bottom: 0;
}

/* Cookie Preference Box */
.cookie-preference-box {
    background: #f8f9fa;
    padding: var(--spacing-lg);
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.cookie-preference-box h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-preference-box i {
    color: var(--primary-red);
}

/* Browser Instructions */
.browser-instructions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.browser-card {
    background: #f8f9fa;
    padding: var(--spacing-md);
    border-radius: 10px;
    text-align: center;
}

.browser-card i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: var(--spacing-sm);
}

.browser-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.browser-card ol {
    text-align: left;
    padding-left: 20px;
    margin-bottom: var(--spacing-sm);
}

.browser-card li {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.browser-card a {
    font-size: 0.85rem;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.browser-card a:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE PAGINE LEGALI
   ============================================ */
@media (max-width: 992px) {
    .legal-nav {
        position: static;
        margin-bottom: var(--spacing-lg);
    }
    
    .legal-section-content {
        padding-left: 0;
    }
    
    .legal-section-title {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 100px 0 60px;
    }
    
    .legal-hero-title {
        font-size: 2rem;
    }
    
    .legal-hero-subtitle {
        font-size: 1rem;
    }
    
    .legal-document {
        padding: var(--spacing-md);
    }
    
    .legal-section-title {
        font-size: 1.4rem;
    }
    
    .legal-section-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .legal-rights-grid,
    .legal-contact-grid,
    .browser-instructions {
        grid-template-columns: 1fr;
    }
    
    .cookie-table {
        font-size: 0.8rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 8px;
    }
}

@media (max-width: 576px) {
    .legal-nav-list a {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .legal-section-content p,
    .legal-section-content li {
        font-size: 0.95rem;
    }
}


/* ============================================
   TYPING ANIMATION
   ============================================ */
.typing-dots {
    display: flex;
    gap: 4px;
    padding: 10px 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #0d6efd;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* ============================================
   PREVENTIVO CARD
   ============================================ */
.ai-preventivo-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}

.ai-preventivo-card-icon {
    font-size: 40px;
    opacity: 0.9;
}

.ai-preventivo-card-text h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: bold;
}

.ai-preventivo-card-text p {
    margin: 0 0 12px 0;
    font-size: 14px;
    opacity: 0.9;
}

.ai-preventivo-card .btn {
    background: white;
    color: #667eea;
    border: none;
    font-weight: bold;
}

.ai-preventivo-card .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ============================================
   CHAT AI - Stili Aggiuntivi per Nuovi Elementi
   ============================================ */

/* Bottoni Opzioni */
.ai-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 15px;
    animation: slideUp 0.3s ease;
}

.ai-option-btn {
    background: white;
    border: 2px solid #C41E3A;
    color: #C41E3A;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-option-btn:hover {
    background: #C41E3A;
    color: white;
    transform: translateX(5px);
}

.ai-option-btn:active {
    transform: translateX(5px) scale(0.98);
}

/* Typing Indicator */
.ai-message.typing .ai-message-bubble {
    padding: 15px 20px;
}

.typing-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #C41E3A;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Card Preventivo */
.ai-preventivo-card {
    background: linear-gradient(135deg, #C41E3A 0%, #1A4B8E 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.ai-preventivo-card-icon {
    font-size: 40px;
    opacity: 0.9;
}

.ai-preventivo-card-text h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.ai-preventivo-card-text p {
    margin: 0 0 15px 0;
    font-size: 14px;
    opacity: 0.9;
}

.ai-preventivo-card-text .btn-kleos {
    background: white;
    color: #C41E3A;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ai-preventivo-card-text .btn-kleos:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Quick Replies */
.ai-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 15px;
    animation: slideUp 0.3s ease;
}

.ai-quick-reply {
    background: white;
    border: 2px solid #e0e0e0;
    color: #333;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ai-quick-reply:hover {
    border-color: #C41E3A;
    color: #C41E3A;
    transform: translateY(-2px);
}

/* Animazioni */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Messaggio con newline */
.ai-message-bubble br {
    display: block;
    content: "";
    margin: 5px 0;
}

/* Stato disabled */
.ai-input:disabled,
.ai-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ai-checkbox-option {
    display: flex;
    align-items: center;
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.2s;
}

.ai-checkbox-option:hover {
    background: #f0f0f0;
}

.ai-checkbox-option input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.ai-confirm-btn {
    margin-top: 10px;
    width: 100%;
    background: #00a859 !important;
}

/* ============================================
   CARD PREVENTIVO PRONTO
   ============================================ */

.preventivo-ready-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px;
    margin: 16px 0;
    text-align: center;
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    animation: slideInUp 0.5s ease;
}

.preventivo-ready-icon {
    font-size: 48px;
    margin-bottom: 16px;
    animation: scaleIn 0.6s ease;
}

.preventivo-ready-icon i {
    color: #4ade80;
    filter: drop-shadow(0 2px 8px rgba(74, 222, 128, 0.5));
}

.preventivo-ready-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: white;
}

.preventivo-ready-card p {
    font-size: 14px;
    margin: 0 0 20px 0;
    opacity: 0.9;
    line-height: 1.5;
}

.btn-preventivo-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #667eea;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-preventivo-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    color: #764ba2;
}

.btn-preventivo-view i {
    font-size: 18px;
}

/* Animazioni */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   OPZIONI CHAT (Radio/Checkbox)
   ============================================ */

.ai-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
    animation: fadeInUp 0.3s ease;
}

.ai-option-btn {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.ai-option-btn:hover {
    border-color: #C41E3A;
    background: #fff5f7;
    transform: translateX(4px);
}

.ai-confirm-btn {
    background: #C41E3A;
    color: white;
    border-color: #C41E3A;
    font-weight: 600;
    text-align: center;
    margin-top: 8px;
}

.ai-confirm-btn:hover {
    background: #a01729;
    border-color: #a01729;
    transform: translateX(0);
}

/* Checkbox Style */
.ai-checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 2px solid #e5e7eb;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-checkbox-option:hover {
    border-color: #C41E3A;
    background: #fff5f7;
}

.ai-checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #C41E3A;
}

.ai-checkbox-option span {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    flex: 1;
}

/* Quick Replies */
.ai-quick-replies {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.ai-quick-reply {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.ai-quick-reply:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   TYPING INDICATOR - MESSAGGIO PERSONALIZZATO
   ============================================ */

.typing-message {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.typing-message strong {
    display: block;
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.typing-message small {
    color: #6b7280;
    font-size: 12px;
    font-style: italic;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Typing dots esistenti - mantieni come sono */
.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 8px 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* ============================================
   FORM DATI CLIENTE INLINE
   ============================================ */

.ai-form-dati-cliente {
    margin: 15px 0;
    animation: fadeInUp 0.4s ease;
}

.ai-form-dati-cliente .form-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.ai-form-dati-cliente h4 {
    color: white;
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 600;
}

.ai-form-dati-cliente .form-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 16px 0;
    font-size: 13px;
}

.ai-form-dati-cliente .form-group {
    margin-bottom: 12px;
}

.ai-form-dati-cliente label {
    display: block;
    color: white;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 13px;
}

.ai-form-dati-cliente input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ai-form-dati-cliente input:focus {
    outline: none;
    border-color: white;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.ai-form-dati-cliente input::placeholder {
    color: #999;
}

.ai-form-dati-cliente small {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    margin-top: 3px;
}

.ai-form-dati-cliente .btn-submit-dati {
    width: 100%;
    padding: 12px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ai-form-dati-cliente .btn-submit-dati:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ai-form-dati-cliente .btn-submit-dati:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BLOG - GENERAL STYLES
============================================= */

/* Hero Blog */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: 150px 0 120px;
    position: relative;
    color: var(--white);
    text-align: center;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
}

.blog-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.blog-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: var(--spacing-lg);
}

/* Search Form */
.blog-search-form {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.blog-search-input {
    width: 100%;
    padding: 18px 60px 18px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blog-search-input:focus {
    outline: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.blog-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.blog-search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.4);
}

.blog-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.blog-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* ============================================
   BLOG CONTENT LAYOUT
============================================= */

.blog-content {
    padding: var(--spacing-xl) 0;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: var(--spacing-lg);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.category-list a i {
    margin-right: 10px;
    color: var(--primary-red);
    width: 20px;
}

.category-list a:hover,
.category-list a.active {
    background: #f8f9fa;
    color: var(--primary-red);
    transform: translateX(5px);
}

/* Popular Articles */
.popular-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-article-item {
    display: flex;
    gap: 1rem;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.popular-article-item:hover {
    background: #f8f9fa;
}

.popular-article-number {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.popular-article-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.popular-article-views {
    font-size: 0.8rem;
    color: #999;
}

.popular-article-views i {
    margin-right: 5px;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    color: white;
    text-align: center;
}

.sidebar-cta .widget-title {
    color: white;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   BLOG CARDS
============================================= */

.blog-grid {
    margin-bottom: var(--spacing-lg);
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    display: block;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(26, 75, 142, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-placeholder i {
    font-size: 4rem;
    color: var(--primary-red);
    opacity: 0.3;
}

.blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-red);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.blog-card-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-sm);
    font-size: 0.85rem;
    color: #999;
}

.blog-meta-date i,
.blog-meta-read i {
    margin-right: 5px;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.blog-card-title a:hover {
    color: var(--primary-red);
}

.blog-card-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.blog-card-read-more {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-fast);
}

.blog-card-read-more:hover {
    gap: 0.75rem;
}

/* Small variant for related */
.blog-card-small .blog-card-image {
    height: 180px;
}

.blog-card-small .blog-card-content {
    padding: var(--spacing-md);
}

.blog-card-small .blog-card-title {
    font-size: 1.1rem;
}

/* ============================================
   PAGINATION
============================================= */

.blog-pagination {
    margin-top: var(--spacing-xl);
}

.pagination {
    gap: 0.5rem;
}

.page-link {
    border: 2px solid #e0e0e0;
    color: var(--dark-gray);
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.page-link:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    background: #fff;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    border-color: transparent;
    color: white;
}

.page-item.disabled .page-link {
    background: #f8f9fa;
    border-color: #e0e0e0;
}

/* ============================================
   SINGLE ARTICLE
============================================= */

/* ============================================
   SINGLE ARTICLE PAGE
============================================= */

.article-single {
    background: var(--white);
}

/* ============================================
   ARTICLE HEADER
============================================= */

.article-header {
    padding: 150px 0 var(--spacing-xl);
    background: linear-gradient(to bottom, #f8f9fa 0%, var(--white) 100%);
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    color: #666;
}

.article-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.article-breadcrumb a:hover {
    color: var(--primary-red);
}

.article-breadcrumb i {
    font-size: 0.7rem;
    color: #999;
}

.article-category-badge {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-fast);
}

.article-category-badge:hover {
    background: var(--secondary-blue);
    color: white;
}

.article-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

.article-subtitle {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: var(--spacing-md);
    border-top: 2px solid #e0e0e0;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.article-meta-item i {
    color: var(--primary-red);
}

/* ============================================
   FEATURED IMAGE
============================================= */

.article-featured-image {
    margin-bottom: var(--spacing-xl);
}

.article-featured-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ============================================
   ARTICLE BODY
============================================= */

.article-body {
    padding: var(--spacing-xl) 0;
}

.article-sidebar-left {
    padding-top: 20px;
}

/* Reading Progress Bar */
.reading-progress-container {
    position: relative;
    width: 4px;
    height: 200px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.reading-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--primary-red), var(--secondary-blue));
    transition: height 0.1s ease;
}

/* Social Share Buttons */
.article-social-share {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 1.1rem;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.share-facebook {
    background: #1877f2;
}

.share-twitter {
    background: #1da1f2;
}

.share-linkedin {
    background: #0a66c2;
}

.share-whatsapp {
    background: #25d366;
}

/* Article Content Typography */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--dark-gray);
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--dark-gray);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content strong {
    font-weight: 600;
    color: var(--dark-gray);
}

.article-content a {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--secondary-blue);
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.article-content ul li {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
}

.article-content ul li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-content blockquote {
    border-left: 4px solid var(--primary-red);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
}

.article-content code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-red);
}

.article-content pre {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-content pre code {
    background: none;
    padding: 0;
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    padding: var(--spacing-lg) 0;
    border-top: 2px solid #f0f0f0;
    margin-top: var(--spacing-lg);
}

.article-tags i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.article-tag {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Article CTA Box */
.article-cta-box {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-blue));
    padding: var(--spacing-xl);
    border-radius: 16px;
    text-align: center;
    margin: var(--spacing-xl) 0;
    color: white;
}

.article-cta-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.article-cta-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.article-cta-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.article-cta-content .btn-kleos {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
}

.article-cta-content .btn-kleos i {
    font-size: 1rem;
    margin: 0;
    opacity: 1;
}

/* Table of Contents */
.article-sidebar-right {
    padding-top: 20px;
}

.article-toc {
    font-size: 0.9rem;
}

.article-toc a {
    display: block;
    padding: 8px 12px;
    color: #666;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
}

.article-toc a:hover,
.article-toc a.active {
    color: var(--primary-red);
    border-left-color: var(--primary-red);
    background: #f8f9fa;
}

/* Related Articles */
.article-related {
    background: #f8f9fa;
    padding: var(--spacing-xl) 0;
}

/* Sticky positioning */
.sticky-top {
    position: sticky;
    top: 100px;
}
/* Sticky positioning */
@media (min-width: 992px) {
    .sticky-top {
        position: sticky;
        top: 100px;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
}
/* ============================================
   RESPONSIVE
============================================= */

@media (max-width: 991px) {
    .article-header {
        padding: 120px 0 var(--spacing-lg);
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-meta {
        gap: 1rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.6rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}


.copy-code-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.3s;
}

.copy-code-btn:hover {
    background: white;
    color: var(--primary-red);
}

.copy-code-btn.copied {
    color: #28a745;
}

