/*
 * Foglio di stile per il sito Salute a Domicilio Srl
 * Definisce colori, tipografia, layout responsive e componenti riutilizzabili
 */

/* Importa Google Font - Apple-style typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=SF+Pro+Display:wght@300;400;500;600;700&display=swap');

/* Variabili globali per colori e spaziatura - Apple Design System */
:root {
    --primary-color: #007AFF;      /* Apple Blue per accenti e CTA */
    --secondary-color: #1D1D1F;    /* Apple Dark per testo principale */
    --accent-color: #34C759;       /* Apple Green per elementi positivi */
    --light-bg: #FBFBFD;           /* Apple Light Gray per sfondo */
    --white: #FFFFFF;              /* Apple White */
    --dark-text: #1D1D1F;          /* Apple Dark per testo principale */
    --light-text: #86868B;         /* Apple Gray per testo secondario */
    --border-color: #D2D2D7;       /* Apple Border Gray */
    --border-radius: 12px;         /* Apple-style border radius */
    --border-radius-small: 8px;    /* Per elementi più piccoli */
    --max-width: 1200px;           /* larghezza massima del contenitore */
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 24px rgba(0, 0, 0, 0.2);
}

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

/* Ottimizzazioni per scroll fluido */
* {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

/* Correzione: evita che gli elementi fixed (es. banner cookie) si ancorino al documento
   su alcuni browser a causa della prospettiva applicata globalmente. La prospettiva
   sul body/html crea un nuovo containing block per position: fixed in Safari/WebKit. */
html, body {
    -webkit-perspective: none !important;
    perspective: none !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    background-color: var(--white);
    color: var(--dark-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Header e navigazione - Apple-style */
header {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Effetto scroll per header */
header.scrolled {
    margin: 10px 10px 0 10px;
    width: calc(100% - 20px);
    border-radius: 35px;
    box-shadow: var(--shadow-medium);
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    gap: 12px;
}

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

nav .logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Pulsante hamburger */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--dark-text);
    font-size: 1.5rem;
    padding: 8px;
    border-radius: var(--border-radius-small);
    cursor: pointer;
}
.menu-toggle:focus { outline: 2px solid var(--primary-color); outline-offset: 2px; }


nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

nav ul li a {
    padding: 8px 0;
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--dark-text);
    transition: color 0.2s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a.active {
    color: var(--primary-color);
    font-weight: 500;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 1px;
}

/* Hero Section Elaborata - Apple-style */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Section Servizi - Design Asimmetrico Moderno */
.hero-services-modern {
    position: relative;
    height: 100vh;
    min-height: 800px;
    overflow: hidden;
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.95) 0%, 
        rgba(241, 245, 249, 0.9) 50%,
        rgba(226, 232, 240, 0.95) 100%);
}

.hero-services-bg-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-services-image-modern {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.85;
    filter: brightness(1.1) contrast(1.1) saturate(1.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-services-gradient-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 40%,
        rgba(0, 122, 255, 0.1) 60%,
        rgba(52, 199, 89, 0.1) 100%);
    z-index: 2;
}

.hero-services-content-modern {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-services-container-modern {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-services-left {
    animation: slideInLeft 1s ease-out 0.3s both;
}

.hero-services-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding: 8px 16px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 122, 255, 0.2);
}

.hero-services-title-modern {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--secondary-color);
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 8px;
}

.hero-services-description-modern {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--light-text);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-services-cta-modern {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-modern-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    color: var(--white);
    padding: 18px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-modern-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-modern-primary:hover::before {
    left: 100%;
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 122, 255, 0.4);
    color: var(--white);
    text-decoration: none;
}

.btn-modern-outline {
    background: transparent;
    color: var(--primary-color);
    padding: 18px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-modern-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-modern-outline:hover::before {
    width: 100%;
}

.btn-modern-outline:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
    text-decoration: none;
}

.hero-services-right {
    animation: slideInRight 1s ease-out 0.5s both;
}

.services-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 400px;
    margin-left: auto;
}

.service-preview-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.service-preview-card:hover::before {
    transform: scaleX(1);
}

.service-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
}

.service-preview-card:nth-child(1) { animation: fadeInUp 0.8s ease-out 0.7s both; }
.service-preview-card:nth-child(2) { animation: fadeInUp 0.8s ease-out 0.9s both; }
.service-preview-card:nth-child(3) { animation: fadeInUp 0.8s ease-out 1.1s both; }
.service-preview-card:nth-child(4) { animation: fadeInUp 0.8s ease-out 1.3s both; }

.service-preview-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-preview-card:hover .service-preview-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

.service-preview-card h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.service-preview-card p {
    font-size: 0.9rem;
    color: var(--light-text);
    line-height: 1.4;
    font-weight: 400;
}

.hero-services-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.1), 
        rgba(52, 199, 89, 0.1));
    animation: floatDecoration 6s ease-in-out infinite;
}

.decoration-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.decoration-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.decoration-line {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 122, 255, 0.2), 
        transparent);
    animation: floatDecoration 8s ease-in-out infinite;
}

.decoration-3 {
    width: 300px;
    height: 2px;
    top: 50%;
    left: 20%;
    animation-delay: 1.5s;
}

.hero-services-scroll-modern {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.3;
    animation: scrollDotPulse 2s ease-in-out infinite;
}

.scroll-dot:nth-child(1) { animation-delay: 0s; }
.scroll-dot:nth-child(2) { animation-delay: 0.3s; }
.scroll-dot:nth-child(3) { animation-delay: 0.6s; }

/* Animazioni per il design moderno */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translate3d(-50px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translate3d(50px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes floatDecoration {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-8px) rotate(-1deg);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-12px) rotate(1deg);
        opacity: 0.9;
    }
}

@keyframes scrollDotPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Introduzione Moderna */
.intro-services-modern {
    padding: 120px 24px;
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.8) 0%, 
        rgba(241, 245, 249, 0.9) 50%,
        rgba(226, 232, 240, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.intro-services-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0, 122, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(52, 199, 89, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.intro-services-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.intro-services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-services-text {
    animation: slideInLeft 1s ease-out 0.3s both;
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 122, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid rgba(0, 122, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.intro-badge i {
    color: var(--accent-color);
    font-size: 1rem;
}

.intro-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--secondary-color);
}

.intro-description {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--light-text);
    margin-bottom: 32px;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--secondary-color);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.intro-services-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    animation: slideInRight 1s ease-out 0.5s both;
}

.intro-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.intro-card:hover::before {
    transform: scaleX(1);
}

.intro-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
}

