/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 19 2025 | 12:59:46 */
/* ===================================================================
   FARMACIA METALLA - WORDPRESS CSS
   Ottimizzato per Simple Custom CSS and JS Plugin
   Prefisso "fm-" per evitare conflitti con il tema
   =================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

/* CSS Reset per le nostre sezioni */

/* ===================================================================
   DESIGN TOKENS
   =================================================================== */

:root {
    /* Colors */
    --fm-color-primary: #009c71;
    --fm-color-primary-light: #00b386;
    --fm-color-primary-dark: #007a59;
    --fm-color-text-primary: #1a202c;
    --fm-color-text-secondary: #4a5568;
    --fm-color-text-muted: #718096;
    --fm-color-background: #fff;
    --fm-color-background-alt: #f7fafc;
    --fm-color-background-section: #fafbfc;
    --fm-color-border: #e2e8f0;
    --fm-color-border-light: #f1f5f9;
    
    /* Typography */
    --fm-font-family-display: 'Playfair Display', serif;
    --fm-font-family-body: 'Inter', -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, sans-serif;
    --fm-font-size-base: 1rem;      /* 16px */
    --fm-font-size-lg: 1.125rem;    /* 18px */
    --fm-font-size-xl: 1.25rem;     /* 20px */
    --fm-font-size-2xl: 1.5rem;     /* 24px */
    --fm-font-size-3xl: 1.875rem;   /* 30px */
    --fm-font-size-4xl: 2.25rem;    /* 36px */
    --fm-line-height-tight: 1.25;
    --fm-line-height-normal: 1.5;
    --fm-line-height-relaxed: 1.75;
    
    /* Spacing */
    --fm-space-2: 0.5rem;    /* 8px */
    --fm-space-3: 0.75rem;   /* 12px */
    --fm-space-4: 1rem;      /* 16px */
    --fm-space-6: 1.5rem;    /* 24px */
    --fm-space-8: 2rem;      /* 32px */
    --fm-space-10: 2.5rem;   /* 40px */
    --fm-space-12: 3rem;     /* 48px */
    --fm-space-16: 4rem;     /* 64px */
    --fm-space-20: 5rem;     /* 80px */
    --fm-space-24: 6rem;     /* 96px */
    
    /* Shadows */
    --fm-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
    --fm-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -2px rgb(0 0 0 / 5%);
    --fm-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 10%), 0 10px 10px -5px rgb(0 0 0 / 4%);
    
    /* Border Radius */
    --fm-radius-md: 0.5rem;
    --fm-radius-lg: 0.75rem;
    --fm-radius-xl: 1rem;
    --fm-radius-2xl: 1.5rem;
    --fm-radius-full: 9999px;
    
    /* Transitions */
    --fm-transition-normal: 300ms ease;
}

/* ===================================================================
   LAYOUT COMPONENTS
   =================================================================== */

.fm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--fm-space-6);
    box-sizing: border-box;
    width: 100%;
}

/* Prevenire overflow su tutti i wrapper */
.fm-lab-cta-wrapper,
.fm-about-cta-wrapper,
.fm-services-cta-wrapper {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

/* ===================================================================
   HERO SLIDER - MODERN & RESPONSIVE
   =================================================================== */

.fm-hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.fm-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slide Base - New Layout */
.fm-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 0 var(--fm-space-8);
}

/* Rispetta preferenze utente per animazioni ridotte */
@media (prefers-reduced-motion: reduce) {
    .fm-slide,
    .fm-slide-image-box,
    .fm-slide-badge,
    .fm-slide-title,
    .fm-slide-description,
    .fm-slide-highlights,
    .fm-slide-actions {
        transition: none !important;
        animation: none !important;
    }
}

.fm-slide.fm-slide--active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.fm-slide-layout {
    display: grid;
    grid-template-columns: 1fr 60%;
    gap: var(--fm-space-10);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

/* Content Section - Left Side */
.fm-slide-content {
    position: relative;
    z-index: 10;
    color: var(--fm-color-text-primary);
}

/* Image Box - Right Side */
.fm-slide-image-box {
    position: relative;
    width: 100%;
    border-radius: var(--fm-radius-2xl);
    overflow: hidden;
    box-shadow: 
        0 25px 50px -12px rgb(0 0 0 / 25%),
        0 0 0 1px rgb(0 0 0 / 5%);
    background: linear-gradient(135deg, #009c71, #007a59);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fm-slide--active .fm-slide-image-box {
    transform: translateY(0);
    opacity: 1;
}

/* Ottimizzazione performance animazioni */
.fm-slide-image-box {
    will-change: transform, opacity;
}

.fm-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s ease;
}

.fm-slide-image-box:hover .fm-slide-img {
    transform: scale(1.05);
}

/* Decorative Elements */
.fm-slide-image-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--fm-color-primary), #00d4aa);
    border-radius: var(--fm-radius-2xl);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fm-slide-image-box:hover::before {
    opacity: 1;
}

/* Content Inner */
.fm-slide-inner {
    max-width: 100%;
    color: var(--fm-color-text-primary);
}

/* Badge */
.fm-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    padding: var(--fm-space-3) var(--fm-space-6);
    background: linear-gradient(135deg, var(--fm-color-primary), #00b386);
    color: white;
    border-radius: var(--fm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--fm-space-6);
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.6s ease 0.2s;
    box-shadow: 0 4px 12px rgb(0 156 113 / 30%);
}

.fm-slide--active .fm-slide-badge {
    transform: translateX(0);
    opacity: 1;
}

.fm-badge-icon {
    width: 16px;
    height: 16px;
    fill: currentcolor;
}

/* Title */
.fm-slide-title {
    font-family: var(--fm-font-family-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--fm-space-6);
    color: var(--fm-color-text-primary);
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.6s ease 0.4s;
}

.fm-slide--active .fm-slide-title {
    transform: translateX(0);
    opacity: 1;
}

.fm-highlight {
    color: var(--fm-color-primary);
}

/* Description */
.fm-slide-description {
    font-size: var(--fm-font-size-lg);
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-8);
    color: var(--fm-color-text-secondary);
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.6s ease 0.6s;
}

.fm-slide--active .fm-slide-description {
    transform: translateX(0);
    opacity: 1;
}

/* Slide Highlights - Sistema Unificato */
.fm-slide-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--fm-space-4);
    margin-bottom: var(--fm-space-10);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease 0.8s;
}

.fm-slide--active .fm-slide-highlights {
    transform: translateY(0);
    opacity: 1;
}

.fm-highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--fm-space-2);
    padding: var(--fm-space-4);
    background: rgb(255 255 255 / 10%);
    backdrop-filter: blur(10px);
    border-radius: var(--fm-radius-lg);
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fm-color-text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.fm-highlight-item:hover {
    background: rgb(255 255 255 / 15%);
    transform: translateY(-2px);
}

.fm-highlight-icon {
    width: 24px;
    height: 24px;
    color: #00d4aa;
    flex-shrink: 0;
}

.fm-highlight-icon svg {
    width: 100%;
    height: 100%;
    fill: currentcolor;
}

/* Supporto per contenuto numerico (ex-stats) */
.fm-highlight-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--fm-space-1);
}

.fm-highlight-number {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-2xl);
    font-weight: 700;
    color: #00d4aa;
    line-height: 1;
}

.fm-highlight-label {
    font-size: 0.75rem;
    color: var(--fm-color-text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Supporto per contenuto semplice (ex-features/topics) */
.fm-highlight-item > span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fm-color-text-primary);
    text-align: center;
}

/* Actions */
.fm-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fm-space-4);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease 1s;
}

.fm-slide--active .fm-slide-actions {
    transform: translateY(0);
    opacity: 1;
}

/* Buttons */
.fm-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    padding: var(--fm-space-4) var(--fm-space-6);
    font-family: var(--fm-font-family-body);
    font-size: var(--fm-font-size-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--fm-radius-lg);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.fm-btn--primary {
    background: linear-gradient(135deg, #00d4aa, #00b386);
    color: white;
}

.fm-btn--primary:hover {
    background: linear-gradient(135deg, #00b386, #009c71);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgb(0 156 113 / 30%);
}

.fm-btn--outline {
    background: transparent;
    color: var(--fm-color-text-primary);
    border: 2px solid var(--fm-color-primary);
    backdrop-filter: blur(10px);
}

.fm-btn--outline:hover {
    background: var(--fm-color-primary);
    color: white;
    border-color: var(--fm-color-primary);
    transform: translateY(-2px);
}

.fm-btn-icon {
    width: 18px;
    height: 18px;
    fill: currentcolor;
}

/* Navigation Controls */
.fm-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--fm-space-6);
    z-index: 100;
    pointer-events: none;
}

.fm-nav-btn {
    width: 50px;
    height: 50px;
    background: rgb(0 0 0 / 40%);
    backdrop-filter: blur(10px);
    border: 1px solid rgb(0 0 0 / 30%);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.fm-nav-btn:hover {
    background: rgb(0 0 0 / 60%);
    transform: scale(1.1);
}

.fm-nav-btn svg {
    width: 24px;
    height: 24px;
    fill: currentcolor;
}

/* Slide Indicators */
.fm-slider-dots {
    position: absolute;
    bottom: var(--fm-space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--fm-space-3);
    z-index: 101;
}

.fm-dot {
    width: 12px;
    height: 12px;
    background: rgb(255 255 255 / 40%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fm-dot--active {
    background: #00d4aa;
    transform: scale(1.2);
}

.fm-dot:hover {
    background: rgb(255 255 255 / 60%);
}

/* Progress Bar */
.fm-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgb(255 255 255 / 20%);
    z-index: 99;
}

.fm-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00d4aa, #00b386);
    width: 0%;
    transition: width 0.3s ease;
}

/* Responsive Design */
@media (width <= 1024px) {
    .fm-hero-slider {
        height: 100vh;
    }
    
    .fm-slide-layout {
        gap: var(--fm-space-8);
        grid-template-columns: 1fr 55%;
    }
    
    /* .fm-slide-image-box - altezza rimossa, gestita dal contenuto */
    
    .fm-slide-inner {
        max-width: 100%;
    }
    
    .fm-slide-highlights {
        gap: var(--fm-space-6);
    }
    
    .fm-highlight-number {
        font-size: var(--fm-font-size-2xl);
    }
}

@media (width <= 768px) {
    .fm-hero-slider {
        height: auto;
        max-height: none;
        background: white;
        overflow: hidden;
    }
    
    /* Rimosso - gestito nella definizione mobile unificata */
    
    .fm-slide-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
        max-width: 100%;
        position: relative;
    }
    
    .fm-slide-image-box {
        order: -1;
        margin-bottom: 0;
        position: relative;
        z-index: 1;
    }
    
    .fm-slide-content {
        text-align: center;
    }
    
    /* Mobile Layout: Mantiene funzionalità slider con transizioni */
    .fm-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: var(--fm-space-3) var(--fm-space-4);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.6s ease, visibility 0.6s ease;
        z-index: 1;
    }
    
    .fm-slide.fm-slide--active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }
    
    /* Rimosso - unificato con .fm-slide-image-box */
    
    .fm-slide-img {
        object-position: center center;
        object-fit: cover;
    }
    
    .fm-slide-content {
        position: relative;
        z-index: 2;
        display: block;
        height: auto;
        padding: var(--fm-space-6) var(--fm-space-4) var(--fm-space-4);
        background: linear-gradient(
            to bottom,
            rgb(255 255 255 / 80%) 0%,
            rgb(255 255 255 / 95%) 30%,
            rgb(255 255 255 / 98%) 100%
        );
        margin-top: -40px;
        border-radius: var(--fm-radius-2xl) var(--fm-radius-2xl) 0 0;
        backdrop-filter: blur(8px);
        box-shadow: 0 -8px 20px rgb(0 0 0 / 8%);
    }
    
    /* Fix container width on mobile */
    .fm-slide-content .fm-container {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
    }
    
    .fm-slide-inner {
        max-width: 100%;
        width: 100%;
        color: var(--fm-color-text-primary);
        text-align: center;
        padding: 0;
        box-sizing: border-box;
    }
    
    /* Mantiene animazioni per mobile - usa le stesse transizioni del desktop */
    .fm-slide-badge {
        transform: translateX(-30px);
        opacity: 0;
        transition: all 0.6s ease 0.2s;
    }
    
    .fm-slide--active .fm-slide-badge {
        transform: translateX(0);
        opacity: 1;
    }
    
    .fm-slide-title {
        transform: translateX(-30px);
        opacity: 0;
        transition: all 0.6s ease 0.4s;
    }
    
    .fm-slide--active .fm-slide-title {
        transform: translateX(0);
        opacity: 1;
    }
    
    .fm-slide-description {
        transform: translateX(-30px);
        opacity: 0;
        transition: all 0.6s ease 0.6s;
    }
    
    .fm-slide--active .fm-slide-description {
        transform: translateX(0);
        opacity: 1;
    }
    
    .fm-slide-highlights {
        transform: translateY(30px);
        opacity: 0;
        transition: all 0.6s ease 0.8s;
    }
    
    .fm-slide--active .fm-slide-highlights {
        transform: translateY(0);
        opacity: 1;
    }
    
    .fm-slide-actions {
        transform: translateY(30px);
        opacity: 0;
        transition: all 0.6s ease 1s;
    }
    
    .fm-slide--active .fm-slide-actions {
        transform: translateY(0);
        opacity: 1;
    }
    
    .fm-slide-badge {
        display: none;
    }
    
    .fm-slide-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: var(--fm-space-3);
        line-height: 1.1;
    }
    
    .fm-slide-description {
        font-size: 0.9rem;
        margin-bottom: var(--fm-space-4);
        line-height: 1.5;
        opacity: 0.95;
        padding: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .fm-slide-highlights {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--fm-space-4);
        margin-bottom: var(--fm-space-8);
        text-align: center;
    }
    
    .fm-highlight-item {
        padding: var(--fm-space-3);
        background: rgb(255 255 255 / 90%);
        border-radius: var(--fm-radius-lg);
        backdrop-filter: blur(10px);
        color: var(--fm-color-text-primary);
    }
    
    .fm-highlight-number {
        font-size: var(--fm-font-size-xl);
        margin-bottom: var(--fm-space-1);
        color: var(--fm-color-primary);
    }
    
    .fm-highlight-label {
        font-size: 0.75rem;
    }
    
    .fm-slide-highlights {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--fm-space-3);
        margin-bottom: var(--fm-space-8);
    }
    
    .fm-highlight-item {
        justify-content: center;
        padding: var(--fm-space-4);
        background: rgb(255 255 255 / 90%);
        color: var(--fm-color-text-primary);
    }
    
    .fm-slide-highlights {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--fm-space-2);
        margin-bottom: var(--fm-space-4);
        justify-items: center;
    }
    
    /* Layout 2+1: primi due elementi su prima riga, terzo centrato sotto */
    .fm-slide-highlights .fm-highlight-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    
    .fm-slide-highlights .fm-highlight-item:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
    
    .fm-slide-highlights .fm-highlight-item:nth-child(3) {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        max-width: 50%;
    }
    
    .fm-highlight-item {
        padding: var(--fm-space-2);
        background: rgb(255 255 255 / 95%);
        color: var(--fm-color-text-primary);
        text-align: center;
        font-size: 0.8rem;
        border-radius: var(--fm-radius-md);
    }
    
    .fm-highlight-icon {
        width: 18px;
        height: 18px;
        margin-bottom: var(--fm-space-1);
    }
    
    .fm-highlight-number {
        font-size: var(--fm-font-size-lg);
        margin-bottom: var(--fm-space-1);
    }
    
    .fm-highlight-label {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .fm-slide-actions {
        display: flex;
        justify-content: center;
        margin-top: var(--fm-space-3);
    }
    
    .fm-btn {
        padding: var(--fm-space-3) var(--fm-space-6);
        font-size: 0.9rem;
        min-width: 200px;
    }
    
    .fm-btn {
        justify-content: center;
        width: 100%;
        padding: var(--fm-space-4) var(--fm-space-6);
        font-size: var(--fm-font-size-base);
        font-weight: 600;
    }
    
    /* Navigation adjustments for mobile */
    .fm-slider-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        padding: 0 var(--fm-space-4);
        z-index: 102;
    }
    
    .fm-nav-btn {
        width: 44px;
        height: 44px;
        background: rgb(0 0 0 / 50%);
        backdrop-filter: blur(10px);
    }
    
    .fm-nav-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .fm-slider-dots {
        position: absolute;
        bottom: var(--fm-space-6);
        left: 50%;
        transform: translateX(-50%);
        z-index: 101;
    }
    
    .fm-slider-progress {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 20;
    }
}

@media (width <= 480px) {
    .fm-hero-slider {
        height: 100vh;
    }
    
    /* .fm-slide-image-box - altezza rimossa, gestita dal contenuto */
    
    .fm-slide-img {
        object-position: center center;
        object-fit: cover;
    }
    
    /* Definizione rimossa - gestita nella media query principale */
    
    /* Ensure container takes full width on small screens */
    .fm-slide-content .fm-container {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
    }
    
    .fm-slide-inner {
        width: 100%;
        padding: 0 var(--fm-space-1);
    }
    
    .fm-slide-badge {
        display: none;
    }
    
    .fm-slide-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
        margin-bottom: var(--fm-space-3);
        line-height: 1.15;
    }
    
    .fm-slide-description {
        font-size: 0.875rem;
        margin-bottom: var(--fm-space-5);
        line-height: 1.5;
        padding: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .fm-slide-highlights {
        grid-template-columns: 1fr;
        gap: var(--fm-space-3);
        margin-bottom: var(--fm-space-6);
    }
    
    .fm-highlight-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: var(--fm-space-3) var(--fm-space-4);
        background: rgb(255 255 255 / 90%);
        color: var(--fm-color-text-primary);
        border-radius: var(--fm-radius-lg);
    }
    
    .fm-highlight-number {
        font-size: var(--fm-font-size-lg);
        margin-bottom: 0;
        color: var(--fm-color-primary);
    }
    
    .fm-highlight-label {
        font-size: 0.75rem;
        opacity: 0.9;
    }
    
    .fm-slide-highlights {
        margin-bottom: var(--fm-space-6);
    }
    
    .fm-highlight-item {
        padding: var(--fm-space-3) var(--fm-space-4);
        font-size: 0.875rem;
        background: rgb(255 255 255 / 90%);
        color: var(--fm-color-text-primary);
    }
    
    .fm-slide-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--fm-space-2);
        margin-bottom: var(--fm-space-6);
    }
    
    .fm-highlight-item {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: var(--fm-space-3) var(--fm-space-4);
        font-size: 0.875rem;
        background: rgb(255 255 255 / 90%);
        color: var(--fm-color-text-primary);
    }
    
    .fm-highlight-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
    
    .fm-highlight-icon svg {
        fill: var(--fm-color-primary);
    }
    
    .fm-slide-actions {
        gap: var(--fm-space-3);
    }
    
    .fm-btn {
        padding: var(--fm-space-3) var(--fm-space-5);
        font-size: 0.875rem;
        font-weight: 600;
    }
    
    .fm-btn-icon {
        width: 16px;
        height: 16px;
    }
    
    /* Navigation for small screens */
    .fm-slider-nav {
        top: 110px;
        padding: 0 var(--fm-space-3);
    }
    
    .fm-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .fm-nav-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .fm-slider-dots {
        bottom: var(--fm-space-4);
    }
    
    .fm-dot {
        width: 10px;
        height: 10px;
    }
}

/* Performance Optimizations */
.fm-slide-img {
    will-change: transform;
    backface-visibility: hidden;
    backface-visibility: hidden;
}

.fm-slide {
    will-change: transform, opacity;
    backface-visibility: hidden;
    backface-visibility: hidden;
}

/* High DPI Display Support */
@media (min-device-pixel-ratio: 2), (resolution >= 192dpi) {
    .fm-slide-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Desktop unificato - rimosso per evitare conflitti */

/* Desktop standard - rimosso per evitare conflitti */

/* Desktop large - rimosso per evitare conflitti */

/* Desktop ottimizzato - unificato per tutti gli schermi grandi */
@media (width >= 1025px) {
    .fm-hero-slider {
        height: 100vh;
    }
    
    /* .fm-slide-image-box - altezza rimossa, gestita dal contenuto */
    
    .fm-slide-layout {
        gap: clamp(var(--fm-space-10), 2vw, var(--fm-space-16));
        max-width: min(1400px, 90vw);
    }
    
    .fm-slide-title {
        font-size: clamp(2.5rem, 4vw, 3.8rem);
    }
}

/* Small landscape phones */
@media (width <= 640px) and (orientation: landscape) {
    .fm-hero-slider {
        height: 100vh;
    }
    
    .fm-slide-content {
        padding: var(--fm-space-8) 0;
    }
    
    .fm-slide-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: var(--fm-space-3);
    }
    
    .fm-slide-description {
        font-size: 0.875rem;
        margin-bottom: var(--fm-space-4);
    }
    
    .fm-slide-highlights,
    .fm-slide-highlights,
    .fm-slide-highlights {
        margin-bottom: var(--fm-space-6);
    }
}

/* Extra small devices */
@media (width <= 320px) {
    .fm-slide-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    
    .fm-slide-badge {
        display: none;
    }
    
    .fm-highlight-item,
    .fm-highlight-item {
        padding: var(--fm-space-2) var(--fm-space-3);
        font-size: 0.75rem;
    }
    
    .fm-btn {
        padding: var(--fm-space-3) var(--fm-space-4);
        font-size: 0.875rem;
    }
}

/* Dark mode support */

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .fm-slide,
    .fm-slide-img,
    .fm-slide-badge,
    .fm-slide-title,
    .fm-slide-description,
    .fm-slide-highlights,
    .fm-slide-actions,
    .fm-nav-btn,
    .fm-dot,
    .fm-btn {
        transition: none !important;
        animation: none !important;
    }
    
    .fm-slide--active .fm-slide-badge,
    .fm-slide--active .fm-slide-title,
    .fm-slide--active .fm-slide-description,
    .fm-slide--active .fm-slide-highlights,
    .fm-slide--active .fm-slide-actions {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Focus styles for accessibility */
.fm-nav-btn:focus,
.fm-dot:focus,
.fm-btn:focus {
    outline: 2px solid #00d4aa;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .fm-hero-slider {
        height: auto !important;
        min-height: auto !important;
        page-break-inside: avoid;
    }
    
    .fm-slide {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
    
    .fm-slide:not(:first-child) {
        display: none;
    }
    
    .fm-slider-nav,
    .fm-slider-dots,
    .fm-slider-progress {
        display: none !important;
    }
}

/* ===================================================================
   TYPOGRAPHY SYSTEM
   =================================================================== */

/* ===================================================================
   BUTTON SYSTEM
   =================================================================== */

.fm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--fm-space-4) var(--fm-space-8);
    font-family: var(--fm-font-family-body);
    font-size: var(--fm-font-size-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--fm-radius-full);
    transition: var(--fm-transition-normal);
    cursor: pointer;
    border: none;
    min-width: 160px;
}

.fm-btn--primary {
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    box-shadow: var(--fm-shadow-md);
}

.fm-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--fm-shadow-lg);
    color: white;
    text-decoration: none;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */

/* ===================================================================
   VALUES SECTION
   =================================================================== */

/* Layout specifico: 2 card al 50% sopra, 3 card al 33% sotto */

/* ===================================================================
   LABORATORY SECTION
   =================================================================== */

/* ===================================================================
   CERTIFICATIONS SECTION
   =================================================================== */

/* ===================================================================
   CTA SECTION
   =================================================================== */

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */

@media (width <= 768px) {
    :root {
        --fm-font-size-4xl: 2rem;
        --fm-font-size-3xl: 1.75rem;
        --fm-font-size-2xl: 1.5rem;
        --fm-space-16: 2.5rem;
        --fm-space-20: 3rem;
        --fm-space-24: 4rem;
    }
    
    .fm-container {
        padding: 0 var(--fm-space-3);
        max-width: calc(100% - var(--fm-space-6));
        box-sizing: border-box;
    }
    
    /* Reset grid-column su mobile */
}

@media (width <= 480px) {
    .fm-container {
        padding: 0 var(--fm-space-2);
        max-width: calc(100% - var(--fm-space-4));
        box-sizing: border-box;
    }
    
    .fm-btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (width <= 360px) {
    .fm-container {
        padding: 0 var(--fm-space-1);
        max-width: calc(100% - var(--fm-space-2));
        box-sizing: border-box;
    }
}

/* ===================================================================
   LABORATORIO PAGE - NUOVI LAYOUT DISTINTIVI
   =================================================================== */

/* ===================================================================
   LAB HERO SECTION - Layout Asimmetrico
   =================================================================== */

.fm-lab-hero {
    padding: var(--fm-space-24) 0;
    background: linear-gradient(135deg, #f8fffe 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
    margin: 0;
}

.fm-lab-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgb(0 156 113 / 8%) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.fm-lab-hero-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: var(--fm-space-20);
    align-items: center;
    position: relative;
    z-index: 2;
}

.fm-lab-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    padding: 12px 24px;
    border-radius: var(--fm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--fm-space-8);
    box-shadow: var(--fm-shadow-md);
}

.fm-lab-hero-title {
    font-family: var(--fm-font-family-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-8);
}

.fm-lab-hero-highlight {
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.fm-lab-hero-subtitle {
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-12);
}

.fm-lab-stats {
    display: flex;
    gap: var(--fm-space-8);
    margin-bottom: var(--fm-space-12);
}

.fm-lab-stat {
    text-align: center;
    padding: var(--fm-space-6);
    background: white;
    border-radius: var(--fm-radius-xl);
    box-shadow: var(--fm-shadow-md);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
    position: relative;
    overflow: hidden;
}

.fm-lab-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fm-color-primary), var(--fm-color-primary-light));
}

.fm-lab-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--fm-shadow-lg);
}

.fm-lab-stat-number {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-3xl);
    font-weight: 700;
    color: var(--fm-color-primary);
    line-height: 1;
}

.fm-lab-stat-label {
    font-size: 0.875rem;
    color: var(--fm-color-text-secondary);
    font-weight: 500;
    margin-top: var(--fm-space-2);
}

.fm-lab-hero-actions {
    display: flex;
    gap: var(--fm-space-6);
    margin-bottom: var(--fm-space-12);
}

.fm-lab-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    padding: var(--fm-space-4) var(--fm-space-8);
    font-family: var(--fm-font-family-body);
    font-size: var(--fm-font-size-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--fm-radius-full);
    transition: var(--fm-transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.fm-lab-btn--primary {
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    box-shadow: var(--fm-shadow-md);
}

.fm-lab-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--fm-shadow-lg);
    color: white;
    text-decoration: none;
}

.fm-lab-btn--outline {
    background: transparent;
    color: var(--fm-color-primary);
    border-color: var(--fm-color-primary);
}

.fm-lab-btn--outline:hover {
    background: var(--fm-color-primary);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.fm-lab-hero-visual {
    position: relative;
}

.fm-lab-hero-image-wrapper {
    position: relative;
    border-radius: var(--fm-radius-2xl);
    overflow: hidden;
    box-shadow: var(--fm-shadow-xl);
    transition: var(--fm-transition-normal);
}

.fm-lab-hero-image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%);
}

.fm-lab-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.fm-lab-hero-overlay {
    position: absolute;
    bottom: var(--fm-space-6);
    left: var(--fm-space-6);
    right: var(--fm-space-6);
    background: rgb(255 255 255 / 95%);
    backdrop-filter: blur(10px);
    border-radius: var(--fm-radius-lg);
    padding: var(--fm-space-4);
    box-shadow: var(--fm-shadow-md);
}

.fm-lab-hero-overlay-content {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    font-weight: 600;
    color: var(--fm-color-primary);
    font-size: 0.875rem;
}

.fm-lab-hero-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    pointer-events: none;
}

.fm-lab-hero-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    opacity: 0.1;
}

.fm-lab-hero-circle--1 {
    width: 120px;
    height: 120px;
    top: 0;
    right: 0;
    animation: float 6s ease-in-out infinite;
}

.fm-lab-hero-circle--2 {
    width: 80px;
    height: 80px;
    top: 60px;
    right: 80px;
    animation: float 8s ease-in-out infinite reverse;
}

.fm-lab-hero-circle--3 {
    width: 40px;
    height: 40px;
    top: 120px;
    right: 40px;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ===================================================================
   LAB PROCESS SECTION - Timeline Layout
   =================================================================== */

.fm-lab-process {
    padding: var(--fm-space-24) 0;
    background: var(--fm-color-background);
    position: relative;
    margin: 0;
}

.fm-lab-process-header {
    text-align: center;
    margin-bottom: var(--fm-space-20);
}

.fm-lab-process-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-3xl);
    font-weight: 700;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-6);
}

.fm-lab-process-highlight {
    color: var(--fm-color-primary);
}

.fm-lab-process-subtitle {
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    max-width: 800px;
    margin: 0 auto;
}

.fm-lab-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto var(--fm-space-20) auto;
}

.fm-lab-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--fm-color-primary), var(--fm-color-primary-light));
    transform: translateX(-50%);
    border-radius: 2px;
}

.fm-lab-timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--fm-space-16);
    position: relative;
}

.fm-lab-timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.fm-lab-timeline-item:nth-child(even) .fm-lab-timeline-content {
    text-align: right;
}

.fm-lab-timeline-marker {
    position: relative;
    z-index: 2;
    margin: 0 var(--fm-space-8);
}

.fm-lab-timeline-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--fm-color-primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--fm-shadow-md);
    z-index: 5;
}

.fm-lab-timeline-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 4px solid var(--fm-color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fm-font-size-xl);
    color: var(--fm-color-primary);
    box-shadow: var(--fm-shadow-lg);
    transition: var(--fm-transition-normal);
}

.fm-lab-timeline-item:hover .fm-lab-timeline-icon {
    transform: scale(1.1);
    background: var(--fm-color-primary);
    color: white;
}

.fm-lab-timeline-content {
    flex: 1;
    background: white;
    padding: var(--fm-space-8);
    border-radius: var(--fm-radius-xl);
    box-shadow: var(--fm-shadow-md);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
    position: relative;
    overflow: hidden;
}

.fm-lab-timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fm-color-primary), var(--fm-color-primary-light));
    transform: scaleX(0);
    transition: var(--fm-transition-normal);
}

.fm-lab-timeline-item:hover .fm-lab-timeline-content {
    transform: translateY(-4px);
    box-shadow: var(--fm-shadow-lg);
}

.fm-lab-timeline-item:hover .fm-lab-timeline-content::before {
    transform: scaleX(1);
}

.fm-lab-timeline-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-xl);
    font-weight: 600;
    color: var(--fm-color-primary);
    margin-bottom: var(--fm-space-4);
}

.fm-lab-timeline-text {
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-6);
}

.fm-lab-timeline-features {
    display: flex;
    gap: var(--fm-space-4);
    flex-wrap: wrap;
}

.fm-lab-timeline-feature {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: var(--fm-color-background-alt);
    padding: var(--fm-space-2) var(--fm-space-4);
    border-radius: var(--fm-radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fm-color-text-primary);
}

.fm-lab-timeline-feature i {
    color: var(--fm-color-primary);
    font-size: 0.75rem;
}

.fm-lab-types {
    padding: var(--fm-space-24) 0;
    background: var(--fm-color-background-alt);
    margin: 0;
    text-align: center;
}

.fm-lab-types-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-2xl);
    font-weight: 600;
    color: var(--fm-color-primary);
    margin-bottom: var(--fm-space-8);
}

.fm-lab-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fm-space-8);
    max-width: 600px;
    margin: 0 auto;
}

.fm-lab-type-card {
    background: white;
    padding: var(--fm-space-8);
    border-radius: var(--fm-radius-xl);
    box-shadow: var(--fm-shadow-md);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
    text-align: center;
}

.fm-lab-type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fm-shadow-lg);
}

.fm-lab-type-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--fm-space-4) auto;
    font-size: var(--fm-font-size-lg);
    color: white;
}

.fm-lab-type-title {
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-2);
}

.fm-lab-type-text {
    color: var(--fm-color-text-secondary);
    font-size: 0.875rem;
    line-height: var(--fm-line-height-normal);
}

/* A cosa servono i Farmaci Galenici */
.fm-lab-uses {
    padding: var(--fm-space-24) 0;
    background: var(--fm-color-background);
    margin: 0;
    text-align: center;
}

.fm-lab-uses-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-2xl);
    font-weight: 600;
    color: var(--fm-color-primary);
    margin-bottom: var(--fm-space-12);
}

.fm-lab-uses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--fm-space-8);
}

.fm-lab-use-card {
    background: white;
    padding: var(--fm-space-8);
    border-radius: var(--fm-radius-xl);
    box-shadow: var(--fm-shadow-md);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
    text-align: center;
}

.fm-lab-use-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fm-shadow-lg);
}

.fm-lab-use-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--fm-space-4) auto;
    font-size: var(--fm-font-size-lg);
    color: white;
}

.fm-lab-use-title {
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-2);
}

.fm-lab-use-text {
    color: var(--fm-color-text-secondary);
    font-size: 0.875rem;
    line-height: var(--fm-line-height-normal);
}

/* ===================================================================
   LAB FORMS SECTION - Griglia Interattiva
   =================================================================== */

.fm-lab-forms {
    padding: var(--fm-space-24) 0;
    background: #f8fafc;
    margin: 0;
}

.fm-lab-forms-header {
    text-align: center;
    margin-bottom: var(--fm-space-20);
}

.fm-lab-forms-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-3xl);
    font-weight: 700;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-6);
}

.fm-lab-forms-highlight {
    color: var(--fm-color-primary);
}

.fm-lab-forms-subtitle {
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    max-width: 800px;
    margin: 0 auto;
}

.fm-lab-forms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fm-space-12);
}

.fm-lab-form-category {
    background: white;
    border-radius: var(--fm-radius-2xl);
    padding: var(--fm-space-10);
    box-shadow: var(--fm-shadow-lg);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
    position: relative;
    overflow: hidden;
}

.fm-lab-form-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fm-color-primary), var(--fm-color-primary-light));
    transform: scaleX(0);
    transition: var(--fm-transition-normal);
}

.fm-lab-form-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--fm-shadow-xl);
}

.fm-lab-form-category:hover::before {
    transform: scaleX(1);
}

.fm-lab-form-category-header {
    display: flex;
    align-items: center;
    gap: var(--fm-space-4);
    margin-bottom: var(--fm-space-8);
}

.fm-lab-form-category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    border-radius: var(--fm-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fm-font-size-xl);
    color: white;
    box-shadow: var(--fm-shadow-md);
    transition: var(--fm-transition-normal);
}

.fm-lab-form-category:hover .fm-lab-form-category-icon {
    transform: scale(1.1) rotate(5deg);
}

.fm-lab-form-category-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-xl);
    font-weight: 600;
    color: var(--fm-color-text-primary);
}

.fm-lab-form-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--fm-space-4);
}

.fm-lab-form-item {
    display: flex;
    align-items: center;
    gap: var(--fm-space-3);
    padding: var(--fm-space-4);
    background: var(--fm-color-background-alt);
    border-radius: var(--fm-radius-lg);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
}

.fm-lab-form-item:hover {
    background: white;
    transform: translateX(4px);
    box-shadow: var(--fm-shadow-md);
}

.fm-lab-form-item i {
    color: var(--fm-color-primary);
    font-size: var(--fm-font-size-base);
    width: 20px;
    text-align: center;
}

.fm-lab-form-item span {
    font-weight: 500;
    color: var(--fm-color-text-primary);
    font-size: 0.875rem;
}

.fm-lab-specializations {
    margin-top: var(--fm-space-20);
    text-align: center;
}

.fm-lab-specializations-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-2xl);
    font-weight: 600;
    color: var(--fm-color-primary);
    margin-bottom: var(--fm-space-12);
}

.fm-lab-specializations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--fm-space-8);
}

.fm-lab-specialization-card {
    background: white;
    padding: var(--fm-space-8);
    border-radius: var(--fm-radius-xl);
    box-shadow: var(--fm-shadow-md);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
    text-align: center;
}

.fm-lab-specialization-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fm-shadow-lg);
}

.fm-lab-specialization-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--fm-space-4) auto;
    font-size: var(--fm-font-size-base);
    color: white;
    transition: var(--fm-transition-normal);
}

.fm-lab-specialization-card:hover .fm-lab-specialization-icon {
    transform: scale(1.1);
}

.fm-lab-specialization-title {
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-2);
    font-size: 0.875rem;
}

.fm-lab-specialization-text {
    color: var(--fm-color-text-secondary);
    font-size: 0.75rem;
    line-height: var(--fm-line-height-normal);
}

/* ===================================================================
   LAB CERTIFICATIONS SECTION - Showcase Premium
   =================================================================== */

.fm-lab-certifications {
    padding: var(--fm-space-24) 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    position: relative;
    margin: 0;
}

.fm-lab-cert-header {
    text-align: center;
    margin-bottom: var(--fm-space-20);
}

.fm-lab-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    padding: 12px 24px;
    border-radius: var(--fm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--fm-space-8);
    box-shadow: var(--fm-shadow-md);
}

.fm-lab-cert-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-3xl);
    font-weight: 700;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-6);
}

.fm-lab-cert-highlight {
    color: var(--fm-color-primary);
}

.fm-lab-cert-subtitle {
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    max-width: 800px;
    margin: 0 auto;
}

.fm-lab-cert-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fm-space-12);
    margin-bottom: var(--fm-space-20);
}

.fm-lab-cert-premium {
    background: white;
    border-radius: var(--fm-radius-2xl);
    padding: var(--fm-space-12);
    box-shadow: var(--fm-shadow-xl);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
    position: relative;
    overflow: hidden;
}

.fm-lab-cert-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--fm-color-primary), var(--fm-color-primary-light));
}

.fm-lab-cert-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%);
}