.intro-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-card:hover .intro-card-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

.intro-card h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.intro-card p {
    font-size: 0.9rem;
    color: var(--light-text);
    line-height: 1.4;
    font-weight: 400;
}

/* Team Qualificato - Design Timeline */
.team-qualified-modern {
    padding: 120px 24px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.team-qualified-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(0, 122, 255, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(52, 199, 89, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.team-qualified-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.team-qualified-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.team-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(52, 199, 89, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid rgba(52, 199, 89, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 24px;
}

.team-badge i {
    color: var(--accent-color);
    font-size: 1rem;
}

.team-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.team-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.team-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.team-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    animation: fadeInUp 1s ease-out both;
}

.timeline-item:nth-child(1) { animation-delay: 0.5s; }
.timeline-item:nth-child(2) { animation-delay: 0.7s; }
.timeline-item:nth-child(3) { animation-delay: 0.9s; }

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 122, 255, 0.4);
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    margin: 0 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.timeline-item:hover .timeline-content::before {
    transform: scaleX(1);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
}

.timeline-content h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.timeline-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.timeline-stats .stat {
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 122, 255, 0.2);
}

/* Servizi Grid Moderna */
.services-grid-modern {
    padding: 120px 24px;
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.8) 0%, 
        rgba(241, 245, 249, 0.9) 50%,
        rgba(226, 232, 240, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.services-grid-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(0, 122, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(52, 199, 89, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.services-grid-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.services-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 122, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid rgba(0, 122, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.services-badge i {
    color: var(--accent-color);
    font-size: 1rem;
}

.services-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.services-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    grid-auto-rows: minmax(200px, auto);
}

.service-card-large {
    grid-column: span 8;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.service-card-medium {
    grid-column: span 4;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.service-card-full {
    grid-column: span 12;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.service-card-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.service-card-content:hover::before {
    transform: scaleX(1);
}

.service-card-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon-medium {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-content:hover .service-icon-large,
.service-card-content:hover .service-icon-medium {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

.service-card-content h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card-medium .service-card-content h3 {
    font-size: 1.25rem;
}

.service-card-content p {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.service-card-medium .service-card-content p {
    font-size: 0.9rem;
}

.service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.service-tags .tag {
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 122, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-content:hover .service-tags .tag {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.service-card-full .service-card-content {
    flex-direction: row;
    align-items: center;
    gap: 32px;
}

.service-card-full .service-text {
    flex: 1;
}

.service-card-full .service-text h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-card-full .service-text p {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

/* Blog Moderno - Design Magazine */
.blog-hero-modern {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 30%,
        rgba(255, 255, 255, 0.05) 70%,
        rgba(0, 0, 0, 0.15) 100%);
}

.blog-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blog-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.8;
    filter: brightness(0.8) contrast(1.1) saturate(1.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.08) 70%,
        rgba(0, 0, 0, 0.25) 100%);
    z-index: 2;
}

.blog-hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

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

.blog-hero-text {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.blog-badge i {
    color: var(--primary-color);
    font-size: 1rem;
}

.blog-hero-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out 0.7s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6);
}

.blog-title-line {
    display: block;
    opacity: 0;
    animation: slideInLeft 1s ease-out both;
}

.blog-title-line:nth-child(1) { animation-delay: 0.9s; }
.blog-title-line:nth-child(2) { animation-delay: 1.1s; }

.blog-title-accent {
    color: var(--primary-color);
}

.blog-hero-description {
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease-out 1.3s both;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.5);
}

.blog-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.blog-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.blog-stat .stat-number {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.blog-stat .stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
    color: var(--white);
}

.blog-hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.blog-decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05), 
        rgba(0, 122, 255, 0.15));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: floatBlogDecoration 8s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-dec-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.blog-dec-2 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 15%;
    animation-delay: 4s;
}

.blog-decoration-line {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.15), 
        transparent);
    animation: floatBlogDecoration 10s ease-in-out infinite;
}

.blog-dec-3 {
    width: 400px;
    height: 2px;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

/* Filtri Blog */
.blog-filters-modern {
    padding: 80px 24px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.blog-filters-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(0, 122, 255, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(52, 199, 89, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.blog-filters-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.blog-filters-header {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.blog-filters-header h2 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.blog-filters-header p {
    font-size: 1.125rem;
    color: var(--light-text);
    font-weight: 400;
}

.blog-filters-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.filter-tab:hover::before,
.filter-tab.active::before {
    width: 100%;
}

.filter-tab:hover,
.filter-tab.active {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

.filter-tab i {
    font-size: 1rem;
}

/* Contenuto Blog */
.blog-content-modern {
    padding: 80px 24px;
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.8) 0%, 
        rgba(241, 245, 249, 0.9) 50%,
        rgba(226, 232, 240, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.blog-content-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(0, 122, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(52, 199, 89, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.blog-content-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Articolo Featured */
.blog-featured-post {
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.featured-post-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.featured-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.15);
}

.featured-post-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-post-card:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-post-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-color), #28A745);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(52, 199, 89, 0.3);
}

.featured-post-content {
    padding: 40px;
}

.post-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.post-date,
.post-category,
.post-read-time {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 16px;
}

.post-date {
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary-color);
}

.post-category {
    background: rgba(52, 199, 89, 0.1);
    color: var(--accent-color);
}

.post-read-time {
    background: rgba(108, 117, 125, 0.1);
    color: var(--light-text);
}

.featured-post-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.featured-post-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-post-title a:hover {
    color: var(--primary-color);
}

.featured-post-excerpt {
    font-size: 1.125rem;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 32px;
}

.featured-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-blog-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-blog-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-blog-primary:hover::before {
    left: 100%;
}

.btn-blog-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 122, 255, 0.4);
    color: var(--white);
    text-decoration: none;
}

.post-stats {
    display: flex;
    gap: 24px;
    align-items: center;
}

.post-views,
.post-likes {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-text);
}

.post-views i,
.post-likes i {
    color: var(--primary-color);
}

/* Griglia Articoli */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.blog-post-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: fadeInUp 1s ease-out both;
}

.blog-post-card:nth-child(1) { animation-delay: 0.5s; }
.blog-post-card:nth-child(2) { animation-delay: 0.7s; }
.blog-post-card:nth-child(3) { animation-delay: 0.9s; }
.blog-post-card:nth-child(4) { animation-delay: 1.1s; }
.blog-post-card:nth-child(5) { animation-delay: 1.3s; }
.blog-post-card:nth-child(6) { animation-delay: 1.5s; }

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
}

.post-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.1) 0%, 
        rgba(0, 122, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px;
}

.blog-post-card:hover .post-card-overlay {
    opacity: 1;
}

.post-bookmark {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.post-bookmark:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.post-card-content {
    padding: 24px;
}

.post-card-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.post-card-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card-title a:hover {
    color: var(--primary-color);
}

.post-card-excerpt {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.5;
    margin-bottom: 20px;
}

.post-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-blog-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary-color);
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-blog-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-blog-outline:hover::before {
    width: 100%;
}

.btn-blog-outline:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
    text-decoration: none;
}

.post-card-footer .post-stats {
    gap: 16px;
}

.post-card-footer .post-views,
.post-card-footer .post-likes {
    font-size: 0.85rem;
}


/* Animazioni per il blog */
@keyframes floatBlogDecoration {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) rotate(3deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) rotate(-2deg);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-15px) rotate(1deg);
        opacity: 0.9;
    }
}

/* Pagine Articolo - stile coerente con Home/Chi Siamo */
.hero.article-hero {
    height: 45vh;
    min-height: 320px;
}

.hero.article-hero .content {
    display: grid;
    place-items: center;
    text-align: center;
}

.article-body {
    max-width: var(--max-width);
    margin: -60px auto 60px;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}

.article-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
    padding: 40px;
}

.article-card h2 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.75rem;
    line-height: 1.3;
    color: var(--secondary-color);
    margin: 28px 0 12px;
}

.article-card p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--dark-text);
    margin-bottom: 16px;
}

.article-card ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.article-header {
    margin-bottom: 16px;
}

.article-cta {
    margin-top: 28px;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0,122,255,0.08), rgba(52,199,89,0.08));
    border: 1px solid rgba(0,0,0,0.06);
}

.article-cta a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Elementi arricchiti per articoli */
.icon-list {
    padding: 0;
    margin: 14px 0 22px;
}
.icon-list li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
}
.icon-list i {
    color: var(--primary-color);
    background: rgba(0,122,255,0.08);
    border: 1px solid rgba(0,122,255,0.2);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    margin-top: 2px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 24px 0 8px;
}
.media-grid figure {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.media-grid img {
    width: 100%;
    height: clamp(320px, 36vw, 520px);
    object-fit: cover;
    display: block;
}
.media-grid figcaption {
    font-size: 0.9rem;
    color: var(--light-text);
    padding: 10px 12px;
}

.pullquote {
    margin: 26px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(0,122,255,0.06), rgba(52,199,89,0.06));
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--secondary-color);
}

/* CTA avanzate per articoli */
.cta-banner {
    margin: 36px 0 8px;
    padding: 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0,122,255,0.08), rgba(52,199,89,0.08));
    border: 1px solid rgba(0,0,0,0.06);
    display: grid;
    gap: 10px;
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    transition: all .25s ease;
    background: #fff;
}
.btn-cta i { color: var(--primary-color); }
.btn-cta:hover { background: var(--primary-color); color: #fff; }
.btn-cta:hover i { color: #fff; }

.btn-cta-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    border-color: transparent;
    color: #fff;
}
.btn-cta-primary:hover { filter: brightness(1.05); }

/* separatori/accents */
.section-accent {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
    margin: 28px 0;
}

/* Cookie Banner - stile Apple con sfocatura */
.cookie-banner {
    position: fixed;
    left: 20px;
    bottom: max(20px, env(safe-area-inset-bottom));
    top: auto;
    transform: none;
    width: min(760px, calc(100% - 40px));
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    z-index: 2147483647; /* overlay */
    padding: 18px 18px 16px;
    color: var(--secondary-color);
}
/* .cookie-banner.centered mantenuta per compatibilità, nessuna regola necessaria */
.cookie-banner.hidden { display: none; }
.cookie-content { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; }
.cookie-banner a { color: var(--primary-color); text-decoration: underline; }
.cookie-text { font-size: 0.95rem; color: var(--dark-text); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-actions .btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px;
    font-weight: 600; text-decoration: none; cursor: pointer; transition: all .2s ease; border: 1px solid transparent;
}
.cookie-btn-primary { background: linear-gradient(135deg, var(--primary-color), #0056CC); color: #fff; }
.cookie-btn-primary:hover { filter: brightness(1.05); }
.cookie-btn-outline { background: rgba(255,255,255,0.7); color: var(--primary-color); border-color: rgba(0,122,255,0.4); }
.cookie-btn-outline:hover { background: rgba(0,122,255,0.08); }
.cookie-small { font-size: 0.85rem; color: var(--light-text); }

@media (min-width: 720px) {
    .cookie-content { grid-template-columns: 72px 1fr auto; gap: 16px; }
    .cookie-icon { width: 56px; height: 56px; border-radius: 14px; display:grid; place-items:center; background: rgba(0,122,255,0.1); color: var(--primary-color); font-size: 1.25rem; }
}

/* Input e form – Apple-style coerente */
.input-apple {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.10);
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--secondary-color);
    font-size: 0.95rem;
    transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease, transform .05s ease;
    outline: none;
}
.input-apple::placeholder { color: var(--light-text); }
.input-apple:focus {
    background: #fff;
    border-color: rgba(0,122,255,0.50);
    box-shadow: 0 0 0 4px rgba(0,122,255,0.12), 0 6px 18px rgba(0,0,0,0.06);
}
.input-apple:active { transform: scale(0.997); }
.input-apple.is-invalid {
    border-color: #ff3b30;
    box-shadow: 0 0 0 4px rgba(255,59,48,0.12);
}

.contact-direct {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    margin: 10px 0 22px;
    flex-wrap: wrap;
}
.contact-direct a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--secondary-color);
    text-decoration: none;
}
.contact-direct a i { color: var(--primary-color); }

/* Box di contatto – Apple style tappabili */
.contact-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 24px;
    min-height: 170px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.contact-box .service-icon {
    width: 56px; height: 56px; border-radius: 16px; display:grid; place-items:center;
    background: rgba(0,122,255,0.1); color: var(--primary-color); font-size: 1.25rem;
}
.contact-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 54px rgba(0,0,0,0.12);
}
.contact-box h3 { margin: 0; }
.contact-box p { margin: 0; color: var(--light-text); }

.inline-form { display: flex; gap: 8px; }
.inline-form > .input-apple { flex: 1; }
@media (max-width: 520px) {
    .inline-form { flex-direction: column; align-items: stretch; gap: 10px; }
}