.fm-lab-cert-premium-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--fm-space-8);
    flex-wrap: wrap;
    gap: var(--fm-space-4);
}

.fm-lab-cert-premium-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    border-radius: var(--fm-radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fm-font-size-2xl);
    color: white;
    box-shadow: var(--fm-shadow-lg);
    transition: var(--fm-transition-normal);
}

.fm-lab-cert-premium:hover .fm-lab-cert-premium-badge {
    transform: scale(1.1) rotate(5deg);
}

.fm-lab-cert-premium-info {
    flex: 1;
    margin-left: var(--fm-space-6);
}

.fm-lab-cert-premium-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-2xl);
    font-weight: 700;
    color: var(--fm-color-primary);
    margin-bottom: var(--fm-space-2);
}

.fm-lab-cert-premium-category {
    color: var(--fm-color-text-secondary);
    font-weight: 500;
    font-size: var(--fm-font-size-base);
}

.fm-lab-cert-premium-status {
    display: flex;
    align-items: center;
}

.fm-lab-cert-status-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: var(--fm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--fm-shadow-md);
}

.fm-lab-cert-premium-content {
    margin-bottom: var(--fm-space-8);
}

.fm-lab-cert-premium-description {
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-8);
    font-size: var(--fm-font-size-base);
}

.fm-lab-cert-premium-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--fm-space-4);
}

.fm-lab-cert-feature {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: var(--fm-color-background-alt);
    padding: var(--fm-space-3) var(--fm-space-4);
    border-radius: var(--fm-radius-lg);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
}

.fm-lab-cert-feature:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--fm-shadow-md);
}

.fm-lab-cert-feature i {
    color: var(--fm-color-primary);
    font-size: 0.875rem;
}

.fm-lab-cert-feature span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fm-color-text-primary);
}

.fm-lab-cert-premium-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--fm-space-4);
}

.fm-lab-cert-download-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    padding: var(--fm-space-4) var(--fm-space-8);
    border-radius: var(--fm-radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--fm-font-size-base);
    transition: var(--fm-transition-normal);
    box-shadow: var(--fm-shadow-md);
}

.fm-lab-cert-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--fm-shadow-lg);
    text-decoration: none;
    color: white;
}

.fm-lab-cert-validity {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    color: var(--fm-color-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.fm-lab-cert-validity i {
    color: var(--fm-color-primary);
}

.fm-lab-cert-benefits {
    text-align: center;
}

.fm-lab-cert-benefits-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-2xl);
    font-weight: 600;
    color: var(--fm-color-primary);
    margin-bottom: var(--fm-space-12);
}

.fm-lab-cert-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--fm-space-8);
}

.fm-lab-cert-benefit {
    background: white;
    padding: var(--fm-space-8);
    border-radius: var(--fm-radius-xl);
    box-shadow: var(--fm-shadow-md);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
    text-align: center;
}

.fm-lab-cert-benefit:hover {
    transform: translateY(-6px);
    box-shadow: var(--fm-shadow-lg);
}

.fm-lab-cert-benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--fm-space-4) auto;
    font-size: var(--fm-font-size-lg);
    color: white;
    transition: var(--fm-transition-normal);
}

.fm-lab-cert-benefit:hover .fm-lab-cert-benefit-icon {
    transform: scale(1.1);
}

.fm-lab-cert-benefit-title {
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-2);
    font-size: 0.875rem;
}

.fm-lab-cert-benefit-text {
    color: var(--fm-color-text-secondary);
    font-size: 0.75rem;
    line-height: var(--fm-line-height-normal);
}

/* ===================================================================
   LAB CTA SECTION - Layout Distintivo
   =================================================================== */

.fm-lab-cta {
    padding: var(--fm-space-24) 0;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    position: relative;
    margin: 0 0 var(--fm-space-24) 0;
    overflow: hidden;
}

.fm-lab-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgb(255 255 255 / 10%) 0%, transparent 70%);
    transform: rotate(15deg);
    pointer-events: none;
}

.fm-lab-cta-wrapper {
    background: white;
    border-radius: var(--fm-radius-2xl);
    padding: var(--fm-space-16);
    box-shadow: var(--fm-shadow-xl);
    position: relative;
    z-index: 2;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.fm-lab-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    padding: 12px 24px;
    border-radius: var(--fm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--fm-space-8);
    box-shadow: var(--fm-shadow-md);
}

.fm-lab-cta-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-3xl);
    font-weight: 700;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-6);
    line-height: var(--fm-line-height-tight);
}

.fm-lab-cta-highlight {
    color: var(--fm-color-primary);
}

.fm-lab-cta-text {
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-12);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================================================
   FORM CONTATTO - STILI PER ELEMENTOR PRO FORM
   =================================================================== */

.fm-lab-contact-form {
    margin: var(--fm-space-8) 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Container del form - prevenire overflow */
.fm-lab-contact-form .fm-lab-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Ridurre padding del container form su mobile */
@media (width <= 480px) {
    .fm-lab-contact-form {
        margin: var(--fm-space-4) 0;
    }
    
    /* Drag and Drop Multiple File Upload responsive */
    .fm-lab-form .mfile-dropzone {
        padding: var(--fm-space-4);
        margin-bottom: var(--fm-space-3);
    }
    
    .fm-lab-form .mfile-dropzone::before {
        font-size: 0.9rem;
    }
    
    .fm-lab-form .mfile-dropzone::after {
        font-size: 0.75rem;
    }
    
    .fm-lab-form .mfile-list {
        padding: var(--fm-space-3);
        margin-top: var(--fm-space-3);
    }
    
    .fm-lab-form .mfile-item {
        padding: var(--fm-space-2);
        font-size: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--fm-space-2);
    }
    
    .fm-lab-form .mfile-item-info {
        width: 100%;
        margin-bottom: var(--fm-space-2);
    }
    
    .fm-lab-form .mfile-remove {
        align-self: flex-end;
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
}

/* Assicurarsi che tutti gli elementi del form rispettino i limiti */
.fm-lab-form * {
    box-sizing: border-box;
    max-width: 100%;
}

/* Stili per il campo Drag and Drop Multiple File Upload */
.fm-lab-form .wpcf7-mfile {
    width: 100%;
    margin-bottom: var(--fm-space-4);
}

.fm-lab-form .mfile-dropzone {
    border: 2px dashed var(--fm-color-border);
    border-radius: var(--fm-radius-lg);
    padding: var(--fm-space-8);
    text-align: center;
    background: var(--fm-color-background-alt);
    transition: var(--fm-transition-normal);
    margin-bottom: var(--fm-space-4);
    cursor: pointer;
    position: relative;
}

.fm-lab-form .mfile-dropzone:hover,
.fm-lab-form .mfile-dropzone.dragover {
    border-color: var(--fm-color-primary);
    background: rgb(0 156 113 / 5%);
}

.fm-lab-form .mfile-dropzone::before {
    content: "📁 Trascina i file qui o clicca per selezionare";
    display: block;
    font-size: var(--fm-font-size-base);
    color: var(--fm-color-text-secondary);
    margin-bottom: var(--fm-space-2);
}

.fm-lab-form .mfile-dropzone::after {
    content: "Formati supportati: PDF, JPG, PNG, DOC, DOCX (max 10MB per file)";
    display: block;
    font-size: 0.875rem;
    color: var(--fm-color-text-muted);
    font-style: italic;
}

.fm-lab-form .mfile-list {
    margin-top: var(--fm-space-4);
    padding: var(--fm-space-4);
    background: white;
    border-radius: var(--fm-radius-lg);
    border: 1px solid var(--fm-color-border-light);
}

.fm-lab-form .mfile-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--fm-space-3);
    margin-bottom: var(--fm-space-2);
    background: var(--fm-color-background-alt);
    border-radius: var(--fm-radius-md);
    font-size: 0.875rem;
    border: 1px solid var(--fm-color-border-light);
}

.fm-lab-form .mfile-item:last-child {
    margin-bottom: 0;
}

.fm-lab-form .mfile-item-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fm-lab-form .mfile-item-name {
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-1);
}

.fm-lab-form .mfile-item-size {
    font-size: 0.75rem;
    color: var(--fm-color-text-secondary);
}

.fm-lab-form .mfile-remove {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: var(--fm-transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fm-lab-form .mfile-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.fm-lab-form .mfile-progress {
    width: 100%;
    height: 4px;
    background: var(--fm-color-border-light);
    border-radius: 2px;
    overflow: hidden;
    margin-top: var(--fm-space-2);
}

.fm-lab-form .mfile-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--fm-color-primary), var(--fm-color-primary-light));
    transition: width 0.3s ease;
}

/* Placeholder temporaneo */

/* ===================================================================
   CONTACT FORM 7 - STILI SPECIFICI
   =================================================================== */

/* Stili per Contact Form 7 - Applica classe "fm-lab-form" */

.fm-lab-form .fm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fm-space-4);
    margin-bottom: var(--fm-space-4);
}

.fm-lab-form .fm-form-col {
    display: flex;
    flex-direction: column;
}

/* Stili unificati per tutti gli input */
.fm-lab-form input[type="text"],
.fm-lab-form input[type="email"],
.fm-lab-form input[type="tel"],
.fm-lab-form textarea {
    width: 100%;
    padding: var(--fm-space-4);
    border: 2px solid var(--fm-color-border);
    border-radius: var(--fm-radius-lg);
    font-size: var(--fm-font-size-base);
    transition: var(--fm-transition-normal);
    background: var(--fm-color-background);
    color: var(--fm-color-text-primary);
    font-family: inherit;
    box-sizing: border-box;
    margin-bottom: 0;
}

.fm-lab-form input[type="text"]:focus,
.fm-lab-form input[type="email"]:focus,
.fm-lab-form input[type="tel"]:focus,
.fm-lab-form textarea:focus {
    border-color: var(--fm-color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgb(0 156 113 / 10%);
    background: white;
}

.fm-lab-form textarea {
    min-height: 120px;
    resize: vertical;
}

.fm-lab-form .fm-delivery-options {
    margin: var(--fm-space-4) 0;
    padding: var(--fm-space-4);
    background: var(--fm-color-background-alt);
    border-radius: var(--fm-radius-lg);
    border: 1px solid var(--fm-color-border-light);
}

.fm-lab-form .fm-delivery-options > label {
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-3);
    display: block;
}

/* Contenitore radio buttons */

/* Singolo elemento radio */

/* Stato selezionato */

/* Input radio nascosto */

/* Label del radio button */

/* Privacy Policy Section */

.fm-lab-form .fm-privacy-text {
    font-size: 0.875rem;
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-normal);
    margin: 0;
    font-style: italic;
}

.fm-lab-form .fm-privacy-text a {
    color: var(--fm-color-primary);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--fm-transition-normal);
    font-style: normal;
}

.fm-lab-form .fm-privacy-text a:hover {
    color: var(--fm-color-primary-light);
    text-decoration: none;
}

/* Bottone submit */
.fm-lab-form input[type="submit"],
.fm-lab-form .wpcf7-submit {
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    border: none;
    padding: var(--fm-space-4) var(--fm-space-8);
    border-radius: var(--fm-radius-full);
    font-size: var(--fm-font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: var(--fm-transition-normal);
    box-shadow: var(--fm-shadow-md);
    width: 100%;
    max-width: 200px;
    margin: var(--fm-space-4) auto 0 auto;
    display: block;
    box-sizing: border-box;
}

.fm-lab-form input[type="submit"]:hover,
.fm-lab-form .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--fm-shadow-lg);
    background: linear-gradient(135deg, var(--fm-color-primary-dark), var(--fm-color-primary));
}

/* Campo condizionale indirizzo */

/* Responsive Contact Form 7 */
@media (width <= 768px) {
    .fm-lab-form .fm-form-row {
        grid-template-columns: 1fr;
        gap: var(--fm-space-3);
    }
    
    .fm-lab-form {
        padding: var(--fm-space-6);
        margin: 0 var(--fm-space-2);
        box-sizing: border-box;
        max-width: 100%;
        overflow: hidden;
    }
}

@media (width <= 480px) {
    .fm-lab-form {
        padding: var(--fm-space-3);
        margin: 0;
        box-sizing: border-box;
        max-width: 100%;
        overflow: hidden;
        border-radius: var(--fm-radius-lg);
    }
    
    .fm-lab-form input[type="text"],
    .fm-lab-form input[type="email"],
    .fm-lab-form input[type="tel"],
    .fm-lab-form textarea {
        padding: var(--fm-space-2);
        margin-bottom: 0;
        font-size: 0.9rem;
        box-sizing: border-box;
        max-width: 100%;
        border-radius: var(--fm-radius-md);
    }
    
    .fm-lab-form .fm-form-row {
        gap: var(--fm-space-2);
        margin-bottom: var(--fm-space-2);
    }
    
    .fm-lab-form .fm-delivery-options {
        padding: var(--fm-space-2);
        margin: var(--fm-space-2) 0;
        box-sizing: border-box;
    }
    
    .fm-lab-form .fm-privacy-text {
        font-size: 0.75rem;
        padding: 0 var(--fm-space-1);
    }
    
    .fm-lab-form input[type="submit"],
    .fm-lab-form .wpcf7-submit {
        padding: var(--fm-space-2) var(--fm-space-4);
        font-size: 0.9rem;
        max-width: 160px;
        margin: var(--fm-space-2) auto 0 auto;
    }
}

/* Stili per Elementor Pro Form - Applica classe "fm-lab-form" */
.fm-lab-form {
    background: white;
    border-radius: var(--fm-radius-xl);
    padding: var(--fm-space-10);
    box-shadow: var(--fm-shadow-lg);
    border: 1px solid var(--fm-color-border-light);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

/* Campo condizionale indirizzo */

/* Responsive - Override per form container */
@media (width <= 768px) {
    .fm-lab-form {
        padding: var(--fm-space-6);
        margin: 0 var(--fm-space-2);
        max-width: calc(100% - var(--fm-space-4));
    }
}

@media (width <= 480px) {
    .fm-lab-form {
        padding: var(--fm-space-4);
        margin: 0 var(--fm-space-1);
        max-width: calc(100% - var(--fm-space-2));
    }
}

/* ===================================================================
   CHI SIAMO PAGE - LAYOUT MODERNO PROFESSIONALE
   =================================================================== */

/* ===================================================================
   ABOUT HERO SECTION - Layout Asimmetrico
   =================================================================== */

.fm-about-hero {
    padding: var(--fm-space-24) 0;
    background: linear-gradient(135deg, #fafbfc 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
    margin: 0;
}

.fm-about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgb(0 156 113 / 6%) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.fm-about-hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--fm-space-20);
    align-items: center;
    position: relative;
    z-index: 2;
}

.fm-about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    padding: 12px 24px;
    border-radius: var(--fm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--fm-space-8);
    box-shadow: var(--fm-shadow-md);
}

.fm-about-hero-title {
    font-family: var(--fm-font-family-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-8);
}

.fm-about-hero-highlight {
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.fm-about-hero-subtitle {
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-text-primary);
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-6);
    font-weight: 500;
}

.fm-about-hero-description {
    font-size: var(--fm-font-size-base);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-12);
}

.fm-about-stats {
    display: flex;
    gap: var(--fm-space-8);
    margin-bottom: var(--fm-space-12);
}

.fm-about-stat {
    text-align: center;
    padding: var(--fm-space-6);
    background: white;
    border-radius: var(--fm-radius-xl);
    box-shadow: var(--fm-shadow-md);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
    position: relative;
    overflow: hidden;
    min-width: 100px;
}

.fm-about-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fm-color-primary), var(--fm-color-primary-light));
}

.fm-about-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--fm-shadow-lg);
}

.fm-about-stat-number {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-2xl);
    font-weight: 700;
    color: var(--fm-color-primary);
    line-height: 1;
}

.fm-about-stat-label {
    font-size: 0.75rem;
    color: var(--fm-color-text-secondary);
    font-weight: 500;
    margin-top: var(--fm-space-2);
}

.fm-about-hero-visual {
    position: relative;
}

.fm-about-hero-image-wrapper {
    position: relative;
    border-radius: var(--fm-radius-2xl);
    overflow: hidden;
    box-shadow: var(--fm-shadow-xl);
    transition: var(--fm-transition-normal);
}

.fm-about-hero-image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%);
}

.fm-about-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.fm-about-hero-overlay {
    position: absolute;
    bottom: var(--fm-space-6);
    left: var(--fm-space-6);
    right: var(--fm-space-6);
    background: rgb(255 255 255 / 95%);
    backdrop-filter: blur(10px);
    border-radius: var(--fm-radius-lg);
    padding: var(--fm-space-4);
    box-shadow: var(--fm-shadow-md);
}

.fm-about-hero-overlay-content {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    font-weight: 600;
    color: var(--fm-color-primary);
    font-size: 0.875rem;
}

.fm-about-hero-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    pointer-events: none;
}

.fm-about-hero-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    opacity: 0.08;
}

.fm-about-hero-circle--1 {
    width: 100px;
    height: 100px;
    top: 0;
    right: 0;
    animation: float 7s ease-in-out infinite;
}

.fm-about-hero-circle--2 {
    width: 60px;
    height: 60px;
    top: 50px;
    right: 70px;
    animation: float 9s ease-in-out infinite reverse;
}

.fm-about-hero-circle--3 {
    width: 30px;
    height: 30px;
    top: 100px;
    right: 30px;
    animation: float 11s ease-in-out infinite;
}

/* ===================================================================
   ABOUT VALUES SECTION - Layout Moderno
   =================================================================== */

.fm-about-values {
    padding: var(--fm-space-24) 0;
    background: var(--fm-color-background);
    margin: 0;
}

.fm-about-values-header {
    text-align: center;
    margin-bottom: var(--fm-space-16);
}

.fm-about-values-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-3xl);
    font-weight: 700;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-6);
}

.fm-about-values-highlight {
    color: var(--fm-color-primary);
}

.fm-about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--fm-space-8);
    max-width: 1000px;
    margin: 0 auto;
}

/* Layout specifico: 2 card sopra, 3 card sotto */
.fm-about-value-card:nth-child(1) {
    grid-column: 1 / 2;
}

.fm-about-value-card:nth-child(2) {
    grid-column: 2 / 4;
}

.fm-about-value-card:nth-child(3) {
    grid-column: 1 / 2;
}

.fm-about-value-card:nth-child(4) {
    grid-column: 2 / 3;
}

.fm-about-value-card:nth-child(5) {
    grid-column: 3 / 4;
}

.fm-about-value-card {
    background: white;
    padding: var(--fm-space-10);
    border-radius: var(--fm-radius-xl);
    text-align: center;
    box-shadow: var(--fm-shadow-md);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
    position: relative;
    overflow: hidden;
}

.fm-about-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fm-color-primary), var(--fm-color-primary-light));
    transform: scaleX(0);
    transition: var(--fm-transition-normal);
}

.fm-about-value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fm-shadow-lg);
}

.fm-about-value-card:hover::before {
    transform: scaleX(1);
}