/* Ottimizzazioni mobile per input e bottoni */
@media (max-width: 520px) {
    .input-apple {
        padding: 14px 16px;
        font-size: 16px; /* evita zoom su iOS */
        border-radius: 14px;
    }
    .inline-form .btn-modern-primary,
    .inline-form .btn-modern-outline {
        width: 100%;
        height: 48px;
        border-radius: 14px;
    }
    .service-card form { width: 100%; }
    .contact-box { align-items: center; text-align: center; padding: 22px; }
    .contact-box .service-icon { margin-bottom: 6px; }
    .intro-services-container .services-grid { grid-template-columns: 1fr !important; }
}

/* Micro-tuning tipografia card su mobile */
@media (max-width: 520px) {
    .service-card h3 { font-size: 1.06rem; }
    .service-card p { font-size: 0.95rem; }
}

/* Effetti di scroll eleganti per la home page */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

.scroll-reveal-delay-1 {
    transition-delay: 0.1s;
}

.scroll-reveal-delay-2 {
    transition-delay: 0.2s;
}

.scroll-reveal-delay-3 {
    transition-delay: 0.3s;
}

.scroll-reveal-delay-4 {
    transition-delay: 0.4s;
}

/* Effetti hover aggiuntivi per i box */
.card-hover-effect {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-hover:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0, 122, 255, 0.2);
}

.stat-hover-effect {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-hover-effect:hover {
    transform: translateY(-4px);
}

/* Animazione per i numeri dei contatori */
.counter-animate {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Effetto parallax leggero per le sezioni */
.parallax-section {
    transform: translateZ(0);
    will-change: transform;
}

/* Animazione per i pulsanti */
.btn-animate {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-animate:hover::before {
    left: 100%;
}

.btn-animate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

/* Hero About Section - Design elaborato */
.hero-about {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.1) 0%, 
        rgba(52, 199, 89, 0.1) 50%, 
        rgba(0, 122, 255, 0.1) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
}

.hero .slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Animazione per il cambio automatico delle slide */
.hero .slide.fade-out {
    opacity: 0;
    transform: scale(1.1);
}

.hero .slide.fade-in {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
}
@media (max-width: 1200px) {
    .hero-content { gap: 48px; }
}

.hero-text {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease-out 0.5s both;
}
@media (max-width: 768px) {
    .hero-badge { margin-bottom: 12px; padding: 6px 12px; font-size: 0.85rem; }
}

.hero-badge i {
    color: var(--accent-color);
    font-size: 1rem;
}

.hero-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

/* Migliora la leggibilità della title su schermi larghi e piccoli */
@media (min-width: 1440px) {
    .hero-title { font-size: 4.5rem; }
}
@media (max-width: 1200px) {
    .hero-title { font-size: 3.5rem; }
}

.hero-title-line {
    display: block;
    opacity: 0;
    animation: slideInLeft 1s ease-out both;
}

.hero-title-line:nth-child(1) { animation-delay: 0.9s; }
.hero-title-line:nth-child(2) { animation-delay: 1.1s; }
.hero-title-line:nth-child(3) { animation-delay: 1.3s; }

.hero-title-accent {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 500px;
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.7s both;
}
@media (max-width: 1024px) {
    .hero-actions { justify-content: center; }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
    animation: fadeInUp 1s ease-out 1.9s both;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.stat-number {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: fadeInUp 1s ease-out 2.1s both;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    border-radius: 1px;
    animation: scrollPulse 2s ease-in-out infinite;
}

.hero-scroll-indicator span {
    font-size: 0.8rem;
    opacity: 0.7;
    font-weight: 500;
}

/* Animazioni ottimizzate - rimosse duplicazioni */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: var(--shadow-light);
}
.btn:hover {
    background-color: #0056CC;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--white);
    text-decoration: none;
}
.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-light);
}

/* Sezioni generali - Apple-style */
section {
    padding: 80px 24px;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.section-title h2 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.section-title p {
    font-size: 1.125rem;
    color: var(--light-text);
    font-weight: 400;
    line-height: 1.5;
}

/* CTA rapida - Apple-style ridisegnata */
.quick-cta {
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.05) 0%, 
        rgba(52, 199, 89, 0.05) 50%, 
        rgba(0, 122, 255, 0.05) 100%);
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

.quick-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 122, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(52, 199, 89, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out;
}

.cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    border-radius: 50%;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.cta-icon i {
    font-size: 2rem;
    color: var(--white);
}

.cta-text h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--light-text);
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

.cta-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.phone-section,
.hours-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.phone-section::before,
.hours-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.phone-section:hover,
.hours-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.phone-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hours-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-icon,
.hours-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    border-radius: 50%;
    flex-shrink: 0;
}

.phone-icon i,
.hours-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.phone-info,
.hours-info {
    flex: 1;
}

.phone-label,
.hours-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phone-number {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 4px;
}

.phone-number:hover {
    color: #0056CC;
    text-decoration: none;
}

.hours-text {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    justify-content: center;
}

.cta-btn i {
    font-size: 1.1rem;
}

.cta-btn.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    box-shadow: 0 6px 24px rgba(0, 122, 255, 0.3);
}

.cta-btn.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 122, 255, 0.4);
}

.cta-btn.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.cta-btn.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 122, 255, 0.3);
}

/* Animazione pulse per l'icona principale */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(0, 122, 255, 0.4);
    }
}