.fm-about-value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    border-radius: var(--fm-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--fm-space-6) auto;
    font-size: var(--fm-font-size-xl);
    color: white;
    box-shadow: var(--fm-shadow-md);
    transition: var(--fm-transition-normal);
}

.fm-about-value-card:hover .fm-about-value-icon {
    transform: scale(1.1);
    box-shadow: var(--fm-shadow-lg);
}

.fm-about-value-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-lg);
    font-weight: 600;
    color: var(--fm-color-primary);
    margin-bottom: var(--fm-space-4);
}

.fm-about-value-text {
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-normal);
    font-size: var(--fm-font-size-base);
}

/* ===================================================================
   ABOUT CTA SECTION - Layout Distintivo
   =================================================================== */

.fm-about-cta {
    padding: var(--fm-space-24) 0;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    position: relative;
    margin: 0;
    overflow: hidden;
}

.fm-about-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgb(255 255 255 / 10%) 0%, transparent 70%);
    transform: rotate(15deg);
    pointer-events: none;
}

.fm-about-cta-wrapper {
    background: white;
    border-radius: var(--fm-radius-2xl);
    padding: var(--fm-space-16);
    box-shadow: var(--fm-shadow-xl);
    position: relative;
    z-index: 2;
    text-align: center;
}

.fm-about-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    padding: 12px 24px;
    border-radius: var(--fm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--fm-space-8);
    box-shadow: var(--fm-shadow-md);
}

.fm-about-cta-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-3xl);
    font-weight: 700;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-6);
    line-height: var(--fm-line-height-tight);
}

.fm-about-cta-highlight {
    color: var(--fm-color-primary);
}

.fm-about-cta-text {
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-12);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.fm-about-cta-actions {
    display: flex;
    gap: var(--fm-space-6);
    justify-content: center;
    margin-bottom: var(--fm-space-12);
    flex-wrap: wrap;
}

.fm-about-cta-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--fm-space-2);
    padding: var(--fm-space-6) var(--fm-space-10);
    border-radius: var(--fm-radius-xl);
    text-decoration: none;
    font-weight: 600;
    transition: var(--fm-transition-normal);
    min-width: 180px;
    text-align: center;
}

.fm-about-cta-btn--primary {
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    box-shadow: var(--fm-shadow-lg);
}

.fm-about-cta-btn--primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--fm-shadow-xl);
    color: white;
    text-decoration: none;
}

.fm-about-cta-btn--secondary {
    background: white;
    color: var(--fm-color-primary);
    border: 2px solid var(--fm-color-primary);
    box-shadow: var(--fm-shadow-md);
}

.fm-about-cta-btn--secondary:hover {
    background: var(--fm-color-primary);
    color: white;
    transform: translateY(-4px) scale(1.05);
    text-decoration: none;
}

.fm-about-cta-btn i {
    font-size: var(--fm-font-size-xl);
}

.fm-about-cta-btn span {
    font-size: var(--fm-font-size-base);
}

.fm-about-cta-btn small {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 500;
}

.fm-about-cta-features {
    display: flex;
    justify-content: center;
    gap: var(--fm-space-8);
    flex-wrap: wrap;
}

.fm-about-cta-feature {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: var(--fm-color-background-alt);
    padding: var(--fm-space-3) var(--fm-space-6);
    border-radius: var(--fm-radius-full);
    border: 1px solid var(--fm-color-border-light);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fm-color-text-primary);
    transition: var(--fm-transition-normal);
}

.fm-about-cta-feature:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--fm-shadow-md);
}

.fm-about-cta-feature i {
    color: var(--fm-color-primary);
    font-size: 0.875rem;
}

/* ===================================================================
   RESPONSIVE DESIGN - CHI SIAMO PAGE
   =================================================================== */

/* Tablet */
@media (width <= 768px) {
    .fm-about-hero-wrapper {
        grid-template-columns: 1fr;
        gap: var(--fm-space-12);
        text-align: center;
    }

    .fm-about-hero-title {
        font-size: 2.5rem;
    }

    .fm-about-stats {
        justify-content: center;
    }

    .fm-about-hero-image {
        height: 300px;
    }

    /* Assicura che la sezione values abbia layout corretto */
    .fm-about-values .fm-container {
        display: block;
        width: 100%;
    }
    
    .fm-about-values-header {
        width: 100%;
        margin-bottom: var(--fm-space-12);
    }

    .fm-about-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--fm-space-6);
        width: 100%;
    }

    /* Layout tablet: 2 colonne semplici, card 5 centrata sotto */
    .fm-about-value-card:nth-child(1) {
        grid-column: 1 / 2;
    }

    .fm-about-value-card:nth-child(2) {
        grid-column: 2 / 3;
    }

    .fm-about-value-card:nth-child(3) {
        grid-column: 1 / 2;
    }

    .fm-about-value-card:nth-child(4) {
        grid-column: 2 / 3;
    }

    .fm-about-value-card:nth-child(5) {
        grid-column: 1 / 3;
        max-width: 400px;
        margin: 0 auto;
    }

    .fm-about-values-title {
        font-size: var(--fm-font-size-2xl);
    }

    .fm-about-cta-title {
        font-size: var(--fm-font-size-2xl);
    }

    .fm-about-cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .fm-about-cta-btn {
        min-width: 200px;
    }
}

/* Medium Mobile - 600px */
@media (width <= 600px) {
    .fm-about-values-grid {
        grid-template-columns: 1fr;
        gap: var(--fm-space-5);
        max-width: 500px;
    }

    .fm-about-value-card:nth-child(1),
    .fm-about-value-card:nth-child(2),
    .fm-about-value-card:nth-child(3),
    .fm-about-value-card:nth-child(4),
    .fm-about-value-card:nth-child(5) {
        grid-column: 1 / 2;
        max-width: none;
        margin: 0;
    }
    
    .fm-about-value-card {
        padding: var(--fm-space-8);
    }
}

/* Mobile */
@media (width <= 480px) {
    .fm-about-hero {
        padding: var(--fm-space-16) 0;
    }

    .fm-about-hero-wrapper {
        gap: var(--fm-space-8);
    }

    .fm-about-hero-badge {
        padding: 8px 16px;
        font-size: 0.75rem;
        margin-bottom: var(--fm-space-4);
    }

    .fm-about-hero-title {
        font-size: 2rem;
        margin-bottom: var(--fm-space-4);
    }

    .fm-about-hero-subtitle {
        font-size: var(--fm-font-size-base);
        margin-bottom: var(--fm-space-4);
    }
    
    .fm-about-hero-description {
        font-size: 0.9rem;
        margin-bottom: var(--fm-space-6);
    }

    .fm-about-stats {
        flex-flow: row wrap;
        gap: var(--fm-space-3);
        justify-content: center;
        margin-bottom: var(--fm-space-8);
    }

    .fm-about-stat {
        padding: var(--fm-space-3);
        flex: 1;
        min-width: 90px;
        max-width: 110px;
    }

    .fm-about-stat-number {
        font-size: var(--fm-font-size-lg);
    }
    
    .fm-about-stat-label {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .fm-about-hero-image {
        height: 250px;
    }

    .fm-about-values {
        padding: var(--fm-space-16) 0;
    }

    .fm-about-values-grid {
        grid-template-columns: 1fr;
        gap: var(--fm-space-4);
    }

    .fm-about-value-card:nth-child(1),
    .fm-about-value-card:nth-child(2),
    .fm-about-value-card:nth-child(3),
    .fm-about-value-card:nth-child(4),
    .fm-about-value-card:nth-child(5) {
        grid-column: 1 / 2;
    }

    .fm-about-value-card {
        padding: var(--fm-space-6);
        margin-bottom: var(--fm-space-2);
    }

    .fm-about-value-icon {
        width: 50px;
        height: 50px;
        font-size: var(--fm-font-size-lg);
        margin-bottom: var(--fm-space-4);
    }
    
    .fm-about-value-title {
        font-size: var(--fm-font-size-base);
        margin-bottom: var(--fm-space-3);
    }
    
    .fm-about-value-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .fm-about-values-title {
        font-size: var(--fm-font-size-xl);
        margin-bottom: var(--fm-space-8);
    }

    .fm-about-cta {
        padding: var(--fm-space-16) 0;
    }

    .fm-about-cta-wrapper {
        padding: var(--fm-space-8);
        margin: 0 var(--fm-space-4);
    }

    .fm-about-cta-badge {
        padding: 8px 16px;
        font-size: 0.75rem;
        margin-bottom: var(--fm-space-6);
    }

    .fm-about-cta-title {
        font-size: var(--fm-font-size-xl);
        line-height: 1.3;
        margin-bottom: var(--fm-space-4);
    }

    .fm-about-cta-text {
        font-size: var(--fm-font-size-base);
        margin-bottom: var(--fm-space-8);
    }

    .fm-about-cta-btn {
        min-width: 160px;
        padding: var(--fm-space-4) var(--fm-space-6);
        margin-bottom: var(--fm-space-2);
    }

    .fm-about-cta-features {
        gap: var(--fm-space-3);
        flex-direction: column;
        align-items: center;
    }

    .fm-about-cta-feature {
        padding: var(--fm-space-2) var(--fm-space-4);
        font-size: 0.75rem;
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* Extra Small Mobile - 320px */
@media (width <= 320px) {
    .fm-about-hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .fm-about-hero-subtitle {
        font-size: 0.9rem;
    }
    
    .fm-about-hero-description {
        font-size: 0.85rem;
    }
    
    .fm-about-stats {
        gap: var(--fm-space-2);
    }
    
    .fm-about-stat {
        min-width: 80px;
        max-width: 95px;
        padding: var(--fm-space-2);
    }
    
    .fm-about-stat-number {
        font-size: var(--fm-font-size-base);
    }
    
    .fm-about-stat-label {
        font-size: 0.65rem;
    }
    
    .fm-about-value-card {
        padding: var(--fm-space-4);
    }
    
    .fm-about-value-icon {
        width: 40px;
        height: 40px;
        font-size: var(--fm-font-size-base);
    }
    
    .fm-about-value-title {
        font-size: 0.95rem;
    }
    
    .fm-about-value-text {
        font-size: 0.85rem;
    }
    
    .fm-about-cta-wrapper {
        padding: var(--fm-space-6);
        margin: 0 var(--fm-space-2);
    }
    
    .fm-about-cta-title {
        font-size: var(--fm-font-size-lg);
    }
    
    .fm-about-cta-text {
        font-size: 0.9rem;
    }
    
    .fm-about-cta-btn {
        min-width: 140px;
        padding: var(--fm-space-3) var(--fm-space-4);
        font-size: 0.9rem;
    }
}

/* ===================================================================
   HOME PAGE - SLIDESHOW HERO E LAYOUT PRINCIPALE
   =================================================================== */

/* ===================================================================
   HOME HERO SLIDESHOW - Layout Professionale
   =================================================================== */

/* Sistema slideshow rimosso - conflitto con hero slider principale */

/* Definizione rimossa - conflitto con hero slider principale */

.fm-slide--active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.fm-slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 600px;
}

/* Overlay localizzato solo dietro al contenuto */
.fm-slide-content::before {
    content: '';
    position: absolute;
    inset: -var(--fm-space-8);
    background: linear-gradient(135deg, rgb(0 0 0 / 40%) 0%, rgb(0 0 0 / 20%) 100%);
    backdrop-filter: blur(8px);
    border-radius: var(--fm-radius-2xl);
    z-index: -1;
    opacity: 0.8;
}

.fm-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    padding: 12px 24px;
    border-radius: var(--fm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--fm-space-8);
    box-shadow: var(--fm-shadow-lg);
}

.fm-slide-title {
    font-family: var(--fm-font-family-display);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    color: white;
    margin-bottom: var(--fm-space-8);
    text-shadow: 0 4px 8px rgb(0 0 0 / 30%);
}

/* Definizioni duplicate rimosse - mantenuta solo la definizione principale */

.fm-slide-actions {
    display: flex;
    gap: var(--fm-space-6);
}

/* Controlli slideshow rimossi - conflitto con hero slider */

/* Indicatori slideshow rimossi - conflitto con hero slider */

/* Progress bar slideshow rimossa - conflitto con hero slider */

/* ===================================================================
   HOME SERVICES SECTION
   =================================================================== */

/* ===================================================================
   HOME CTA SECTION
   =================================================================== */

/* ===================================================================
   SERVIZI PAGE - LAYOUT MODERNO PROFESSIONALE
   =================================================================== */

/* ===================================================================
   SERVICES HERO SECTION - Layout Asimmetrico
   =================================================================== */

.fm-services-hero {
    padding: var(--fm-space-24) 0;
    background: linear-gradient(135deg, #f8fffe 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
    margin: 0;
}

.fm-services-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgb(0 156 113 / 8%) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.fm-services-hero-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: var(--fm-space-20);
    align-items: center;
    position: relative;
    z-index: 2;
}

.fm-services-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    padding: 12px 24px;
    border-radius: var(--fm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--fm-space-8);
    box-shadow: var(--fm-shadow-md);
}

.fm-services-hero-title {
    font-family: var(--fm-font-family-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-8);
}

.fm-services-hero-highlight {
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.fm-services-hero-subtitle {
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-12);
}

.fm-services-stats {
    display: flex;
    gap: var(--fm-space-8);
    margin-bottom: var(--fm-space-12);
}

.fm-services-stat {
    text-align: center;
    padding: var(--fm-space-6);
    background: white;
    border-radius: var(--fm-radius-xl);
    box-shadow: var(--fm-shadow-md);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
    position: relative;
    overflow: hidden;
}

.fm-services-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fm-color-primary), var(--fm-color-primary-light));
}

.fm-services-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--fm-shadow-lg);
}

.fm-services-stat-number {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-3xl);
    font-weight: 700;
    color: var(--fm-color-primary);
    line-height: 1;
}

.fm-services-stat-label {
    font-size: 0.875rem;
    color: var(--fm-color-text-secondary);
    font-weight: 500;
    margin-top: var(--fm-space-2);
}

.fm-services-hero-actions {
    display: flex;
    gap: var(--fm-space-6);
    margin-bottom: var(--fm-space-12);
}

.fm-services-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    padding: var(--fm-space-4) var(--fm-space-8);
    font-family: var(--fm-font-family-body);
    font-size: var(--fm-font-size-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--fm-radius-full);
    transition: var(--fm-transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.fm-services-btn--primary {
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    box-shadow: var(--fm-shadow-md);
}

.fm-services-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--fm-shadow-lg);
    color: white;
    text-decoration: none;
}

.fm-services-btn--outline {
    background: transparent;
    color: var(--fm-color-primary);
    border-color: var(--fm-color-primary);
}

.fm-services-btn--outline:hover {
    background: var(--fm-color-primary);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.fm-services-hero-visual {
    position: relative;
}

.fm-services-hero-image-wrapper {
    position: relative;
    border-radius: var(--fm-radius-2xl);
    overflow: hidden;
    box-shadow: var(--fm-shadow-xl);
    transition: var(--fm-transition-normal);
}

.fm-services-hero-image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%);
}

.fm-services-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.fm-services-hero-overlay {
    position: absolute;
    bottom: var(--fm-space-6);
    left: var(--fm-space-6);
    right: var(--fm-space-6);
    background: rgb(255 255 255 / 95%);
    backdrop-filter: blur(10px);
    border-radius: var(--fm-radius-lg);
    padding: var(--fm-space-4);
    box-shadow: var(--fm-shadow-md);
}

.fm-services-hero-overlay-content {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    font-weight: 600;
    color: var(--fm-color-primary);
    font-size: 0.875rem;
}

.fm-services-hero-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    pointer-events: none;
}

.fm-services-hero-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    opacity: 0.1;
}

.fm-services-hero-circle--1 {
    width: 120px;
    height: 120px;
    top: 0;
    right: 0;
    animation: float 6s ease-in-out infinite;
}

.fm-services-hero-circle--2 {
    width: 80px;
    height: 80px;
    top: 60px;
    right: 80px;
    animation: float 8s ease-in-out infinite reverse;
}

.fm-services-hero-circle--3 {
    width: 40px;
    height: 40px;
    top: 120px;
    right: 40px;
    animation: float 10s ease-in-out infinite;
}

/* ===================================================================
   SERVICES CATEGORIES SECTION
   =================================================================== */

/* ===================================================================
   SERVICES GRID SECTION
   =================================================================== */

.fm-services-grid {
    padding: var(--fm-space-24) 0;
    background: var(--fm-color-background-section);
    margin: 0;
}

.fm-services-grid-header {
    text-align: center;
    margin-bottom: var(--fm-space-20);
}

.fm-services-grid-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-3xl);
    font-weight: 700;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-6);
}

.fm-services-grid-highlight {
    color: var(--fm-color-primary);
}

.fm-services-grid-subtitle {
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    max-width: 800px;
    margin: 0 auto;
}

.fm-services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--fm-space-8);
}

.fm-service-card {
    background: white;
    border-radius: var(--fm-radius-2xl);
    overflow: hidden;
    box-shadow: var(--fm-shadow-lg);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
    position: relative;
}

.fm-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--fm-shadow-xl);
}

.fm-service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.fm-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--fm-transition-normal);
}

.fm-service-card:hover .fm-service-image img {
    transform: scale(1.05);
}

.fm-service-price {
    position: absolute;
    top: var(--fm-space-4);
    right: var(--fm-space-4);
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    padding: var(--fm-space-2) var(--fm-space-4);
    border-radius: var(--fm-radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--fm-shadow-md);
}

.fm-service-badge {
    position: absolute;
    top: var(--fm-space-4);
    right: var(--fm-space-4);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: var(--fm-space-2) var(--fm-space-4);
    border-radius: var(--fm-radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--fm-shadow-md);
}

.fm-service-badge--free {
    background: linear-gradient(135deg, #10b981, #059669);
}

.fm-service-content {
    padding: var(--fm-space-8);
}

.fm-service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--fm-space-4);
    flex-wrap: wrap;
    gap: var(--fm-space-2);
}

.fm-service-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-xl);
    font-weight: 600;
    color: var(--fm-color-primary);
    margin: 0;
    flex: 1;
}

.fm-service-time,
.fm-service-specialty,
.fm-service-age,
.fm-service-speed,
.fm-service-precision,
.fm-service-type,
.fm-service-system,
.fm-service-availability,
.fm-service-coverage,
.fm-service-campaigns,
.fm-service-duration,
.fm-service-monitoring,
.fm-service-frequency {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: var(--fm-color-background-alt);
    padding: var(--fm-space-2) var(--fm-space-3);
    border-radius: var(--fm-radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--fm-color-text-secondary);
    white-space: nowrap;
}

.fm-service-time i,
.fm-service-specialty i,
.fm-service-age i,
.fm-service-speed i,
.fm-service-precision i,
.fm-service-type i,
.fm-service-system i,
.fm-service-availability i,
.fm-service-coverage i,
.fm-service-campaigns i,
.fm-service-duration i,
.fm-service-monitoring i,
.fm-service-frequency i {
    color: var(--fm-color-primary);
    font-size: 0.75rem;
}

.fm-service-description {
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-6);
    font-size: var(--fm-font-size-base);
}

.fm-service-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fm-space-3);
    margin-bottom: var(--fm-space-6);
}

.fm-service-feature {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: var(--fm-color-background-alt);
    padding: var(--fm-space-2) var(--fm-space-3);
    border-radius: var(--fm-radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--fm-color-text-primary);
    border: 1px solid var(--fm-color-border-light);
}

.fm-service-feature i {
    color: var(--fm-color-primary);
    font-size: 0.625rem;
}

.fm-service-requirements,
.fm-service-info,
.fm-service-contact,
.fm-service-booking,
.fm-service-exemption {
    background: var(--fm-color-background-alt);
    padding: var(--fm-space-4);
    border-radius: var(--fm-radius-lg);
    border: 1px solid var(--fm-color-border-light);
    margin-bottom: var(--fm-space-4);
}

.fm-service-requirements:last-child,
.fm-service-info:last-child,
.fm-service-contact:last-child,
.fm-service-booking:last-child,
.fm-service-exemption:last-child {
    margin-bottom: 0;
}

.fm-service-requirements p,
.fm-service-info p,
.fm-service-contact p,
.fm-service-booking p {
    margin: 0 0 var(--fm-space-2) 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fm-color-text-primary);
}

.fm-service-requirements p:last-child,
.fm-service-info p:last-child,
.fm-service-contact p:last-child,
.fm-service-booking p:last-child {
    margin-bottom: 0;
}

.fm-service-requirements ul {
    list-style: none;
    padding: 0;
    margin: var(--fm-space-2) 0 0 0;
}

.fm-service-requirements li {
    padding: var(--fm-space-1) 0;
    font-size: 0.875rem;
    color: var(--fm-color-text-secondary);
    position: relative;
    padding-left: var(--fm-space-4);
}

.fm-service-requirements li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--fm-color-primary);
    font-weight: bold;
}

.fm-service-exemption {
    background: linear-gradient(135deg, rgb(16 185 129 / 10%), rgb(5 150 105 / 5%));
    border-color: rgb(16 185 129 / 20%);
}

.fm-service-exemption p {
    color: #065f46;
    font-weight: 600;
    margin: 0;
    font-size: 0.875rem;
}

.fm-service-actions {
    margin-top: var(--fm-space-6);
}

.fm-service-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    padding: var(--fm-space-3) var(--fm-space-6);
    border-radius: var(--fm-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--fm-transition-normal);
    box-shadow: var(--fm-shadow-md);
}

.fm-service-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--fm-shadow-lg);
    text-decoration: none;
    color: white;
}

.fm-service-btn i {
    font-size: 0.875rem;
}

/* ===================================================================
   SERVICES CTA SECTION
   =================================================================== */

.fm-services-cta {
    padding: var(--fm-space-24) 0;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    position: relative;
    margin: 0;
    overflow: hidden;
}

.fm-services-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgb(255 255 255 / 10%) 0%, transparent 70%);
    transform: rotate(15deg);
    pointer-events: none;
}

.fm-services-cta-wrapper {
    background: white;
    border-radius: var(--fm-radius-2xl);
    padding: var(--fm-space-16);
    box-shadow: var(--fm-shadow-xl);
    position: relative;
    z-index: 2;
    text-align: center;
}

.fm-services-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    padding: 12px 24px;
    border-radius: var(--fm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--fm-space-8);
    box-shadow: var(--fm-shadow-md);
}

.fm-services-cta-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-3xl);
    font-weight: 700;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-6);
    line-height: var(--fm-line-height-tight);
}

.fm-services-cta-highlight {
    color: var(--fm-color-primary);
}

.fm-services-cta-text {
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-12);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.fm-services-cta-actions {
    display: flex;
    gap: var(--fm-space-6);
    justify-content: center;
    margin-bottom: var(--fm-space-12);
    flex-wrap: wrap;
}

.fm-services-cta-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--fm-space-2);
    padding: var(--fm-space-6) var(--fm-space-10);
    border-radius: var(--fm-radius-xl);
    text-decoration: none;
    font-weight: 600;
    transition: var(--fm-transition-normal);
    min-width: 180px;
    text-align: center;
}

.fm-services-cta-btn--primary {
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    box-shadow: var(--fm-shadow-lg);
}

.fm-services-cta-btn--primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--fm-shadow-xl);
    color: white;
    text-decoration: none;
}

.fm-services-cta-btn--secondary {
    background: white;
    color: var(--fm-color-primary);
    border: 2px solid var(--fm-color-primary);
    box-shadow: var(--fm-shadow-md);
}

.fm-services-cta-btn--secondary:hover {
    background: var(--fm-color-primary);
    color: white;
    transform: translateY(-4px) scale(1.05);
    text-decoration: none;
}

.fm-services-cta-btn i {
    font-size: var(--fm-font-size-xl);
}

.fm-services-cta-btn span {
    font-size: var(--fm-font-size-base);
}

.fm-services-cta-btn small {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 500;
}

.fm-services-cta-features {
    display: flex;
    justify-content: center;
    gap: var(--fm-space-8);
    flex-wrap: wrap;
}

.fm-services-cta-feature {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: var(--fm-color-background-alt);
    padding: var(--fm-space-3) var(--fm-space-6);
    border-radius: var(--fm-radius-full);
    border: 1px solid var(--fm-color-border-light);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fm-color-text-primary);
    transition: var(--fm-transition-normal);
}

.fm-services-cta-feature:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--fm-shadow-md);
}

.fm-services-cta-feature i {
    color: var(--fm-color-primary);
    font-size: 0.875rem;
}

/* ===================================================================
   SERVICES CTA CATEGORIES - Integrate nella CTA
   =================================================================== */

/* ===================================================================
   RESPONSIVE DESIGN - HOME PAGE
   =================================================================== */

@media (width <= 768px) {
    /* Home Hero Mobile Layout - Immagine sopra, testo sotto */
    
    .fm-slide {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    
    .fm-container {
        flex: 1;
        display: flex;
        align-items: center;
    }
    
    .fm-slide-content {
        position: relative;
        height: auto;
        max-width: 100%;
        text-align: center;
        align-items: center;
        justify-content: center;
        padding: var(--fm-space-6) var(--fm-space-4) var(--fm-space-4);
        background: linear-gradient(
            to bottom,
            rgb(255 255 255 / 80%) 0%,
            rgb(255 255 255 / 95%) 30%,
            rgb(255 255 255 / 98%) 100%
        );
        margin-top: -40px;
        border-radius: var(--fm-radius-2xl) var(--fm-radius-2xl) 0 0;
        backdrop-filter: blur(8px);
        box-shadow: 0 -8px 20px rgb(0 0 0 / 8%);
        z-index: 2;
    }
    
    /* Rimuovi overlay su mobile - sfondo bianco */
    .fm-slide-content::before {
        display: none;
    }
    
    .fm-slide-title {
        font-size: 2.5rem;
        color: var(--fm-color-text-primary);
        text-shadow: none;
    }
    
    .fm-slide-highlights {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--fm-space-4);
        margin-bottom: var(--fm-space-8);
    }
    
    .fm-slide-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--fm-space-3);
    }
    
    .fm-slide-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--fm-space-4);
    }
    
    /* Controlli slideshow mobile rimossi - conflitto con hero slider */
    
    /* Home Services Responsive */
    
    /* Home CTA Responsive */
}

@media (width <= 480px) {
    /* Home Hero Mobile Compatto */
    
    .fm-slide-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    /* Definizione rimossa - gestita nella media query principale */
    
    .fm-slide-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--fm-space-2);
    }
    
    /* Controlli slideshow mobile rimossi - conflitto con hero slider */
    
    .fm-slide-badge {
        display: none;
    }
    
    /* Controlli slideshow 480px rimossi - conflitto con hero slider */
    
    /* Home Services Mobile */
    
    /* Home CTA Mobile */
}

/* ===================================================================
   RESPONSIVE DESIGN - SERVIZI PAGE
   =================================================================== */

@media (width <= 768px) {
    /* Services Hero Responsive */
    .fm-services-hero-wrapper {
        grid-template-columns: 1fr;
        gap: var(--fm-space-12);
        text-align: center;
    }
    
    .fm-services-hero-title {
        font-size: 2.5rem;
    }
    
    .fm-services-stats {
        flex-direction: column;
        gap: var(--fm-space-4);
    }
    
    .fm-services-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    /* Services Categories Responsive */
    
    /* Services Grid Responsive */
    .fm-services-grid .fm-container {
        display: block;
        width: 100%;
    }
    
    .fm-services-grid-header {
        width: 100%;
        margin-bottom: var(--fm-space-16);
    }
    
    .fm-services-list {
        grid-template-columns: 1fr;
        gap: var(--fm-space-6);
        width: 100%;
    }
    
    .fm-service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--fm-space-3);
    }
    
    .fm-service-features {
        flex-direction: column;
        gap: var(--fm-space-2);
    }
    
    /* Services CTA Responsive */
    .fm-services-cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .fm-services-cta-btn {
        min-width: 200px;
    }
    
    .fm-services-cta-features {
        flex-direction: column;
        align-items: center;
        gap: var(--fm-space-4);
    }
    
    /* Services CTA Categories Responsive */
}

@media (width <= 480px) {
    /* Services Hero Mobile */
    .fm-services-hero-title {
        font-size: 2rem;
    }
    
    .fm-services-hero-badge,
    .fm-services-cta-badge {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
    
    .fm-services-stat {
        padding: var(--fm-space-4);
    }
    
    .fm-services-stat-number {
        font-size: var(--fm-font-size-2xl);
    }
    
    /* Services Categories Mobile */
    
    /* Services Grid Mobile */
    .fm-services-grid .fm-container {
        display: block;
        width: 100%;
    }
    
    .fm-services-grid-header {
        width: 100%;
        margin-bottom: var(--fm-space-12);
    }
    
    .fm-services-list {
        width: 100%;
        gap: var(--fm-space-4);
    }

    .fm-service-card {
        border-radius: var(--fm-radius-xl);
    }
    
    .fm-service-content {
        padding: var(--fm-space-6);
    }
    
    .fm-service-image {
        height: 160px;
    }
    
    .fm-service-title {
        font-size: var(--fm-font-size-lg);
    }
    
    /* Services CTA Mobile */
    .fm-services-cta-wrapper {
        padding: var(--fm-space-8);
    }
    
    .fm-services-cta-title {
        font-size: var(--fm-font-size-2xl);
    }
    
    .fm-services-cta-text {
        font-size: var(--fm-font-size-base);
    }
    
    .fm-services-cta-btn {
        min-width: 160px;
        padding: var(--fm-space-4) var(--fm-space-6);
    }
    
    .fm-services-cta-btn i {
        font-size: var(--fm-font-size-lg);
    }
    
    /* Services CTA Categories Mobile */
}

/* ===================================================================
   RESPONSIVE DESIGN - LABORATORIO PAGE
   =================================================================== */

@media (width <= 768px) {
    /* Contacts Page Mobile - PRIORITY FIX */
    .fm-contacts-info-grid {
        grid-template-columns: 1fr !important;
        gap: var(--fm-space-6);
    }
    
    .fm-contact-card--wide {
        grid-column: span 1 !important;
    }
    
    .fm-contact-card {
        padding: var(--fm-space-8);
        margin-bottom: var(--fm-space-4);
    }
    
    .fm-contacts-hero-wrapper {
        grid-template-columns: 1fr;
        gap: var(--fm-space-12);
        text-align: center;
    }
    
    .fm-contacts-hero-title {
        font-size: 2.5rem;
    }
    
    .fm-contacts-hero-image {
        height: 300px;
    }
    
    .fm-contacts-map-wrapper {
        grid-template-columns: 1fr !important;
        gap: var(--fm-space-12);
    }
    
    .fm-contacts-map-content {
        order: 1;
        text-align: center;
        margin-bottom: var(--fm-space-8);
    }
    
    .fm-contacts-map-embed {
        order: 2;
        width: 100%;
    }
    
    .fm-contacts-map-title {
        font-size: var(--fm-font-size-2xl);
        text-align: center;
    }
    
    .fm-transport-options {
        gap: var(--fm-space-4);
    }
    
    .fm-transport-item {
        padding: var(--fm-space-4);
    }

    /* Lab Hero Responsive */
    .fm-lab-hero-wrapper {
        grid-template-columns: 1fr;
        gap: var(--fm-space-12);
        text-align: center;
    }
    
    .fm-lab-hero-title {
        font-size: 2.5rem;
    }
    
    .fm-lab-stats {
        flex-direction: column;
        gap: var(--fm-space-4);
    }
    
    .fm-lab-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    /* Lab Timeline Responsive */
    .fm-lab-timeline::before {
        left: 30px;
        transform: none;
    }
    
    .fm-lab-timeline-item {
        flex-direction: row;
        margin-left: 60px;
    }
    
    .fm-lab-timeline-item:nth-child(even) {
        flex-direction: row;
    }
    
    .fm-lab-timeline-item:nth-child(even) .fm-lab-timeline-content {
        text-align: left;
    }
    
    .fm-lab-timeline-marker {
        position: absolute;
        left: -60px;
        margin: 0;
    }
    
    .fm-lab-timeline-icon {
        width: 60px;
        height: 60px;
        font-size: var(--fm-font-size-base);
    }
    
    .fm-lab-timeline-number {
        width: 24px;
        height: 24px;
        font-size: 0.625rem;
        top: -12px;
    }
    
    /* Lab Forms Responsive */
    .fm-lab-forms .fm-container {
        display: block;
        width: 100%;
    }
    
    .fm-lab-forms-header {
        width: 100%;
        margin-bottom: var(--fm-space-16);
    }
    
    .fm-lab-forms-grid {
        grid-template-columns: 1fr;
        gap: var(--fm-space-8);
        width: 100%;
    }
    
    .fm-lab-form-items {
        grid-template-columns: 1fr;
    }
    
    .fm-lab-specializations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--fm-space-6);
    }
    
    /* Lab Uses Responsive */
    .fm-lab-uses-grid {
        grid-template-columns: 1fr;
        gap: var(--fm-space-6);
    }
    
    /* Lab Certifications Responsive */
    .fm-lab-certifications .fm-container {
        display: block;
        width: 100%;
    }
    
    .fm-lab-cert-header {
        width: 100%;
        margin-bottom: var(--fm-space-16);
    }
    
    .fm-lab-cert-showcase {
        width: 100%;
    }
    
    .fm-lab-cert-premium-header {
        flex-direction: column;
        text-align: center;
    }
    
    .fm-lab-cert-premium-info {
        margin-left: 0;
        text-align: center;
    }
    
    .fm-lab-cert-premium-features {
        grid-template-columns: 1fr;
        gap: var(--fm-space-3);
    }
    
    .fm-lab-cert-premium-actions {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .fm-lab-cert-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--fm-space-6);
    }
    
    /* Lab CTA Responsive */
}