/* Sezione Servizi Elaborata - Apple-style */
.services-section {
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.02) 0%, 
        rgba(52, 199, 89, 0.02) 50%, 
        rgba(0, 122, 255, 0.02) 100%);
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 122, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(52, 199, 89, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

.services-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 122, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid rgba(0, 122, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.services-badge i {
    font-size: 1rem;
    color: var(--accent-color);
}

.services-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.title-line {
    display: block;
    opacity: 0;
    animation: slideInLeft 1s ease-out both;
}

.title-line:nth-child(1) { animation-delay: 0.6s; }
.title-line:nth-child(2) { animation-delay: 0.8s; }

.title-accent {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-subtitle {
    font-size: 1.25rem;
    color: var(--light-text);
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.service-card {
    position: relative;
    height: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }
.service-card:nth-child(4) { animation-delay: 0.8s; }

.service-card-inner {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.service-card:hover .service-card-inner::before {
    transform: scaleX(1);
}

.service-card:hover .service-card-inner {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
}

.service-icon-container {
    position: relative;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(52, 199, 89, 0.1));
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card:hover .service-icon-bg {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.service-description {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.feature-tag {
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 122, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .feature-tag {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.service-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.05) 0%, 
        rgba(52, 199, 89, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.service-card:hover .service-hover-effect {
    opacity: 1;
}

.services-cta {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.cta-content h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--light-text);
    margin-bottom: 32px;
    line-height: 1.5;
}

.services-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 24px rgba(0, 122, 255, 0.3);
}

.services-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 122, 255, 0.4);
}

/* Sezione Servizi Dettagliati */
.detailed-services-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.detailed-services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.detailed-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.detailed-service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.detailed-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.detailed-service-card:hover::before {
    transform: scaleX(1);
}

.detailed-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.detailed-service-card .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.detailed-service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.3);
}

.detailed-service-card .service-icon i {
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.detailed-service-card:hover .service-icon i {
    transform: scale(1.1);
}

.detailed-service-card .service-content h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.detailed-service-card .service-content p {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
}

/* Responsive per sezione servizi dettagliati */
@media (max-width: 1024px) {
    .detailed-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .detailed-service-card {
        padding: 32px 24px;
    }
    
    .detailed-service-card .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .detailed-service-card .service-icon i {
        font-size: 1.75rem;
    }
    
    .detailed-service-card .service-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .detailed-services-section {
        padding: 60px 0;
    }
    
    .detailed-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .detailed-service-card {
        padding: 28px 20px;
    }
    
    .detailed-service-card .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .detailed-service-card .service-icon i {
        font-size: 1.5rem;
    }
    
    .detailed-service-card .service-content h3 {
        font-size: 1.2rem;
    }
    
    .detailed-service-card .service-content p {
        font-size: 0.95rem;
    }
}

/* Sezione Chi siamo Elaborata - Design Creativo */
.about-section {
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.02) 0%, 
        rgba(52, 199, 89, 0.02) 50%, 
        rgba(0, 122, 255, 0.02) 100%);
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(0, 122, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(52, 199, 89, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 122, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid rgba(0, 122, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.about-badge i {
    font-size: 1rem;
    color: var(--accent-color);
}

.about-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--light-text);
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Storia con immagine - Layout hero */
.about-story-hero {
    margin-bottom: 100px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.story-text p {
    font-size: 1.125rem;
    color: var(--light-text);
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 32px;
}

.story-highlight {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(52, 199, 89, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: 24px 32px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-style: italic;
    font-size: 1.125rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.story-highlight i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.story-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-image:hover {
    transform: translateY(-8px);
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 32px 24px 24px;
    color: var(--white);
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.125rem;
}

.overlay-content i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* Missione con layout alternativo */
.about-mission {
    margin-bottom: 100px;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.mission-content {
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.05) 0%, 
        rgba(52, 199, 89, 0.05) 100%);
    border-radius: 32px;
    padding: 60px 48px;
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    overflow: hidden;
}

.mission-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0, 122, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.mission-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

.mission-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.mission-text h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.mission-text p {
    font-size: 1.125rem;
    color: var(--light-text);
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 32px;
}

.mission-features {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--secondary-color);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

/* Valori con layout a lista */
.about-values {
    margin-bottom: 100px;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-header h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.values-header p {
    font-size: 1.125rem;
    color: var(--light-text);
    font-weight: 400;
    line-height: 1.5;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 32px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease-out;
}

.value-item:nth-child(1) { animation-delay: 0.1s; }
.value-item:nth-child(2) { animation-delay: 0.2s; }
.value-item:nth-child(3) { animation-delay: 0.3s; }
.value-item:nth-child(4) { animation-delay: 0.4s; }

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-item:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
}

.value-number {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
    flex-shrink: 0;
    min-width: 80px;
    text-align: center;
}

.value-content {
    flex: 1;
}

.value-content h4 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.value-content p {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.6;
    font-weight: 400;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-item:hover .value-icon {
    transform: scale(1.1);
}

/* Dove operiamo con immagini */
.about-locations {
    margin-bottom: 100px;
    animation: fadeInUp 0.8s ease-out 1.4s both;
}

.locations-header {
    text-align: center;
    margin-bottom: 60px;
}

.locations-header h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.locations-header p {
    font-size: 1.125rem;
    color: var(--light-text);
    font-weight: 400;
    line-height: 1.5;
}

.locations-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.location-main {
    position: relative;
}

.location-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-image:hover {
    transform: translateY(-8px);
}

.location-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 32px 32px;
    color: var(--white);
}

.location-overlay h4 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.location-overlay p {
    font-size: 1.125rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.location-overlay .location-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
}

.location-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out;
}

.location-item:nth-child(1) { animation-delay: 0.1s; }
.location-item:nth-child(2) { animation-delay: 0.2s; }
.location-item:nth-child(3) { animation-delay: 0.3s; }

.location-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #28A745);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.location-item:hover::before {
    transform: scaleX(1);
}

.location-item:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(52, 199, 89, 0.3);
}

.location-item .location-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #28A745);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-item:hover .location-icon {
    transform: scale(1.1);
}

.location-item h4 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.location-item p {
    font-size: 0.9rem;
    color: var(--light-text);
    line-height: 1.4;
    font-weight: 400;
}

/* CTA finale */
.about-cta {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 1.6s both;
}

.cta-content h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--light-text);
    margin-bottom: 32px;
    line-height: 1.5;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 180px;
    justify-content: center;
}

.about-btn.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    box-shadow: 0 6px 24px rgba(0, 122, 255, 0.3);
}

.about-btn.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 122, 255, 0.4);
}

.about-btn.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.about-btn.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 122, 255, 0.3);
}

/* CTA finale Elaborata - Apple-style */
.final-cta-section {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.05) 0%, 
        rgba(52, 199, 89, 0.05) 50%, 
        rgba(0, 122, 255, 0.05) 100%);
    padding: 120px 24px;
    overflow: hidden;
    margin-top: 80px;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0, 122, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(52, 199, 89, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(0, 122, 255, 0.05) 0%, transparent 70%);
    animation: ctaPatternMove 20s ease-in-out infinite;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.02) 0%, 
        rgba(52, 199, 89, 0.02) 50%, 
        rgba(0, 122, 255, 0.02) 100%);
}

.final-cta-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 122, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid rgba(0, 122, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-badge i {
    font-size: 1rem;
    color: var(--accent-color);
}

.cta-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-title-line {
    display: block;
    opacity: 0;
    animation: slideInLeft 1s ease-out both;
}

.cta-title-line:nth-child(1) { animation-delay: 0.6s; }
.cta-title-line:nth-child(2) { animation-delay: 0.8s; }

.cta-title-accent {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--light-text);
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    color: var(--secondary-color);
}

.feature-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
}

.feature-highlight i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 1.4s both;
}

.cta-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
    min-width: 220px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cta-main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-main-btn:hover::before {
    left: 100%;
}

.cta-main-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 122, 255, 0.4);
}

.cta-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    justify-content: center;
}

.cta-phone-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 122, 255, 0.3);
}

.cta-contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 1.6s both;
}

.contact-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #0056CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.cta-guarantee {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 32px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 1.8s both;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-guarantee:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(52, 199, 89, 0.3);
}

.guarantee-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #28A745);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-guarantee:hover .guarantee-icon {
    transform: scale(1.1);
}

.guarantee-text {
    text-align: left;
}

.guarantee-title {
    display: block;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.guarantee-desc {
    font-size: 0.9rem;
    color: var(--light-text);
    font-weight: 500;
}

/* Animazione per il pattern di sfondo */
@keyframes ctaPatternMove {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(20px) translateY(-20px);
    }
    50% {
        transform: translateX(-20px) translateY(20px);
    }
    75% {
        transform: translateX(20px) translateY(20px);
    }
}

/* Cards legacy - mantenute per compatibilità */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 32px 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}
.card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}
.card h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--secondary-color);
    letter-spacing: -0.01em;
}
.card p {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.5;
    font-weight: 400;
}

/* Contatori - Apple-style */
.counters {
    background-color: var(--light-bg);
    color: var(--dark-text);
    text-align: center;
    padding: 60px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.counter {
    flex: 1 0 180px;
    max-width: 220px;
}
.counter h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}
.counter p {
    font-size: 1rem;
    color: var(--light-text);
    font-weight: 500;
}