@media (width <= 480px) {
    /* Contacts Page Mobile Small */
    .fm-contacts-info-grid {
        grid-template-columns: 1fr !important;
        gap: var(--fm-space-4);
    }
    
    .fm-contact-card {
        padding: var(--fm-space-6);
        margin-bottom: var(--fm-space-3);
    }
    
    .fm-contact-card--wide {
        grid-column: span 1 !important;
    }
    
    .fm-contacts-hero-title {
        font-size: 2rem;
    }
    
    .fm-contacts-hero-subtitle {
        font-size: var(--fm-font-size-base);
    }
    
    .fm-contacts-map-wrapper {
        grid-template-columns: 1fr !important;
        gap: var(--fm-space-8);
    }
    
    .fm-contacts-map-content {
        order: 1;
        text-align: center;
        margin-bottom: var(--fm-space-6);
    }
    
    .fm-contacts-map-embed {
        order: 2;
        width: 100%;
    }
    
    .fm-contacts-map-title {
        font-size: var(--fm-font-size-xl);
        text-align: center;
        margin-bottom: var(--fm-space-4);
    }
    
    .fm-contacts-map-subtitle {
        font-size: var(--fm-font-size-base);
        margin-bottom: var(--fm-space-6);
    }
    
    .fm-transport-options {
        gap: var(--fm-space-3);
    }
    
    .fm-transport-item {
        padding: var(--fm-space-3);
        flex-direction: column;
        text-align: center;
        gap: var(--fm-space-3);
    }
    
    .fm-transport-icon {
        width: 40px;
        height: 40px;
        font-size: var(--fm-font-size-base);
    }
    
    .fm-transport-info h4 {
        font-size: var(--fm-font-size-base);
        margin-bottom: var(--fm-space-1);
    }
    
    .fm-transport-info p {
        font-size: 0.8rem;
    }
    
    .fm-map-placeholder iframe {
        height: 300px;
    }

    /* Lab Hero Mobile */
    .fm-lab-hero-title {
        font-size: 2rem;
    }
    
    .fm-lab-hero-badge,
    .fm-lab-cert-badge,
    .fm-lab-cta-badge {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
    
    .fm-lab-stat {
        padding: var(--fm-space-4);
    }
    
    .fm-lab-stat-number {
        font-size: var(--fm-font-size-2xl);
    }
    
    /* Lab Timeline Mobile */
    .fm-lab-timeline-item {
        margin-left: 40px;
    }
    
    .fm-lab-timeline-marker {
        left: -40px;
    }
    
    .fm-lab-timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 0.875rem;
    }
    
    .fm-lab-timeline-content {
        padding: var(--fm-space-6);
    }
    
    .fm-lab-timeline-features {
        flex-direction: column;
        gap: var(--fm-space-2);
    }
    
    /* Lab Forms Mobile */
    .fm-lab-forms .fm-container {
        display: block;
        width: 100%;
    }
    
    .fm-lab-forms-header {
        width: 100%;
        margin-bottom: var(--fm-space-12);
    }
    
    .fm-lab-forms-grid {
        grid-template-columns: 1fr;
        gap: var(--fm-space-6);
        width: 100%;
    }

    .fm-lab-form-category {
        padding: var(--fm-space-6);
    }
    
    .fm-lab-form-category-icon {
        width: 50px;
        height: 50px;
        font-size: var(--fm-font-size-lg);
    }
    
    .fm-lab-specializations-grid {
        grid-template-columns: 1fr;
    }
    
    .fm-lab-specialization-icon {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
    
    /* Lab Certifications Mobile */
    .fm-lab-cert-premium {
        padding: var(--fm-space-8);
    }
    
    .fm-lab-cert-premium-badge {
        width: 60px;
        height: 60px;
        font-size: var(--fm-font-size-lg);
    }
    
    /* Lab Certifications Mobile */
    .fm-lab-certifications .fm-container {
        display: block;
        width: 100%;
    }
    
    .fm-lab-cert-header {
        width: 100%;
        margin-bottom: var(--fm-space-12);
    }
    
    .fm-lab-cert-showcase {
        width: 100%;
        gap: var(--fm-space-8);
    }

    .fm-lab-cert-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .fm-lab-cert-benefit {
        padding: var(--fm-space-6);
    }
    
    .fm-lab-cert-benefit-icon {
        width: 50px;
        height: 50px;
        font-size: var(--fm-font-size-base);
    }
    
    /* Lab CTA Mobile */
    .fm-lab-cta {
        padding: var(--fm-space-12) 0;
    }
    
    /* Lab Types e Uses Mobile */
    .fm-lab-types,
    .fm-lab-uses {
        padding: var(--fm-space-16) 0;
    }
    
    /* Contacts CTA Mobile */
    .fm-contacts-cta-wrapper {
        padding: var(--fm-space-12);
    }
    
    .fm-contacts-cta-title {
        font-size: var(--fm-font-size-2xl);
    }
    
    .fm-contacts-cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .fm-contacts-cta-btn {
        min-width: 200px;
    }
    
    .fm-contacts-cta-features {
        flex-direction: column;
        align-items: center;
    }
    
    /* Payments Page Mobile */
    .fm-payments-hero-wrapper {
        grid-template-columns: 1fr;
        gap: var(--fm-space-12);
        text-align: center;
    }
    
    .fm-payments-hero-title {
        font-size: 2.5rem;
    }
    
    .fm-payments-hero-cards {
        flex-direction: column;
        justify-content: center;
        max-width: 240px;
        gap: var(--fm-space-3);
    }
    
    .fm-payment-card-preview--1,
    .fm-payment-card-preview--2,
    .fm-payment-card-preview--3 {
        transform: translateX(0) !important;
    }
    
    .fm-payment-card-preview:hover {
        transform: none !important;
    }
    
    .fm-payment-method-header {
        flex-direction: column;
        text-align: center;
        gap: var(--fm-space-4);
    }
    
    .fm-payment-method-content {
        padding: var(--fm-space-8);
    }
    
    .fm-bank-info-grid {
        grid-template-columns: 1fr;
    }
    
    .fm-bank-info-item--full {
        grid-column: span 1;
    }
    
    .fm-card-features {
        justify-content: center;
    }
    
    .fm-satispay-payment,
    .fm-card-payment {
        grid-template-columns: 1fr;
        gap: var(--fm-space-6);
    }
    
    .fm-satispay-features {
        justify-content: center;
    }
    
    .fm-payment-security-wrapper {
        grid-template-columns: 1fr;
        gap: var(--fm-space-12);
        text-align: center;
    }
    
    .fm-payment-security-title {
        font-size: var(--fm-font-size-2xl);
    }
    
    .fm-lab-cta-wrapper {
        padding: var(--fm-space-3);
        margin: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .fm-lab-cta-title {
        font-size: var(--fm-font-size-2xl);
        margin-bottom: var(--fm-space-4);
    }
    
    .fm-lab-cta-text {
        margin-bottom: var(--fm-space-6);
        font-size: 0.9rem;
    }
    
    .fm-lab-cta-badge {
        margin-bottom: var(--fm-space-4);
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

/* hero homepage */

/* Container principale */
.fm-elementor-hero {
    color: white;
    text-shadow: 0 2px 4px rgb(0 0 0 / 50%);
    position: relative;
    z-index: 10;
    padding: 60px 20px;
}

.fm-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Badge */
.fm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgb(255 255 255 / 15%);
    backdrop-filter: blur(10px);
    border: 1px solid rgb(255 255 255 / 20%);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.fm-hero-badge:hover {
    background: rgb(255 255 255 / 25%);
    transform: translateY(-2px);
}

.fm-badge-icon {
    width: 18px;
    height: 18px;
    color: #00d4aa;
}

/* Titolo */
.fm-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
}

.fm-highlight {
    color: #009c71;
    position: relative;
    text-shadow: none !important;
}

.fm-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #009c71, #007a59);
    border-radius: 2px;
}

/* Descrizione */
.fm-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgb(0 0 0 / 20%);
}

/* Features principali */
.fm-hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.fm-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.fm-feature-icon {
    width: 45px;
    height: 45px;
    background: rgb(0 212 170 / 90%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fm-feature-icon:hover {
    background: #00d4aa;
    transform: scale(1.1);
}

.fm-feature-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

/* Sezione vantaggi galenici */
.fm-hero-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.fm-benefit-item {
    background: rgb(255 255 255 / 10%);
    backdrop-filter: blur(15px);
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 20px;
    padding: 25px;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.fm-benefit-item:hover {
    background: rgb(255 255 255 / 15%);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgb(0 0 0 / 20%);
}

.fm-benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4aa, #009c71);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fm-benefit-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.fm-benefit-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.fm-benefit-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    color: white;
}

/* Bottoni */
.fm-hero-actions {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.fm-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 180px;
    justify-content: center;
}

.fm-hero-btn--primary {
    background: #009c71 !important;
    color: white;
    box-shadow: 0 4px 15px rgb(0 156 113 / 30%);
}

.fm-hero-btn--secondary {
    background: rgb(255 255 255 / 15%);
    color: #009c71 !important;
    border-color: #009c71 !important;
    backdrop-filter: blur(10px);
    text-shadow: none !important;
}

.fm-hero-btn--secondary:hover {
    background: rgb(255 255 255 / 25%);
    border-color: #009c71 !important;
    transform: translateY(-3px);
    color: #009c71 !important;
    text-decoration: none;
    text-shadow: none !important;
}

.fm-btn-icon {
    width: 20px;
    height: 20px;
}

/* Animazioni CSS pure - senza JavaScript */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fm-animate-1 { animation: fadeInUp 0.6s ease 0.2s both; }
.fm-animate-2 { animation: fadeInUp 0.6s ease 0.4s both; }
.fm-animate-3 { animation: fadeInUp 0.6s ease 0.6s both; }
.fm-animate-4 { animation: fadeInUp 0.6s ease 0.8s both; }
.fm-animate-5 { animation: fadeInUp 0.6s ease 1.0s both; }
.fm-animate-6 { animation: fadeInUp 0.6s ease 1.2s both; }

/* Responsive */
@media (width <= 768px) {
    .fm-elementor-hero {
        padding: 40px 15px;
    }
    
    .fm-hero-features {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .fm-hero-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .fm-benefit-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .fm-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .fm-hero-btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (width <= 480px) {
    .fm-hero-badge {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .fm-hero-description {
        font-size: 1.1rem;
    }
    
    .fm-benefit-content h3 {
        font-size: 1.1rem;
    }
    
    .fm-benefit-content p {
        font-size: 0.9rem;
    }
}

/* Rispetta preferenze utente per animazioni ridotte */
@media (prefers-reduced-motion: reduce) {
    .fm-animate-1, .fm-animate-2, .fm-animate-3, 
    .fm-animate-4, .fm-animate-5, .fm-animate-6 {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    * {
        transition-duration: 0.01ms !important;
    }
}

.avvisi-negozio{
    display:none;
}

/* ===================================================================
   CONTATTI PAGE - LAYOUT MODERNO PROFESSIONALE
   =================================================================== */

/* ===================================================================
   CONTACTS HERO SECTION - Layout Asimmetrico
   =================================================================== */

.fm-contacts-hero {
    padding: var(--fm-space-24) 0;
    background: linear-gradient(135deg, #f8fffe 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
    margin: 0;
}

.fm-contacts-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgb(0 156 113 / 8%) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.fm-contacts-hero-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: var(--fm-space-20);
    align-items: center;
    position: relative;
    z-index: 2;
}

.fm-contacts-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    padding: 12px 24px;
    border-radius: var(--fm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--fm-space-8);
    box-shadow: var(--fm-shadow-md);
}

.fm-contacts-hero-title {
    font-family: var(--fm-font-family-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-8);
}

.fm-contacts-hero-highlight {
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.fm-contacts-hero-subtitle {
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-12);
}

.fm-contacts-hero-visual {
    position: relative;
}

.fm-contacts-hero-image-wrapper {
    position: relative;
    border-radius: var(--fm-radius-2xl);
    overflow: hidden;
    box-shadow: var(--fm-shadow-xl);
    transition: var(--fm-transition-normal);
}

.fm-contacts-hero-image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%);
}

.fm-contacts-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.fm-contacts-hero-overlay {
    position: absolute;
    bottom: var(--fm-space-6);
    left: var(--fm-space-6);
    right: var(--fm-space-6);
    background: rgb(255 255 255 / 95%);
    backdrop-filter: blur(10px);
    border-radius: var(--fm-radius-lg);
    padding: var(--fm-space-4);
    box-shadow: var(--fm-shadow-md);
}

.fm-contacts-hero-overlay-content {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    font-weight: 600;
    color: var(--fm-color-primary);
    font-size: 0.875rem;
}

/* ===================================================================
   CONTACTS INFO SECTION - Griglia Card
   =================================================================== */

.fm-contacts-info {
    padding: var(--fm-space-24) 0;
    background: var(--fm-color-background);
    margin: 0;
}

.fm-contacts-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--fm-space-8);
}

.fm-contact-card {
    background: white;
    border-radius: var(--fm-radius-2xl);
    padding: var(--fm-space-10);
    box-shadow: var(--fm-shadow-lg);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
    position: relative;
    overflow: hidden;
}

.fm-contact-card--wide {
    grid-column: span 3;
}

.fm-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fm-color-primary), var(--fm-color-primary-light));
    transform: scaleX(0);
    transition: var(--fm-transition-normal);
}

.fm-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--fm-shadow-xl);
}

.fm-contact-card:hover::before {
    transform: scaleX(1);
}

.fm-contact-card-header {
    display: flex;
    align-items: center;
    gap: var(--fm-space-4);
    margin-bottom: var(--fm-space-6);
}

.fm-contact-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    border-radius: var(--fm-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fm-font-size-xl);
    color: white;
    box-shadow: var(--fm-shadow-md);
    transition: var(--fm-transition-normal);
}

.fm-contact-card:hover .fm-contact-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.fm-contact-card-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-xl);
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin: 0;
}

.fm-contact-card-content {
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
}

.fm-contact-address {
    font-size: var(--fm-font-size-lg);
    margin-bottom: var(--fm-space-4);
    color: var(--fm-color-text-primary);
}

.fm-contact-phone {
    font-size: var(--fm-font-size-lg);
    margin-bottom: var(--fm-space-2);
    color: var(--fm-color-text-primary);
}

.fm-contact-phone a {
    color: var(--fm-color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--fm-transition-normal);
}

.fm-contact-phone a:hover {
    color: var(--fm-color-primary-light);
    text-decoration: underline;
}

.fm-contact-fax {
    font-size: var(--fm-font-size-base);
    margin-bottom: var(--fm-space-4);
    color: var(--fm-color-text-secondary);
}

.fm-contact-email-label {
    font-size: 0.875rem;
    margin-bottom: var(--fm-space-2);
    color: var(--fm-color-text-secondary);
}

.fm-contact-email {
    display: block;
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: var(--fm-space-4);
    transition: var(--fm-transition-normal);
}

.fm-contact-email:hover {
    color: var(--fm-color-primary-light);
    text-decoration: underline;
}

.fm-contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    color: var(--fm-color-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--fm-transition-normal);
}

.fm-contact-link:hover {
    color: var(--fm-color-primary-light);
    text-decoration: underline;
}

.fm-contact-note {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: var(--fm-color-background-alt);
    padding: var(--fm-space-3) var(--fm-space-4);
    border-radius: var(--fm-radius-lg);
    font-size: 0.875rem;
    color: var(--fm-color-text-secondary);
    margin-top: var(--fm-space-4);
}

.fm-contact-note i {
    color: var(--fm-color-primary);
}

/* Orari di apertura */
.fm-opening-hours {
    margin-bottom: var(--fm-space-6);
}

.fm-opening-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--fm-space-3) 0;
    border-bottom: 1px solid var(--fm-color-border-light);
}

.fm-opening-day:last-child {
    border-bottom: none;
}

.fm-opening-day-label {
    font-weight: 600;
    color: var(--fm-color-text-primary);
}

.fm-opening-day-hours {
    color: var(--fm-color-text-secondary);
    font-weight: 500;
}

.fm-opening-day--closed .fm-opening-day-hours {
    color: #ef4444;
    font-weight: 600;
}

/* ===================================================================
   CONTACTS MAP SECTION
   =================================================================== */

.fm-contacts-map {
    padding: var(--fm-space-24) 0;
    background: #f8fafc;
    margin: 0;
}

.fm-contacts-map-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fm-space-20);
    align-items: center;
}

.fm-contacts-map-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-3xl);
    font-weight: 700;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-6);
}

.fm-contacts-map-highlight {
    color: var(--fm-color-primary);
}

.fm-contacts-map-subtitle {
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-12);
}

.fm-transport-options {
    display: flex;
    flex-direction: column;
    gap: var(--fm-space-6);
}

.fm-transport-item {
    display: flex;
    align-items: flex-start;
    gap: var(--fm-space-4);
    padding: var(--fm-space-6);
    background: white;
    border-radius: var(--fm-radius-xl);
    box-shadow: var(--fm-shadow-md);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
}

.fm-transport-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--fm-shadow-lg);
}

.fm-transport-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fm-font-size-lg);
    color: white;
    flex-shrink: 0;
}

.fm-transport-info h4 {
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin: 0 0 var(--fm-space-2) 0;
}

.fm-transport-info p {
    color: var(--fm-color-text-secondary);
    margin: 0;
    font-size: 0.875rem;
}

.fm-contacts-map-embed {
    border-radius: var(--fm-radius-2xl);
    overflow: hidden;
    box-shadow: var(--fm-shadow-xl);
}

.fm-map-placeholder iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===================================================================
   CONTACTS CTA SECTION
   =================================================================== */

.fm-contacts-cta {
    padding: var(--fm-space-24) 0;
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    position: relative;
    margin: 0 0 var(--fm-space-24) 0;
    overflow: hidden;
}

.fm-contacts-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgb(255 255 255 / 10%) 0%, transparent 70%);
    transform: rotate(15deg);
    pointer-events: none;
}

.fm-contacts-cta-wrapper {
    background: white;
    border-radius: var(--fm-radius-2xl);
    padding: var(--fm-space-16);
    box-shadow: var(--fm-shadow-xl);
    position: relative;
    z-index: 2;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.fm-contacts-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    padding: 12px 24px;
    border-radius: var(--fm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--fm-space-8);
    box-shadow: var(--fm-shadow-md);
}

.fm-contacts-cta-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-3xl);
    font-weight: 700;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-6);
    line-height: var(--fm-line-height-tight);
}

.fm-contacts-cta-highlight {
    color: var(--fm-color-primary);
}

.fm-contacts-cta-text {
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-12);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.fm-contacts-cta-actions {
    display: flex;
    gap: var(--fm-space-6);
    justify-content: center;
    margin-bottom: var(--fm-space-12);
    flex-wrap: wrap;
}

.fm-contacts-cta-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--fm-space-2);
    padding: var(--fm-space-6) var(--fm-space-10);
    border-radius: var(--fm-radius-xl);
    text-decoration: none;
    font-weight: 600;
    transition: var(--fm-transition-normal);
    min-width: 180px;
    text-align: center;
}

.fm-contacts-cta-btn--primary {
    background: linear-gradient(135deg, var(--fm-color-primary), var(--fm-color-primary-light));
    color: white;
    box-shadow: var(--fm-shadow-lg);
}

.fm-contacts-cta-btn--primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--fm-shadow-xl);
    color: white;
    text-decoration: none;
}

.fm-contacts-cta-btn--secondary {
    background: white;
    color: var(--fm-color-primary);
    border: 2px solid var(--fm-color-primary);
    box-shadow: var(--fm-shadow-md);
}

.fm-contacts-cta-btn--secondary:hover {
    background: var(--fm-color-primary);
    color: white;
    transform: translateY(-4px) scale(1.05);
    text-decoration: none;
}

.fm-contacts-cta-btn i {
    font-size: var(--fm-font-size-xl);
}

.fm-contacts-cta-btn span {
    font-size: var(--fm-font-size-base);
}

.fm-contacts-cta-btn small {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 500;
}

.fm-contacts-cta-features {
    display: flex;
    justify-content: center;
    gap: var(--fm-space-8);
    flex-wrap: wrap;
}

.fm-contacts-cta-feature {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: var(--fm-color-background-alt);
    padding: var(--fm-space-3) var(--fm-space-6);
    border-radius: var(--fm-radius-full);
    border: 1px solid var(--fm-color-border-light);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fm-color-text-primary);
    transition: var(--fm-transition-normal);
}

.fm-contacts-cta-feature:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--fm-shadow-md);
}

.fm-contacts-cta-feature i {
    color: var(--fm-color-primary);
    font-size: 0.875rem;
}

/* ===================================================================
   PAGAMENTI PAGE - LAYOUT MODERNO PROFESSIONALE
   =================================================================== */

/* ===================================================================
   PAYMENTS HERO SECTION
   =================================================================== */

.fm-payments-hero {
    padding: var(--fm-space-24) 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
    margin: 0;
}

.fm-payments-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgb(59 130 246 / 8%) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.fm-payments-hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--fm-space-20);
    align-items: center;
    position: relative;
    z-index: 2;
}

.fm-payments-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 12px 24px;
    border-radius: var(--fm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--fm-space-8);
    box-shadow: var(--fm-shadow-md);
}

.fm-payments-hero-title {
    font-family: var(--fm-font-family-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-8);
}

.fm-payments-hero-highlight {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.fm-payments-hero-subtitle {
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-12);
}

.fm-payments-hero-visual {
    position: relative;
}

.fm-payments-hero-cards {
    display: flex;
    flex-direction: column;
    gap: var(--fm-space-4);
    position: relative;
    max-width: 280px;
    margin: 0 auto;
}

.fm-payment-card-preview {
    background: white;
    border-radius: var(--fm-radius-xl);
    padding: var(--fm-space-6);
    box-shadow: var(--fm-shadow-lg);
    border: 1px solid var(--fm-color-border-light);
    display: flex;
    align-items: center;
    gap: var(--fm-space-4);
    transition: var(--fm-transition-normal);
    position: relative;
}

.fm-payment-card-preview--1 {
    transform: translateX(0);
    z-index: 3;
}

.fm-payment-card-preview--2 {
    transform: translateX(20px);
    z-index: 2;
}

.fm-payment-card-preview--3 {
    transform: translateX(40px);
    z-index: 1;
}

.fm-payment-card-preview:hover {
    transform: translateX(-10px) translateY(-5px);
    box-shadow: var(--fm-shadow-xl);
}

.fm-payment-card-preview i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--fm-font-size-lg);
}

.fm-payment-card-preview span {
    font-weight: 600;
    color: var(--fm-color-text-primary);
}

.fm-payment-card-preview {
    text-decoration: none;
    color: inherit;
}

.fm-payment-card-preview:hover {
    text-decoration: none;
    color: inherit;
}

.fm-payment-card-preview small {
    font-size: 0.75rem;
    color: var(--fm-color-text-secondary);
    font-weight: 500;
    margin-top: var(--fm-space-1);
}

/* ===================================================================
   PAYMENT METHODS SECTION
   =================================================================== */

.fm-payment-methods {
    padding: var(--fm-space-24) 0;
    background: var(--fm-color-background);
    margin: 0;
}