/* Footer - Apple-style */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 24px 40px;
    font-size: 0.9rem;
}
.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
.footer-col {
    flex: 1;
}
.footer-col h4 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.125rem;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}
.footer-col a:hover {
    color: var(--white);
    text-decoration: none;
}
.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}
.social-icons a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    transition: all 0.2s ease;
    padding: 8px;
    border-radius: var(--border-radius-small);
}
.social-icons a:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Responsive media queries - Apple-style */
@media (min-width: 1400px) {
    .services-grid {
        gap: 32px;
    }
    
    .service-card-inner {
        padding: 48px 36px;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    /* Hero Services Modern responsive */
    .hero-services-container-modern {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-services-title-modern {
        font-size: 3.5rem;
    }
    
    .hero-services-description-modern {
        font-size: 1.25rem;
    }
    
    .services-preview-grid {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-services-image-modern {
        width: 100%;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
        opacity: 0.3;
    }
    
    /* Intro Services responsive */
    .intro-services-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .intro-title {
        font-size: 2.5rem;
    }
    
    .intro-services-visual {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Team Timeline responsive */
    .team-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }
    
    .timeline-marker {
        position: absolute;
        left: -60px;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .timeline-content {
        margin: 0;
        padding: 24px;
    }
    
    /* Services Grid responsive */
    .services-grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card-large,
    .service-card-medium,
    .service-card-full {
        grid-column: span 1;
    }
    
    .service-card-full .service-card-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    /* Services tablet */
    .services-section {
        padding: 100px 24px;
    }
    
    .services-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-card-inner {
        padding: 36px 28px;
    }
    
    /* About section tablet */
    .about-section {
        padding: 100px 24px;
    }
    
    .about-title {
        font-size: 3rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-text h3 {
        font-size: 2rem;
    }
    
    .story-image img {
        height: 300px;
    }
    
    .mission-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    
    .mission-icon-large {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .mission-text h3 {
        font-size: 2rem;
    }
    
    .mission-features {
        justify-content: center;
        gap: 24px;
    }
    
    .value-item {
        padding: 28px 32px;
        gap: 24px;
    }
    
    .value-number {
        font-size: 2.5rem;
        min-width: 60px;
    }
    
    .value-content h4 {
        font-size: 1.25rem;
    }
    
    .locations-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .location-image img {
        height: 300px;
    }
    
    .location-grid {
        flex-direction: row;
        gap: 16px;
    }
    
    .location-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 100svh; /* piena viewport anche con UI mobile */
        min-height: 520px;
    }

    /* Header: attiva hamburger e menu a scomparsa */
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    nav ul {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(0,0,0,0.06);
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 12px 0 20px;
        z-index: 999;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .25s ease, transform .25s ease;
    }
    nav ul.open { display: flex; opacity: 1; transform: translateY(0); }
    nav ul li a { padding: 10px 0; }
    nav { position: relative; }
    header.scrolled { border-radius: 0; margin: 0; width: 100%; }
    
    .hero-content {
        padding: 0 20px;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 4rem !important;
        line-height: 1.1 !important;
    }
    
    .hero-title .title-highlight {
        font-size: 4.5rem !important;
        display: block !important;
        margin-top: 8px !important;
    }
    
    .hero-title .hero-title-line {
        font-size: 4rem !important;
        line-height: 1.1 !important;
    }
    
    .hero-title .hero-title-line.hero-title-accent {
        font-size: 4.5rem !important;
        display: block !important;
        margin-top: 8px !important;
    }
    
    /* Immagini mobile specifiche per il carosello */
    .hero .hero-background .slide:nth-child(1) {
        background-image: url('../assets/images/hero-mobile1.avif') !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .hero .hero-background .slide:nth-child(2) {
        background-image: url('../assets/images/hero-mobile2.avif') !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .hero .hero-background .slide:nth-child(3) {
        background-image: url('../assets/images/hero-mobile3.avif') !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .hero .hero-background .slide:nth-child(4) {
        background-image: url('../assets/images/hero-mobile1.avif') !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-description-mobile {
        font-size: 1.125rem !important;
    }
/* Rimozione vecchia classe mobile: non usata più */
.hero-description-mobile { display: none !important; }

/* Mobile: dimensioni descrizione */
@media (max-width: 768px) {
    .hero-description {
        font-size: 1.325rem;
        line-height: 1.5;
        opacity: 0.95;
        margin: 8px auto 16px;
        max-width: 520px;
        animation: fadeInUp 0.8s ease-out 1.2s both;
    }
}

/* Desktop: nessuna descrizione mobile, usiamo solo #hero-desc */
@media (min-width: 769px) {
    .hero-description-mobile { display: none !important; }
}

    /* Nasconde elementi non richiesti su mobile */
    .hero-badge,
    .hero-stats,
    .hero-scroll-indicator,
    .btn.btn-secondary { /* "Scopri i servizi" */
        display: none !important;
    }

    /* Mostra solo la CTA primaria e centra verticalmente il blocco */
    .hero-content {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        justify-items: center;
    }
    .hero-text {
        width: 100%;
        text-align: center;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .btn.btn-primary {
        min-width: 220px;
    }

    .hero .slide {
        background-attachment: scroll;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-item {
        padding: 16px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Hero Services Modern mobile */
    .hero-services-modern {
        height: 100svh;
        min-height: 600px;
    }
    
    .hero-services-container-modern {
        padding: 0 20px;
        gap: 30px;
    }
    
    .hero-services-title-modern {
        font-size: 2.5rem;
    }
    
    .hero-services-description-modern {
        font-size: 1.125rem;
    }
    
    .hero-services-cta-modern {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .btn-modern-primary,
    .btn-modern-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .services-preview-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 300px;
    }
    
    .service-preview-card {
        padding: 20px 16px;
    }
    
    .service-preview-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .service-preview-card h3 {
        font-size: 1rem;
    }
    
    .service-preview-card p {
        font-size: 0.85rem;
    }

    /* Servizi: nasconde le 4 KPI preview in hero su mobile */
    .hero-services-right { display: none !important; }
    
    .hero-services-scroll-modern {
        bottom: 30px;
    }
    
    .hero-services-image-modern {
        background-attachment: scroll;
        opacity: 0.2;
    }
    
    .decoration-1,
    .decoration-2 {
        display: none;
    }
    
    /* Intro Services mobile */
    .intro-services-modern {
        padding: 80px 20px;
    }
    
    .intro-services-content {
        gap: 30px;
    }
    
    .intro-title {
        font-size: 2rem;
    }
    
    .intro-description {
        font-size: 1.125rem;
    }
    
    .intro-card {
        padding: 24px 20px;
    }
    
    .intro-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Team Timeline mobile */
    .team-qualified-modern {
        padding: 80px 20px;
    }
    
    .team-title {
        font-size: 2rem;
    }
    
    .timeline-item {
        margin-left: 50px;
    }
    
    .timeline-marker {
        left: -50px;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-content h3 {
        font-size: 1.25rem;
    }
    
    .timeline-stats {
        gap: 8px;
    }
    
    .timeline-stats .stat {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    /* Services Grid mobile */
    .services-grid-modern {
        padding: 80px 20px;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .service-card-content {
        padding: 24px 20px;
    }
    
    .service-icon-large {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-icon-medium {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .service-card-content h3 {
        font-size: 1.25rem;
    }
    
    .service-card-medium .service-card-content h3 {
        font-size: 1.125rem;
    }
    
    .service-card-content p {
        font-size: 0.9rem;
    }
    
    .service-card-medium .service-card-content p {
        font-size: 0.85rem;
    }
    
    .service-card-full .service-text h3 {
        font-size: 1.5rem;
    }
    
    .service-card-full .service-text p {
        font-size: 1rem;
    }
    
    /* Blog mobile */
    .blog-hero-modern {
        min-height: 600px;
    }
    
    .blog-hero-title {
        font-size: 2.5rem;
    }
    
    .blog-title-line {
        display: inline;
    }
    
    .blog-hero-description {
        font-size: 1rem;
    }
    
    .blog-hero-stats {
        gap: 24px;
        flex-direction: column;
        align-items: center;
    }
    
    .blog-stat .stat-number {
        font-size: 1.75rem;
    }
    
    .blog-filters-modern {
        padding: 60px 20px;
    }
    
    .blog-filters-header h2 {
        font-size: 1.75rem;
    }
    
    .blog-filters-tabs {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .filter-tab {
        width: 200px;
        justify-content: center;
    }
    
    .blog-content-modern {
        padding: 60px 20px;
    }
    
    .featured-post-title {
        font-size: 1.75rem;
    }
    
    .featured-post-content {
        padding: 24px 20px;
    }
    
    .featured-post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-card-content {
        padding: 20px;
    }
    
    .post-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    
    /* Blog responsive */
    .blog-hero-title {
        font-size: 3rem;
    }
    
    .blog-hero-description {
        font-size: 1.125rem;
    }
    
    .blog-hero-stats {
        gap: 32px;
    }
    
    .blog-stat .stat-number {
        font-size: 2rem;
    }
    
    .blog-filters-header h2 {
        font-size: 2rem;
    }
    
    .blog-filters-tabs {
        gap: 12px;
    }
    
    .filter-tab {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .featured-post-title {
        font-size: 2rem;
    }
    
    .featured-post-content {
        padding: 32px;
    }
    
    .blog-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    nav {
        padding: 0 20px;
    }
    nav ul {
        gap: 24px;
    }
    nav ul li a {
        font-size: 0.9rem;
    }

    /* Blog mobile – overrides per migliore leggibilità */
    .blog-hero-modern { min-height: 100svh; }
    .blog-title-line { display: block !important; }
    .blog-hero-title { font-size: 3.8rem !important; line-height: 1.05 !important; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
    .blog-hero-description { font-size: 1.2rem !important; line-height: 1.55; max-width: 560px; margin: 10px 0 0; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
    .blog-hero-stats { display: none !important; }
    .cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .card {
        padding: 24px 20px;
    }
    .counters {
        gap: 32px;
    }
    .counter h3 {
        font-size: 2.5rem;
    }
    
    /* CTA responsive */
    .quick-cta {
        padding: 60px 20px;
    }
    
    .cta-text h3 {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .cta-contact {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .phone-section,
    .hours-section {
        padding: 24px 20px;
    }
    
    .phone-section {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .hours-section {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 64px;
        padding: 0 20px;
        gap: 12px;
    }
    nav .logo { justify-content: flex-start; }
    nav .logo img { height: 35px; }
    .menu-toggle { display: inline-flex; }
    /* Effetto scroll su mobile */
    header.scrolled {
        margin: 5px 5px 0 5px;
        width: calc(100% - 10px);
        border-radius: 35px;
        background-color: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    nav ul li a {
        font-size: 0.85rem;
    }
    .hero {
        height: 100svh;
        min-height: 520px;
        padding-top: 0;
    }
    .hero h1 { font-size: 2.2rem; }
    .hero-description-mobile { font-size: 0.95rem; margin: 6px auto 14px; }
    .hero p { font-size: 0.95rem; }
    /* Override: ingrandisce la descrizione su mobile */
    .hero .hero-description {
        font-size: 1.35rem !important;
        line-height: 1.6 !important;
        margin: 10px auto 18px !important;
        max-width: 540px !important;
    }
    .hero-badge,
    .hero-stats,
    .hero-scroll-indicator,
    .btn.btn-secondary { display: none !important; }
    .hero-content { justify-items: center; align-items: center; }
    .hero-text { text-align: center; }
    .hero-actions .btn {
        padding: 14px 22px;
        font-size: 0.95rem;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
    .cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .card {
        padding: 20px 16px;
    }
    .counters {
        gap: 24px;
        padding: 40px 20px;
    }
    .counter h3 {
        font-size: 2rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    section {
        padding: 60px 20px;
    }
    
    /* CTA mobile */
    .quick-cta {
        padding: 40px 16px;
    }
    
    .cta-text h3 {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .cta-icon i {
        font-size: 1.5rem;
    }
    
    .phone-section,
    .hours-section {
        padding: 20px 16px;
    }
    
    .phone-icon,
    .hours-icon {
        width: 50px;
        height: 50px;
    }
    
    .phone-icon i,
    .hours-icon i {
        font-size: 1.25rem;
    }
    
    .phone-number {
        font-size: 1.25rem;
    }
    
    .cta-btn {
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    /* Services responsive */
    .services-section {
        padding: 80px 20px;
    }
    
    .services-title {
        font-size: 2.5rem;
    }
    
    .services-subtitle {
        font-size: 1.125rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .service-card-inner {
        padding: 32px 24px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .service-icon-bg {
        width: 90px;
        height: 90px;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .services-cta {
        padding: 40px 24px;
    }
    
    .cta-content h3 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    /* About section responsive */
    .about-section {
        padding: 80px 20px;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
    
    .about-subtitle {
        font-size: 1.125rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .story-text h3 {
        font-size: 1.75rem;
    }
    
    .story-image img {
        height: 250px;
    }
    
    .mission-content {
        padding: 40px 32px;
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .mission-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .mission-text h3 {
        font-size: 1.75rem;
    }
    
    .mission-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .value-item {
        padding: 24px 20px;
        gap: 16px;
        flex-direction: column;
        text-align: center;
    }
    
    .value-number {
        font-size: 2rem;
        min-width: 50px;
    }
    
    .value-content h4 {
        font-size: 1.125rem;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .locations-showcase {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .location-image img {
        height: 250px;
    }
    
    .location-grid {
        flex-direction: column;
        gap: 16px;
    }
    
    .location-item {
        padding: 20px;
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }
    
    .location-item .location-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .locations-header h3 {
        font-size: 2rem;
    }
    
    .about-cta {
        padding: 40px 24px;
    }
    
    .cta-content h3 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .about-btn {
        width: 100%;
        max-width: 300px;
        min-width: auto;
    }
    
    /* CTA finale responsive */
    .final-cta-section {
        padding: 80px 20px;
        margin-top: 60px;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-description {
        font-size: 1.125rem;
    }
    
    .cta-features {
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .feature-highlight {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-bottom: 48px;
    }
    
    .cta-main-btn,
    .cta-phone-btn {
        width: 100%;
        max-width: 300px;
        min-width: auto;
        padding: 18px 32px;
        font-size: 1rem;
    }
    
    .cta-contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .contact-item {
        padding: 20px;
        gap: 12px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .contact-value {
        font-size: 1rem;
    }
    
    .cta-guarantee {
        padding: 24px 32px;
        gap: 16px;
        flex-direction: column;
        text-align: center;
    }
    
    .guarantee-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .guarantee-text {
        text-align: center;
    }
    
    .guarantee-title {
        font-size: 1.125rem;
    }
    
    .guarantee-desc {
        font-size: 0.85rem;
    }
    
    /* About section mobile small */
    .about-section {
        padding: 60px 16px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
    }
    
    .story-content {
        gap: 24px;
    }
    
    .story-text h3 {
        font-size: 1.5rem;
    }
    
    .story-image img {
        height: 200px;
    }
    
    .story-highlight {
        padding: 20px 24px;
        font-size: 1rem;
    }
    
    .mission-content {
        padding: 32px 24px;
        gap: 20px;
    }
    
    .mission-icon-large {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .mission-text h3 {
        font-size: 1.5rem;
    }
    
    .value-item {
        padding: 20px 16px;
        gap: 12px;
    }
    
    .value-number {
        font-size: 1.75rem;
        min-width: 40px;
    }
    
    .value-content h4 {
        font-size: 1rem;
    }
    
    .value-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .location-image img {
        height: 200px;
    }
    
    .location-overlay {
        padding: 24px 20px 20px;
    }
    
    .location-overlay h4 {
        font-size: 1.5rem;
    }
    
    .location-overlay p {
        font-size: 1rem;
    }
    
    .location-item {
        padding: 16px;
        gap: 12px;
    }
    
    .location-item .location-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .location-item h4 {
        font-size: 1rem;
    }
    
    .location-item p {
        font-size: 0.85rem;
    }
    
    .locations-header h3 {
        font-size: 1.75rem;
    }
    
    .about-cta {
        padding: 32px 20px;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 0.9rem;
    }
    
    /* CTA finale mobile small */
    .final-cta-section {
        padding: 60px 16px;
        margin-top: 40px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-features {
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .feature-highlight {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .cta-actions {
        margin-bottom: 40px;
    }
    
    .cta-main-btn,
    .cta-phone-btn {
        padding: 16px 24px;
        font-size: 0.95rem;
    }
    
    .cta-contact-info {
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .contact-item {
        padding: 16px;
        gap: 10px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-label {
        font-size: 0.8rem;
    }
    
    .contact-value {
        font-size: 0.9rem;
    }
    
    .cta-guarantee {
        padding: 20px 24px;
        gap: 12px;
    }
    
    .guarantee-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .guarantee-title {
        font-size: 1rem;
    }
    
    .guarantee-desc {
        font-size: 0.8rem;
    }
}

/* Animazioni e transizioni aggiuntive - Apple-style */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }

/* Focus states per accessibilità */
.btn:focus,
nav ul li a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Scroll behavior smooth e ottimizzazioni performance */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-padding-top: 80px;
}

/* Hardware acceleration per elementi animati */
.hero .slide,
.hero-overlay,
header,
.card,
.btn,
.cta-container {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Ottimizzazioni per scroll fluido */
.hero,
section,
.cards,
.counters {
    contain: layout style paint;
}

/* Riduce il repaint durante lo scroll */
.card:hover,
.btn:hover {
    will-change: transform;
}

/* Reset will-change dopo le animazioni */
.card:not(:hover),
.btn:not(:hover) {
    will-change: auto;
}

/* Selezione testo personalizzata */
::selection {
    background-color: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Breadcrumb Styles */
.breadcrumb-container {
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: var(--light-text);
}

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

.breadcrumb a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--light-text);
}