.fm-payment-methods-header {
    text-align: center;
    margin-bottom: var(--fm-space-20);
}

.fm-payment-methods-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-3xl);
    font-weight: 700;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-6);
}

.fm-payment-methods-highlight {
    color: #3b82f6;
}

.fm-payment-methods-subtitle {
    font-size: var(--fm-font-size-lg);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    max-width: 600px;
    margin: 0 auto;
}

.fm-payment-methods-grid {
    display: flex;
    flex-direction: column;
    gap: var(--fm-space-12);
}

.fm-payment-method {
    background: white;
    border-radius: var(--fm-radius-2xl);
    box-shadow: var(--fm-shadow-lg);
    border: 1px solid var(--fm-color-border-light);
    overflow: hidden;
    transition: var(--fm-transition-normal);
}

.fm-payment-method:hover {
    transform: translateY(-8px);
    box-shadow: var(--fm-shadow-xl);
}

.fm-payment-method-header {
    display: flex;
    align-items: center;
    gap: var(--fm-space-6);
    padding: var(--fm-space-10);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--fm-color-border-light);
}

.fm-payment-method-logo {
    width: 120px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fm-payment-logo {
    max-width: 90px;
    max-height: 70px;
    object-fit: contain;
}

.fm-payment-method-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-xl);
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin: 0 0 var(--fm-space-2) 0;
}

.fm-payment-method-description {
    color: var(--fm-color-text-secondary);
    margin: 0;
    font-size: 0.875rem;
}

.fm-payment-method-content {
    padding: var(--fm-space-10);
}

/* ===================================================================
   BONIFICO BANCARIO STYLES
   =================================================================== */

.fm-bank-details-title {
    display: flex;
    align-items: center;
    gap: var(--fm-space-3);
    font-size: var(--fm-font-size-lg);
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-8);
}

.fm-bank-details-title i {
    color: #3b82f6;
}

.fm-bank-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fm-space-6);
    margin-bottom: var(--fm-space-8);
}

.fm-bank-info-item {
    background: var(--fm-color-background-alt);
    border-radius: var(--fm-radius-lg);
    padding: var(--fm-space-4);
    position: relative;
    border: 1px solid var(--fm-color-border-light);
}

.fm-bank-info-item--full {
    grid-column: span 2;
}

.fm-bank-info-item label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--fm-color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--fm-space-2);
}

.fm-bank-value {
    display: block;
    font-size: var(--fm-font-size-base);
    font-weight: 600;
    color: var(--fm-color-text-primary);
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.fm-copy-btn {
    position: absolute;
    top: var(--fm-space-2);
    right: var(--fm-space-2);
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: var(--fm-radius-md);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--fm-transition-normal);
    font-size: 0.75rem;
}

.fm-copy-btn:hover {
    background: #1d4ed8;
    transform: scale(1.1);
}

.fm-bank-notes {
    display: flex;
    flex-direction: column;
    gap: var(--fm-space-3);
}

.fm-bank-note {
    display: flex;
    align-items: center;
    gap: var(--fm-space-3);
    background: #eff6ff;
    padding: var(--fm-space-3) var(--fm-space-4);
    border-radius: var(--fm-radius-lg);
    border-left: 4px solid #3b82f6;
    font-size: 0.875rem;
    color: var(--fm-color-text-secondary);
}

.fm-bank-note i {
    color: #3b82f6;
    flex-shrink: 0;
}

/* ===================================================================
   CARTE DI CREDITO STYLES
   =================================================================== */

.fm-card-features {
    display: flex;
    gap: var(--fm-space-6);
    margin-bottom: var(--fm-space-8);
    flex-wrap: wrap;
}

.fm-card-feature {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: #ecfdf5;
    padding: var(--fm-space-3) var(--fm-space-4);
    border-radius: var(--fm-radius-full);
    border: 1px solid #d1fae5;
    font-size: 0.875rem;
    font-weight: 500;
    color: #065f46;
}

.fm-card-feature i {
    color: #10b981;
}

.fm-card-process-title {
    display: flex;
    align-items: center;
    gap: var(--fm-space-3);
    font-size: var(--fm-font-size-lg);
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-6);
}

.fm-card-process-title i {
    color: #3b82f6;
}

.fm-card-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--fm-space-8) 0;
    counter-reset: step-counter;
}

.fm-card-steps li {
    counter-increment: step-counter;
    position: relative;
    padding: var(--fm-space-4) 0 var(--fm-space-4) var(--fm-space-12);
    border-left: 2px solid var(--fm-color-border-light);
    margin-bottom: var(--fm-space-4);
    color: var(--fm-color-text-secondary);
}

.fm-card-steps li:last-child {
    border-left: none;
}

.fm-card-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: -12px;
    top: var(--fm-space-4);
    width: 24px;
    height: 24px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.fm-woocommerce-payment {
    margin-top: var(--fm-space-8);
}

.fm-payment-placeholder {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed var(--fm-color-border-light);
    border-radius: var(--fm-radius-xl);
    padding: var(--fm-space-12);
    text-align: center;
}

.fm-payment-placeholder-content i {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: var(--fm-space-4);
}

.fm-payment-placeholder-content h5 {
    font-size: var(--fm-font-size-lg);
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin: 0 0 var(--fm-space-3) 0;
}

.fm-payment-placeholder-content p {
    color: var(--fm-color-text-secondary);
    margin-bottom: var(--fm-space-6);
}

.fm-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    padding: var(--fm-space-3) var(--fm-space-6);
    border-radius: var(--fm-radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--fm-transition-normal);
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.fm-btn--primary {
    background: linear-gradient(135deg, #00d4aa, #00b386);
    color: white;
    box-shadow: var(--fm-shadow-md);
}

.fm-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--fm-shadow-lg);
}

/* ===================================================================
   SATISPAY STYLES
   =================================================================== */

.fm-satispay-payment,
.fm-card-payment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fm-space-8);
}

.fm-satispay-features {
    display: flex;
    gap: var(--fm-space-4);
    margin-bottom: var(--fm-space-8);
    flex-wrap: wrap;
}

.fm-satispay-feature {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: #fef3c7;
    padding: var(--fm-space-3) var(--fm-space-4);
    border-radius: var(--fm-radius-full);
    border: 1px solid #fde68a;
    font-size: 0.875rem;
    font-weight: 500;
    color: #92400e;
}

.fm-satispay-feature i {
    color: #f59e0b;
}

.fm-satispay-steps-title,
.fm-card-steps-title {
    display: flex;
    align-items: center;
    gap: var(--fm-space-3);
    font-size: var(--fm-font-size-lg);
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-6);
}

.fm-satispay-steps-title i {
    color: #f59e0b;
}

.fm-card-steps-title i {
    color: #3b82f6;
}

.fm-satispay-step-list,
.fm-card-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.fm-satispay-step-list li,
.fm-card-step-list li {
    counter-increment: step-counter;
    position: relative;
    padding: var(--fm-space-4) 0 var(--fm-space-4) var(--fm-space-12);
    margin-bottom: var(--fm-space-4);
    color: var(--fm-color-text-secondary);
}

.fm-satispay-step-list li {
    border-left: 2px solid #fde68a;
}

.fm-card-step-list li {
    border-left: 2px solid #dbeafe;
}

.fm-satispay-step-list li:last-child,
.fm-card-step-list li:last-child {
    border-left: none;
}

.fm-satispay-step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: -12px;
    top: var(--fm-space-4);
    width: 24px;
    height: 24px;
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.fm-card-step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: -12px;
    top: var(--fm-space-4);
    width: 24px;
    height: 24px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.fm-qr-placeholder {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px dashed #fde68a;
    border-radius: var(--fm-radius-xl);
    padding: var(--fm-space-8);
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fm-qr-placeholder-content i {
    font-size: 2.5rem;
    color: #f59e0b;
    margin-bottom: var(--fm-space-4);
}

.fm-qr-placeholder-content h5 {
    font-size: var(--fm-font-size-lg);
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin: 0 0 var(--fm-space-3) 0;
}

.fm-qr-placeholder-content p {
    color: var(--fm-color-text-secondary);
    margin-bottom: var(--fm-space-6);
    font-size: 0.875rem;
}

.fm-qr-code-demo {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #f59e0b 25%, transparent 25%), 
                linear-gradient(-45deg, #f59e0b 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f59e0b 75%), 
                linear-gradient(-45deg, transparent 75%, #f59e0b 75%);
    background-size: 8px 8px;
    background-position: 0 0, 0 4px, 4px -4px, -4px 0;
    border-radius: var(--fm-radius-md);
    margin: 0 auto var(--fm-space-2) auto;
    opacity: 0.6;
}

.fm-qr-demo-label {
    font-size: 0.75rem;
    color: var(--fm-color-text-secondary);
    font-style: italic;
}

/* ===================================================================
   SATISPAY QR CODE SECTION - REAL IMPLEMENTATION
   =================================================================== */

.fm-qr-container,
.fm-form-container {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--fm-radius-xl);
    padding: var(--fm-space-8);
    border: 1px solid var(--fm-color-border-light);
}

.fm-qr-header,
.fm-form-header {
    text-align: center;
    margin-bottom: var(--fm-space-8);
}

.fm-qr-header i {
    font-size: 2rem;
    color: #ff6b35;
    margin-bottom: var(--fm-space-4);
}

.fm-form-header i {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: var(--fm-space-4);
}

.fm-qr-header h5,
.fm-form-header h5 {
    font-size: var(--fm-font-size-xl);
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-3);
}

.fm-qr-header p {
    font-size: var(--fm-font-size-base);
    color: var(--fm-color-text-secondary);
    line-height: var(--fm-line-height-relaxed);
    margin: 0;
}

.fm-qr-code-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--fm-space-8);
    align-items: center;
    margin-bottom: var(--fm-space-6);
}

.fm-qr-code-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: var(--fm-radius-lg);
    padding: var(--fm-space-6);
    box-shadow: var(--fm-shadow-md);
    border: 1px solid var(--fm-color-border-light);
}

.fm-satispay-qr-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: var(--fm-radius-md);
}

.fm-qr-instructions {
    display: flex;
    flex-direction: column;
    gap: var(--fm-space-4);
}

.fm-qr-step {
    display: flex;
    align-items: center;
    gap: var(--fm-space-3);
    padding: var(--fm-space-3);
    background: white;
    border-radius: var(--fm-radius-lg);
    border: 1px solid var(--fm-color-border-light);
    transition: var(--fm-transition-normal);
}

.fm-qr-step:hover {
    box-shadow: var(--fm-shadow-sm);
    transform: translateX(4px);
}

.fm-step-number {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.fm-qr-step span:last-child {
    font-size: var(--fm-font-size-base);
    font-weight: 500;
    color: var(--fm-color-text-primary);
}

.fm-qr-note {
    display: flex;
    align-items: center;
    gap: var(--fm-space-3);
    padding: var(--fm-space-4);
    background: rgb(16 185 129 / 10%);
    border-radius: var(--fm-radius-lg);
    border: 1px solid rgb(16 185 129 / 20%);
}

.fm-qr-note i {
    color: #10b981;
    font-size: 1.1rem;
}

.fm-qr-note span {
    font-size: 0.9rem;
    color: var(--fm-color-text-primary);
    font-weight: 500;
}

/* ===================================================================
   PAYMENT SECURITY SECTION
   =================================================================== */

.fm-payment-security {
    padding: var(--fm-space-24) 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    margin: 0;
    color: white;
}

.fm-payment-security-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--fm-space-20);
    align-items: center;
}

.fm-payment-security-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 12px 24px;
    border-radius: var(--fm-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--fm-space-8);
    box-shadow: var(--fm-shadow-md);
}

.fm-payment-security-title {
    font-family: var(--fm-font-family-display);
    font-size: var(--fm-font-size-3xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--fm-space-6);
    line-height: var(--fm-line-height-tight);
}

.fm-payment-security-highlight {
    color: #10b981;
}

.fm-payment-security-text {
    font-size: var(--fm-font-size-lg);
    color: #cbd5e1;
    line-height: var(--fm-line-height-relaxed);
    margin-bottom: var(--fm-space-12);
}

.fm-security-features {
    display: flex;
    flex-direction: column;
    gap: var(--fm-space-6);
}

.fm-security-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--fm-space-4);
    background: rgb(255 255 255 / 5%);
    padding: var(--fm-space-6);
    border-radius: var(--fm-radius-xl);
    border: 1px solid rgb(255 255 255 / 10%);
    transition: var(--fm-transition-normal);
}

.fm-security-feature:hover {
    background: rgb(255 255 255 / 8%);
    transform: translateY(-4px);
}

.fm-security-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fm-font-size-lg);
    color: white;
    flex-shrink: 0;
}

.fm-security-feature-content h4 {
    font-weight: 600;
    color: white;
    margin: 0 0 var(--fm-space-2) 0;
}

.fm-security-feature-content p {
    color: #cbd5e1;
    margin: 0;
    font-size: 0.875rem;
}

.fm-security-shield {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgb(255 255 255 / 5%);
    border-radius: var(--fm-radius-2xl);
    padding: var(--fm-space-12);
    border: 1px solid rgb(255 255 255 / 10%);
}

.fm-shield-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin-bottom: var(--fm-space-8);
    box-shadow: 0 0 50px rgb(16 185 129 / 30%);
}

.fm-security-badges {
    display: flex;
    gap: var(--fm-space-4);
    flex-wrap: wrap;
    justify-content: center;
}

.fm-security-badge {
    background: rgb(255 255 255 / 10%);
    color: white;
    padding: var(--fm-space-2) var(--fm-space-4);
    border-radius: var(--fm-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgb(255 255 255 / 20%);
}

/* ===================================================================
   COPY FEEDBACK
   =================================================================== */

.fm-copy-feedback {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: var(--fm-space-3) var(--fm-space-6);
    border-radius: var(--fm-radius-lg);
    box-shadow: var(--fm-shadow-xl);
    z-index: 9999;
    transform: translateX(100%);
    transition: var(--fm-transition-normal);
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    font-weight: 600;
    font-size: 0.875rem;
}

.fm-copy-feedback.show {
    transform: translateX(0);
}

/* ===================================================================
   PAYMENT SYSTEM STYLES
   =================================================================== */

.fm-payment-system {
    background: white;
    border: 1px solid var(--fm-color-border-light);
    border-radius: var(--fm-radius-xl);
    padding: var(--fm-space-8);
    margin-top: var(--fm-space-8);
}

.fm-payment-system-content {
    text-align: center;
}

.fm-payment-system-content i {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: var(--fm-space-4);
}

.fm-payment-system-content h5 {
    font-size: var(--fm-font-size-lg);
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin: 0 0 var(--fm-space-3) 0;
}

.fm-payment-system-content p {
    color: var(--fm-color-text-secondary);
    margin-bottom: var(--fm-space-8);
}

.fm-payment-amounts h6 {
    font-size: var(--fm-font-size-base);
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin: 0 0 var(--fm-space-4) 0;
}

.fm-amount-buttons {
    display: flex;
    gap: var(--fm-space-3);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--fm-space-8);
}

.fm-amount-btn {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #3b82f6;
    color: #3b82f6;
    padding: var(--fm-space-3) var(--fm-space-6);
    border-radius: var(--fm-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--fm-transition-normal);
    font-size: 0.875rem;
    min-width: 80px;
}

.fm-amount-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--fm-shadow-md);
}

.fm-custom-amount {
    background: var(--fm-color-background-alt);
    border-radius: var(--fm-radius-lg);
    padding: var(--fm-space-6);
    margin-bottom: var(--fm-space-8);
    border: 1px solid var(--fm-color-border-light);
}

.fm-custom-amount label {
    display: block;
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-3);
    font-size: 0.875rem;
}

.fm-amount-input-group {
    display: flex;
    gap: var(--fm-space-3);
    align-items: center;
}

.fm-amount-input-group input {
    flex: 1;
    padding: var(--fm-space-3) var(--fm-space-4);
    border: 1px solid var(--fm-color-border-light);
    border-radius: var(--fm-radius-md);
    font-size: var(--fm-font-size-base);
    font-weight: 600;
    text-align: center;
}

.fm-amount-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgb(59 130 246 / 10%);
}

.fm-payment-link-result {
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    border-radius: var(--fm-radius-lg);
    padding: var(--fm-space-6);
    margin-top: var(--fm-space-6);
}

.fm-payment-link-result h6 {
    font-size: var(--fm-font-size-base);
    font-weight: 600;
    color: #065f46;
    margin: 0 0 var(--fm-space-4) 0;
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
}

.fm-payment-link-result h6::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.fm-link-display {
    display: flex;
    gap: var(--fm-space-2);
    margin-bottom: var(--fm-space-3);
}

.fm-link-display input {
    flex: 1;
    padding: var(--fm-space-3) var(--fm-space-4);
    border: 1px solid #a7f3d0;
    border-radius: var(--fm-radius-md);
    background: white;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
    color: var(--fm-color-text-primary);
}

.fm-link-display input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgb(16 185 129 / 10%);
}

.fm-link-note {
    color: #065f46;
    font-size: 0.875rem;
    margin: 0;
    font-style: italic;
}

/* Mobile responsive per payment system */
@media (width <= 768px) {
    .fm-amount-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .fm-amount-btn {
        min-width: 120px;
    }
    
    .fm-amount-input-group {
        flex-direction: column;
    }
    
    .fm-amount-input-group input {
        width: 100%;
        margin-bottom: var(--fm-space-3);
    }
    
    .fm-link-display {
        flex-direction: column;
    }
    
    .fm-link-display input {
        margin-bottom: var(--fm-space-2);
    }
}

/* ===================================================================
   SELF-SERVICE PAYMENT STYLES
   =================================================================== */

.fm-self-service-payment {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--fm-radius-xl);
    padding: var(--fm-space-8);
    margin-top: var(--fm-space-6);
    border: 1px solid var(--fm-color-border-light);
}

.fm-amount-input-section {
    margin-bottom: var(--fm-space-8);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fm-amount-input-section label {
    display: block;
    font-size: var(--fm-font-size-base);
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin-bottom: var(--fm-space-3);
    text-align: center;
}

.fm-amount-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--fm-space-4);
}

.fm-currency-symbol {
    position: absolute;
    left: 12px;
    font-size: var(--fm-font-size-base);
    font-weight: 600;
    color: #3b82f6;
    z-index: 2;
}

.fm-amount-input {
    width: 140px;
    padding: var(--fm-space-2) var(--fm-space-2) var(--fm-space-2) 35px;
    border: 2px solid #3b82f6;
    border-radius: var(--fm-radius-md);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    color: var(--fm-color-text-primary);
    background: white;
    transition: var(--fm-transition-normal);
}

.fm-amount-input:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgb(59 130 246 / 20%);
    transform: scale(1.02);
}

.fm-amount-suggestions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--fm-space-3);
    flex-wrap: wrap;
}

.fm-suggestion-label {
    font-size: 0.875rem;
    color: var(--fm-color-text-secondary);
    font-weight: 500;
}

.fm-suggestion-btn {
    background: white;
    border: 2px solid #e2e8f0;
    color: var(--fm-color-text-primary);
    padding: var(--fm-space-2) var(--fm-space-4);
    border-radius: var(--fm-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--fm-transition-normal);
    font-size: 0.875rem;
}

.fm-suggestion-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: var(--fm-shadow-md);
}

.fm-customer-info-section {
    background: white;
    border-radius: var(--fm-radius-lg);
    padding: var(--fm-space-6);
    margin-bottom: var(--fm-space-8);
    border: 1px solid var(--fm-color-border-light);
}

.fm-customer-info-section h6 {
    font-size: var(--fm-font-size-base);
    font-weight: 600;
    color: var(--fm-color-text-primary);
    margin: 0 0 var(--fm-space-4) 0;
    text-align: center;
}

.fm-customer-fields {
    display: flex;
    flex-direction: column;
    gap: var(--fm-space-3);
}

.fm-customer-input,
.fm-customer-textarea {
    padding: var(--fm-space-3) var(--fm-space-4);
    border: 1px solid var(--fm-color-border-light);
    border-radius: var(--fm-radius-md);
    font-size: var(--fm-font-size-base);
    transition: var(--fm-transition-normal);
    background: white;
    margin: 0 !important;
}

.fm-customer-input:focus,
.fm-customer-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgb(59 130 246 / 10%);
}

.fm-customer-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.fm-payment-action {
    text-align: center;
    margin-bottom: var(--fm-space-6);
}

.fm-pay-now-btn {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: white;
    border: none;
    padding: var(--fm-space-4) var(--fm-space-8);
    border-radius: var(--fm-radius-xl);
    font-size: var(--fm-font-size-lg);
    font-weight: 600;
    cursor: not-allowed;
    transition: var(--fm-transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--fm-space-2);
    margin: 0 auto;
    min-width: 250px;
    opacity: 0.6;
}

.fm-pay-now-btn.active {
    background: linear-gradient(135deg, #10b981, #059669);
    cursor: pointer;
    opacity: 1;
    box-shadow: var(--fm-shadow-lg);
}

.fm-pay-now-btn.active:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--fm-shadow-xl);
}

.fm-pay-now-btn i {
    font-size: var(--fm-font-size-xl);
}

.fm-pay-now-btn span {
    font-size: var(--fm-font-size-base);
}

.fm-pay-now-btn small {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

.fm-payment-security-info {
    text-align: center;
}

.fm-payment-security-info .fm-security-badges {
    display: flex;
    justify-content: center;
    gap: var(--fm-space-4);
    flex-wrap: wrap;
}

.fm-payment-security-info .fm-security-badge {
    display: flex;
    align-items: center;
    gap: var(--fm-space-2);
    background: white;
    padding: var(--fm-space-2) var(--fm-space-4);
    border-radius: var(--fm-radius-full);
    border: 1px solid #e2e8f0;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--fm-color-text-secondary);
}

.fm-payment-security-info .fm-security-badge i {
    color: #10b981;
    font-size: 0.875rem;
}

/* ===================================================================
   PAYMENTS PAGE MOBILE RESPONSIVE
   =================================================================== */

@media (width <= 768px) {
    /* Hero Section Mobile - UX Optimized */
    .fm-payments-hero {
        padding: var(--fm-space-12) 0;
        background: linear-gradient(135deg, #f8fafc 0%, #e1f5fe 100%);
    }
    
    .fm-payments-hero-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--fm-space-8) !important;
        text-align: center;
        align-items: center;
    }
    
    .fm-payments-hero-content {
        width: 100%;
        order: 1;
    }
    
    .fm-payments-hero-visual {
        width: 100%;
        order: 2;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .fm-payments-hero-badge {
        font-size: 0.8rem;
        padding: 10px 20px;
        margin-bottom: var(--fm-space-4);
    }
    
    .fm-payments-hero-title {
        font-size: 2.25rem;
        margin-bottom: var(--fm-space-4);
        line-height: 1.2;
    }
    
    .fm-payments-hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--fm-space-6);
        line-height: 1.5;
        color: var(--fm-color-text-secondary);
    }
    
    /* STRATEGIA SISTEMATICA - Blindiamo contro interferenze CSS esterne */
    .fm-payment-methods .fm-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .fm-payment-methods-header {
        width: 100% !important;
        margin-bottom: var(--fm-space-8) !important;
        text-align: center;
    }
    
    /* Payment Methods Grid - Mobile UX Optimized */
    .fm-payment-methods {
        padding: var(--fm-space-8) 0;
    }
    
    .fm-payment-methods-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--fm-space-6) !important;
        width: 100% !important;
    }
    
    .fm-payment-method {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        flex: none !important;
        padding: var(--fm-space-5) !important;
        border-radius: var(--fm-radius-xl) !important;
    }
    
    .fm-payment-method-header {
        flex-direction: column !important;
        text-align: center !important;
        gap: var(--fm-space-4) !important;
        align-items: center !important;
        margin-bottom: var(--fm-space-4) !important;
        padding: var(--fm-space-4) !important;
    }
    
    .fm-payment-method-logo {
        flex-shrink: 0;
        width: 100px;
        height: 65px;
    }
    
    .fm-payment-method-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .fm-payment-method-info {
        flex: 1;
    }
    
    .fm-payment-method-title {
        font-size: 1.1rem !important;
        margin-bottom: var(--fm-space-1) !important;
    }
    
    .fm-payment-method-description {
        font-size: 0.9rem !important;
        margin: 0 !important;
    }
    
    /* Payment Method Content Mobile - Padding Fix */
    .fm-payment-method-content {
        padding: var(--fm-space-4) !important;
    }
    
    /* Card Payment Content Mobile - UX Optimized */
    .fm-card-payment-info {
        padding: 0 !important;
    }
    
    .fm-card-features {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        gap: var(--fm-space-2) !important;
        margin-bottom: var(--fm-space-4) !important;
        padding: var(--fm-space-3) !important;
        background: #f8fafc !important;
        border-radius: var(--fm-radius-lg) !important;
    }
    
    .fm-card-feature {
        text-align: center !important;
        flex: 1 !important;
    }
    
    .fm-card-feature i {
        font-size: 1.2rem !important;
        margin-bottom: var(--fm-space-1) !important;
        color: #10b981 !important;
    }
    
    .fm-card-feature span {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
    }
    
    .fm-card-process {
        margin-bottom: var(--fm-space-4) !important;
        padding: var(--fm-space-4) !important;
        background: #fefefe !important;
        border-radius: var(--fm-radius-lg) !important;
        border: 1px solid #e2e8f0 !important;
    }
    
    .fm-card-process-title {
        font-size: 1rem !important;
        margin-bottom: var(--fm-space-3) !important;
        text-align: center !important;
    }
    
    .fm-card-steps {
        padding-left: var(--fm-space-4) !important;
        margin: 0 !important;
    }
    
    .fm-card-steps li {
        font-size: 0.9rem !important;
        margin-bottom: var(--fm-space-2) !important;
        line-height: 1.4 !important;
    }
    
    /* Self-Service Payment Mobile - UX Optimized */
    .fm-self-service-payment {
        padding: var(--fm-space-4) !important;
        background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
        border-radius: var(--fm-radius-xl) !important;
        margin: var(--fm-space-4) 0 !important;
    }
    
    .fm-amount-input-section {
        margin-bottom: var(--fm-space-5) !important;
    }
    
    .fm-amount-input-section label {
        font-size: 1rem !important;
        margin-bottom: var(--fm-space-3) !important;
        text-align: center !important;
    }
    
    .fm-amount-input-wrapper {
        margin-bottom: var(--fm-space-4) !important;
    }
    
    .fm-amount-input {
        width: 100% !important;
        max-width: 200px !important;
        font-size: 1.5rem !important;
        padding: var(--fm-space-3) var(--fm-space-3) var(--fm-space-3) 40px !important;
    }
    
    .fm-currency-symbol {
        left: 15px !important;
        font-size: 1.25rem !important;
    }
    
    .fm-customer-info-section {
        margin-bottom: var(--fm-space-5) !important;
        padding: var(--fm-space-4) !important;
        background: white !important;
        border-radius: var(--fm-radius-lg) !important;
    }
    
    .fm-customer-info-section h6 {
        font-size: 0.9rem !important;
        margin-bottom: var(--fm-space-3) !important;
    }
    
    .fm-customer-fields {
        gap: var(--fm-space-3) !important;
    }
    
    .fm-customer-input,
    .fm-customer-textarea {
        padding: var(--fm-space-3) !important;
        font-size: 0.9rem !important;
    }
    
    .fm-payment-action {
        margin-bottom: var(--fm-space-4) !important;
    }
    
    .fm-pay-now-btn {
        min-width: 100% !important;
        max-width: 280px !important;
        padding: var(--fm-space-4) var(--fm-space-6) !important;
        font-size: 1rem !important;
    }
    
    .fm-payment-security-info .fm-security-badges {
        flex-flow: row wrap !important;
        justify-content: center !important;
        gap: var(--fm-space-2) !important;
    }
    
    .fm-payment-security-info .fm-security-badge {
        font-size: 0.7rem !important;
        padding: var(--fm-space-1) var(--fm-space-3) !important;
    }
    
    /* Payment System Mobile - Clean & Borderless */
    .fm-payment-system {
        background: white !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin-top: var(--fm-space-4) !important;
    }
    
    /* Satispay Section Mobile 768px - Systematic Fix */
    .fm-satispay-payment,
    .fm-card-payment {
        display: block !important;
        grid-template-columns: none !important;
    }
    
    .fm-satispay-payment .fm-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .fm-satispay-content {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--fm-space-6) !important;
        width: 100% !important;
    }
    
    .fm-satispay-info {
        width: 100% !important;
        margin-bottom: var(--fm-space-6) !important;
    }
    
    .fm-satispay-qr {
        width: 100% !important;
    }
    
    /* Satispay QR Code Mobile 768px */
    .fm-qr-container,
    .fm-form-container {
        padding: var(--fm-space-6) !important;
    }
    
    .fm-qr-code-display {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .fm-qr-code-image {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }
    
    .fm-satispay-qr-image {
        width: 220px !important;
        height: 220px !important;
        max-width: 100% !important;
    }
    
    /* Hide Features Sections on Mobile 768px */
    .fm-card-features,
    .fm-satispay-features {
        display: none !important;
    }
    
    /* Bank Info Grid Mobile 768px */
    .fm-bank-info-grid {
        display: block !important;
        grid-template-columns: none !important;
        gap: var(--fm-space-4) !important;
    }
    
    .fm-bank-info-item {
        width: 100% !important;
        margin-bottom: var(--fm-space-4) !important;
    }
    
    /* Payment Action Mobile 768px */
    .fm-payment-action {
        margin-top: var(--fm-space-6) !important;
    }
    
    /* Security Section Mobile - UX Optimized */
    .fm-payment-security {
        padding: var(--fm-space-12) 0 !important;
    }
    
    .fm-payment-security-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--fm-space-8) !important;
        text-align: center !important;
    }
    
    .fm-payment-security-content {
        order: 1;
        width: 100%;
    }
    
    .fm-payment-security-visual {
        display: none !important;
    }
    
    .fm-payment-security-badge {
        font-size: 0.8rem !important;
        padding: 8px 16px !important;
        margin-bottom: var(--fm-space-4) !important;
    }
    
    .fm-payment-security-title {
        font-size: 1.75rem !important;
        margin-bottom: var(--fm-space-4) !important;
        line-height: 1.3 !important;
    }
    
    .fm-payment-security-text {
        font-size: 1rem !important;
        margin-bottom: var(--fm-space-6) !important;
        line-height: 1.6 !important;
    }
    
    .fm-security-features {
        gap: var(--fm-space-4) !important;
    }
    
    .fm-security-feature {
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: var(--fm-space-3) !important;
        padding: var(--fm-space-3) !important;
        background: rgb(255 255 255 / 10%) !important;
        border-radius: var(--fm-radius-lg) !important;
    }
    
    .fm-security-feature-icon {
        flex-shrink: 0 !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    .fm-security-feature-icon i {
        font-size: 1.2rem !important;
    }
    
    .fm-security-feature-content h4 {
        font-size: 1rem !important;
        margin-bottom: var(--fm-space-1) !important;
    }
    
    .fm-security-feature-content p {
        font-size: 0.9rem !important;
        margin: 0 !important;
        line-height: 1.4 !important;
    }
    
    .fm-security-shield {
        width: 120px !important;
        height: 120px !important;
    }
    
    .fm-shield-icon i {
        font-size: 3rem !important;
    }
    
    .fm-security-badges {
        flex-flow: row wrap !important;
        justify-content: center !important;
        gap: var(--fm-space-2) !important;
    }
    
    .fm-security-badges .fm-security-badge {
        font-size: 0.75rem !important;
        padding: var(--fm-space-2) var(--fm-space-3) !important;
    }
}

@media (width <= 480px) {
    /* Hero Section Mobile Small - Ultra Compact */
    .fm-payments-hero {
        padding: var(--fm-space-8) 0 !important;
    }
    
    .fm-payments-hero-title {
        font-size: 1.875rem !important;
        margin-bottom: var(--fm-space-3) !important;
    }
    
    .fm-payments-hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: var(--fm-space-5) !important;
    }
    
    .fm-payments-hero-badge {
        font-size: 0.7rem !important;
        padding: 6px 12px !important;
    }
    
    /* STRATEGIA SISTEMATICA - Ultra Compact */
    .fm-payment-methods .fm-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 var(--fm-space-2) !important;
        box-sizing: border-box !important;
    }
    
    .fm-payment-methods {
        padding: var(--fm-space-6) 0 !important;
    }
    
    .fm-payment-methods-header {
        width: 100% !important;
        margin-bottom: var(--fm-space-5) !important;
    }
    
    .fm-payment-methods-title {
        font-size: 1.5rem !important;
    }
    
    .fm-payment-methods-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--fm-space-4) !important;
        width: 100% !important;
    }
    
    /* Payment Cards Mobile Small */
    .fm-payment-card-preview {
        padding: var(--fm-space-3) !important;
    }
    
    .fm-payment-card-preview:hover {
        transform: none !important;
    }
    
    .fm-payment-card-preview span {
        font-size: 0.85rem !important;
    }
    
    .fm-payment-card-preview small {
        font-size: 0.65rem !important;
    }
    
    /* Payment Methods Mobile Small - Compact */
    .fm-payment-method {
        padding: var(--fm-space-3) 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .fm-payment-method-header {
        flex-direction: column !important;
        text-align: center !important;
        gap: var(--fm-space-3) !important;
        align-items: center !important;
        margin-bottom: var(--fm-space-3) !important;
        padding: var(--fm-space-3) !important;
    }
    
    .fm-payment-method-logo {
        width: 90px !important;
        height: 60px !important;
    }
    
    .fm-payment-method-title {
        font-size: 1rem !important;
    }
    
    .fm-payment-method-description {
        font-size: 0.8rem !important;
    }
    
    /* Payment Method Content Mobile Small - Ultra Compact */
    .fm-payment-method-content {
        padding: var(--fm-space-3) !important;
    }
    
    /* Card Features Mobile Small */
    .fm-card-features {
        padding: var(--fm-space-2) !important;
    }
    
    .fm-card-feature span {
        font-size: 0.65rem !important;
    }
    
    .fm-card-process {
        padding: var(--fm-space-3) !important;
    }
    
    .fm-card-steps li {
        font-size: 0.8rem !important;
    }
    
    /* Self-Service Mobile Small - Ultra Compact */
    .fm-self-service-payment {
        padding: var(--fm-space-3) !important;
        margin: var(--fm-space-3) 0 !important;
    }
    
    .fm-amount-input-section label {
        font-size: 0.9rem !important;
    }
    
    .fm-amount-input {
        font-size: 1.25rem !important;
        max-width: 180px !important;
        padding: var(--fm-space-2) var(--fm-space-2) var(--fm-space-2) 35px !important;
    }
    
    .fm-currency-symbol {
        left: 12px !important;
        font-size: 1.1rem !important;
    }
    
    .fm-customer-info-section {
        padding: var(--fm-space-3) !important;
    }
    
    .fm-customer-info-section h6 {
        font-size: 0.8rem !important;
    }
    
    .fm-customer-input,
    .fm-customer-textarea {
        padding: var(--fm-space-2) !important;
        font-size: 0.85rem !important;
    }
    
    .fm-pay-now-btn {
        min-width: 100% !important;
        max-width: 240px !important;
        padding: var(--fm-space-3) var(--fm-space-5) !important;
        font-size: 0.9rem !important;
    }
    
    /* Security Section Mobile Small */
    .fm-payment-security {
        padding: var(--fm-space-8) 0 !important;
    }
    
    .fm-payment-security-title {
        font-size: 1.5rem !important;
    }
    
    .fm-payment-security-text {
        font-size: 0.9rem !important;
    }
    
    .fm-security-feature {
        padding: var(--fm-space-2) !important;
    }
    
    .fm-security-feature-icon {
        width: 35px !important;
        height: 35px !important;
    }
    
    .fm-security-feature-content h4 {
        font-size: 0.9rem !important;
    }
    
    .fm-security-feature-content p {
        font-size: 0.8rem !important;
    }
    
    /* Payment System Mobile Small - Ultra Clean */
    .fm-payment-system {
        background: white !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin-top: var(--fm-space-3) !important;
    }
    
    /* Satispay Section Mobile 480px - Systematic Fix */
    .fm-satispay-payment,
    .fm-card-payment {
        display: block !important;
        grid-template-columns: none !important;
    }
    
    .fm-satispay-payment .fm-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .fm-satispay-content {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--fm-space-4) !important;
        width: 100% !important;
    }
    
    .fm-satispay-info {
        width: 100% !important;
        margin-bottom: var(--fm-space-4) !important;
    }
    
    .fm-satispay-qr {
        width: 100% !important;
    }
    
    /* Satispay QR Code Mobile 480px */
    .fm-qr-container,
    .fm-form-container {
        padding: var(--fm-space-4) !important;
        border-radius: var(--fm-radius-lg) !important;
    }
    
    .fm-qr-code-display {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .fm-qr-code-image {
        width: 100% !important;
        max-width: 250px !important;
        margin: 0 auto !important;
        padding: var(--fm-space-4) !important;
    }
    
    .fm-satispay-qr-image {
        width: 200px !important;
        height: 200px !important;
        max-width: 100% !important;
    }
    
    /* Hide Features Sections on Mobile 480px */
    .fm-card-features,
    .fm-satispay-features {
        display: none !important;
    }
    
    /* Bank Info Grid Mobile 480px */
    .fm-bank-info-grid {
        display: block !important;
        grid-template-columns: none !important;
        gap: var(--fm-space-3) !important;
        margin-bottom: var(--fm-space-6) !important;
    }
    
    .fm-bank-info-item {
        width: 100% !important;
        margin-bottom: var(--fm-space-3) !important;
    }
    
    /* Payment Action Mobile 480px */
    .fm-payment-action {
        margin-top: var(--fm-space-8) !important;
    }
}
p {
    hyphens: none;
}