/* ============================================
   CHI SIAMO CSS - Mobile-First Approach
   Based on WEB_4_0_MOBILE_FIRST_GUIDE
   ============================================ */

/* CSS Variables - Breakpoints & Design Tokens */
:root {
    /* Breakpoints */
    --bp-sm: 576px;
    --bp-md: 768px;
    --bp-lg: 992px;
    --bp-xl: 1200px;

    /* Colors */
    --color-primary: #e22721;
    --color-primary-dark: #c91f1a;
    --color-success: #0B8D84;
    --color-warning: #E56E12;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-bg: #ffffff;
    --color-bg-alt: #f9fafb;
    --color-border: #e5e7eb;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* Touch targets */
    --touch-target-min: 48px;
}

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

/* Header sticky fix */
#header-placeholder {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* BASE STYLES - Mobile Default */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    -webkit-text-size-adjust: 100%;
}

/* Touch-friendly elements */
button,
.btn,
a.hero-cta-primary,
a.hero-cta-secondary,
a.cta-btn-primary,
a.cta-btn-secondary,
a.presenza-btn {
    min-height: var(--touch-target-min);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent iOS zoom on input focus */
input,
select,
textarea {
    font-size: 16px;
    min-height: var(--touch-target-min);
}

/* Container - Mobile First */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 var(--space-lg);
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ============================================
   HERO LIGHT THEME - Chi Siamo (Mobile-First)
   ============================================ */

/* Mobile base styles */
.hero-light {
    background: linear-gradient(135deg, #fafafa 0%, #f3f4f6 100%);
    padding: 40px 0 60px;
}

/* Mobile: single column, centered */
.hero-light-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-light-content {
    max-width: 100%;
    text-align: center;
}

.hero-badge-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: var(--space-md);
}

/* Mobile: smaller title */
.hero-light-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: #111827;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero-light-subtitle {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

/* Stats - Mobile First (wrap and centered) */
.hero-light-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.hero-light-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.hero-light-stat .stat-number {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
}

.hero-light-stat .stat-label {
    font-size: 12px;
    color: #9ca3af;
}

/* Mobile: hide stat dividers */
.stat-divider-light {
    display: none;
}

/* CTA Row - Mobile First (column) */
.hero-cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-md);
}

/* CTA Buttons - Mobile First (full width) */
.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    min-height: var(--touch-target-min);
    transition: all 0.3s ease;
}

.hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(226, 39, 33, 0.3);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    padding: 14px 24px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    background: white;
    min-height: var(--touch-target-min);
    transition: all 0.2s ease;
}

.hero-cta-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Hero Image - Mobile First (smaller height) */
.hero-light-image {
    position: relative;
}

.hero-light-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* Hero Light - Tablet (min-width: 768px) */
@media (min-width: 768px) {
    .hero-light {
        padding: 60px 0;
    }

    .hero-light-title {
        font-size: 36px;
    }

    .hero-light-subtitle {
        font-size: 17px;
        margin-bottom: var(--space-xl);
    }

    .hero-light-stat .stat-number {
        font-size: 28px;
    }

    .stat-divider-light {
        display: block;
        width: 1px;
        height: 40px;
        background: var(--color-border);
    }

    .hero-cta-row {
        flex-direction: row;
        justify-content: center;
    }

    .hero-light-image img {
        height: 350px;
        border-radius: 20px;
    }
}

/* Hero Light - Desktop (min-width: 992px) */
@media (min-width: 992px) {
    .hero-light {
        padding: 80px 0;
    }

    .hero-light-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .hero-light-content {
        max-width: 560px;
        text-align: left;
    }

    .hero-light-title {
        font-size: 48px;
    }

    .hero-light-subtitle {
        font-size: 18px;
    }

    .hero-light-stats {
        justify-content: flex-start;
    }

    .hero-light-stat {
        align-items: flex-start;
    }

    .hero-cta-row {
        justify-content: flex-start;
    }

    .hero-light-image img {
        height: 500px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    }
}

/* HERO SECTION - OLD (kept for reference) */
.hero-chi-siamo {
    padding: 140px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    display: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9) 0%, rgba(17, 24, 39, 0.85) 100%);
}

.hero-chi-siamo .container {
    position: relative;
    z-index: 1;
}

.hero-chi-siamo h1 {
    font-size: 56px;
    font-weight: bold;
    color: white;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-chi-siamo .subtitle {
    font-size: 24px;
    color: rgba(255,255,255,0.85);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.hero-stat {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 30px 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #e22721;
    margin-bottom: 10px;
}

.hero-stat-number.color-primary {
    color: #e22721;
}

.hero-stat-number.color-success {
    color: #0B8D84;
}

.hero-stat-number.color-warning {
    color: #E56E12;
}

.hero-stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

/* INTRO SECTION - Bento Grid (Mobile-First) */
.intro-section {
    padding: 60px 0;
    background: var(--color-bg-alt);
}

/* Mobile: single column */
.intro-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.intro-text h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
    line-height: 1.3;
}

.intro-text p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.intro-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

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

/* Intro Section - Tablet */
@media (min-width: 768px) {
    .intro-section {
        padding: 80px 0;
    }

    .intro-text h2 {
        font-size: 32px;
    }

    .intro-image img {
        height: 350px;
    }
}

/* Intro Section - Desktop */
@media (min-width: 992px) {
    .intro-section {
        padding: 100px 0;
    }

    .intro-bento {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .intro-text h2 {
        font-size: 38px;
    }

    .intro-text p {
        font-size: 18px;
    }

    .intro-image {
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

    .intro-image img {
        height: 400px;
    }
}

/* VALORE SECTION - Bento Grid Modern (Mobile-First) */
.valore-section {
    padding: 60px 0;
    background: var(--color-bg);
}

.valore-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: var(--space-xl);
    text-align: center;
    color: var(--color-text);
}

/* Mobile: single column */
.valore-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

/* Mobile: card large as single column, no spanning */
.valore-card-large {
    grid-column: span 1;
    background: var(--color-bg-alt);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.valore-card-large:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

/* Mobile: smaller image height */
.valore-card-image {
    height: auto;
    min-height: 200px;
}

.valore-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.valore-card-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.valore-badge {
    display: inline-block;
    background: rgba(226, 39, 33, 0.1);
    color: #e22721;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    width: fit-content;
}

.valore-card-medium {
    background: #f9fafb;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.valore-card-medium:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.valore-card-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.valore-card-image-only {
    border-radius: 20px;
    overflow: hidden;
}

.valore-card-image-only img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 250px;
}

.valore-title {
    font-size: 22px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 12px;
}

.valore-desc {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    flex: 1;
}

.valore-stat {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.valore-stat .stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #e22721;
}

.valore-stat .stat-label {
    font-size: 14px;
    color: #6b7280;
}

.location-icon {
    width: 14px;
    height: 14px;
    stroke: #e22721;
    display: inline;
    vertical-align: middle;
}

/* PRESENZA SECTION - Mappa + numeri (Mobile-First) */
.presenza-section {
    padding: 60px 0;
    background: var(--color-bg-alt);
}

.presenza-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: var(--space-lg);
    text-align: center;
    color: var(--color-text);
}

.presenza-intro {
    text-align: center;
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 100%;
    margin: 0 auto var(--space-xl);
}

/* Mobile: 2 columns grid */
.presenza-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.presenza-item {
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.presenza-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.presenza-citta {
    font-size: 18px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 8px;
}

.presenza-filiali {
    font-size: 32px;
    font-weight: bold;
    color: #e22721;
    margin-bottom: 5px;
}

.presenza-label {
    font-size: 14px;
    color: #6b7280;
}

.presenza-cta {
    text-align: center;
    margin-top: 50px;
}

.presenza-btn {
    display: inline-block;
    background: #e22721;
    color: white;
    padding: 18px 50px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.presenza-btn:hover {
    background: #c91f1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(226, 39, 33, 0.3);
}

/* STORIA SECTION - Modern Timeline Cards (Mobile-First) */
.storia-section {
    padding: 60px 0;
    background: var(--color-bg);
}

.storia-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: var(--space-xl);
    text-align: center;
    color: var(--color-text);
}

/* Mobile: single column timeline */
.timeline-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.timeline-card {
    background: #f9fafb;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e22721, #c91f1a);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.timeline-card:hover::before {
    opacity: 1;
}

.timeline-card-year {
    font-size: 14px;
    font-weight: 700;
    color: #e22721;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.timeline-card-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    color: #e22721;
}

.timeline-card-title {
    font-size: 18px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 12px;
}

.timeline-card-text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    flex: 1;
}

.timeline-card-stat {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    font-weight: 600;
    color: #0B8D84;
}

.timeline-card-highlight {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-color: transparent;
}

.timeline-card-highlight .timeline-card-year {
    color: #e22721;
}

.timeline-card-highlight .timeline-card-icon {
    background: rgba(255,255,255,0.1);
    color: white;
}

.timeline-card-highlight .timeline-card-title {
    color: white;
}

.timeline-card-highlight .timeline-card-text {
    color: rgba(255,255,255,0.8);
}

.timeline-card-highlight .timeline-card-stat {
    border-color: rgba(255,255,255,0.1);
    color: #0B8D84;
}

/* TEAM SECTION - Modern (Mobile-First) */
.team-section {
    padding: 60px 0;
    background: var(--color-bg-alt);
}

.team-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: var(--space-lg);
    text-align: center;
    color: var(--color-text);
}

.team-intro {
    text-align: center;
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 100%;
    margin: 0 auto var(--space-xl);
}

/* Mobile: single column */
.team-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.team-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

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

.team-card-photo {
    height: 240px;
    overflow: hidden;
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card-modern:hover .team-card-photo img {
    transform: scale(1.05);
}

.team-card-info {
    padding: 24px;
}

.team-card-name {
    font-size: 20px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 4px;
}

.team-card-role {
    font-size: 14px;
    color: #e22721;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}

.team-card-quote {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    font-style: italic;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 3px solid #e22721;
    margin-bottom: 16px;
}

.team-card-stats {
    font-size: 14px;
    color: #6b7280;
}

.team-card-stats .stat-highlight {
    font-weight: bold;
    color: #0B8D84;
    font-size: 18px;
}

/* Keep old team-grid for backwards compatibility but hide */
.team-grid {
    display: none;
}

/* FLIP CARD EFFECT */
.team-card {
    perspective: 1000px;
    height: 320px;
    cursor: pointer;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.team-card-front {
    z-index: 2;
    display: flex;
    flex-direction: row;
    background: white;
    opacity: 1;
}

.team-card-back {
    padding: 30px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    z-index: 1;
    opacity: 0;
    transform: scale(0.95);
}

.team-card:hover .team-card-front {
    opacity: 0;
    pointer-events: none;
}

.team-card:hover .team-card-back {
    z-index: 3;
    opacity: 1;
    transform: scale(1);
}

.team-card:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.team-card-back-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.team-card-back-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.team-card-back-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-back-avatar i,
.team-card-back-avatar svg {
    width: 26px;
    height: 26px;
    stroke: white;
}

.team-card-back-name {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 4px;
}

.team-card-back-role {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.team-card-back-story {
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
}

.team-card-back-quote {
    font-style: italic;
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 3px solid #e22721;
    line-height: 1.7;
    word-wrap: break-word;
}

.team-card-back-evidence {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    word-wrap: break-word;
}

.team-card-back-footer {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #0B8D84;
    font-weight: 500;
}

.team-card-back-footer i,
.team-card-back-footer svg {
    width: 18px;
    height: 18px;
    stroke: #0B8D84;
}

.click-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
}

.click-hint i,
.click-hint svg {
    width: 12px;
    height: 12px;
    stroke: #9ca3af;
}

.team-photo {
    width: 200px;
    height: 100%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo i,
.team-photo svg {
    width: 70px;
    height: 70px;
    stroke: #9ca3af;
}

.team-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.team-name {
    font-size: 20px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 8px;
}

.team-role {
    font-size: 15px;
    color: #e22721;
    margin-bottom: 16px;
    font-weight: 600;
}

.team-location {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.team-stat {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

/* RISULTATI SECTION - Modern Reviews (Mobile-First) */
.risultati-section {
    padding: 60px 0;
    background: var(--color-bg);
}

.risultati-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: var(--space-xl);
    text-align: center;
    color: var(--color-text);
}

/* Mobile: single column */
.reviews-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.review-card-modern {
    background: #f9fafb;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.review-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author-info {
    flex: 1;
}

.review-author {
    font-weight: 600;
    color: #1f2937;
    font-size: 16px;
}

.review-role {
    font-size: 13px;
    color: #6b7280;
}

.review-stars {
    color: #fbbf24;
    font-size: 16px;
}

.review-text {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    font-style: italic;
}

/* Modern Stats Bar - Mobile First (column on mobile) */
.risultati-stats-modern {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    background: var(--color-bg-alt);
    padding: var(--space-lg);
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

.stat-card {
    text-align: center;
}

.stat-icon {
    margin-bottom: 12px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
}

/* Mobile: horizontal divider */
.stat-divider {
    width: 60px;
    height: 1px;
    background: var(--color-border);
}

/* Hide old risultati-grid */
.risultati-grid {
    display: none;
}

.risultati-stats {
    display: none;
}

/* CTA SECTION - Modern with Image (Mobile-First) */
.cta-section-modern {
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.92) 0%, rgba(17, 24, 39, 0.95) 100%);
}

.cta-section-modern .container {
    position: relative;
    z-index: 1;
}

/* Mobile: smaller title */
.cta-section-modern h2 {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin-bottom: var(--space-lg);
}

.cta-section-modern p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-xl);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Old CTA Section - hide */
.cta-section {
    display: none;
}

/* Mobile: column buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    justify-content: center;
    align-items: stretch;
    margin-bottom: var(--space-xl);
}

.cta-btn-primary {
    display: inline-block;
    background: #e22721;
    color: white;
    padding: 20px 60px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn-primary:hover {
    background: #c91f1a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(226, 39, 33, 0.4);
    text-decoration: none;
}

.cta-btn-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 20px 60px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: white;
    color: #1f2937;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Mobile: column badges */
.cta-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.cta-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
}

.cta-badge svg {
    color: #0B8D84;
    stroke: #0B8D84;
}

.cta-extra-info {
    display: none;
}

/* ============================================
   RESPONSIVE - Mobile-First Approach
   Base styles are mobile, then scale up
   ============================================ */

/* Tablet (min-width: 768px) */
@media (min-width: 768px) {
    /* Valore Section */
    .valore-section {
        padding: 80px 0;
    }

    .valore-section h2 {
        font-size: 36px;
    }

    .valore-bento {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .valore-card-large {
        grid-column: span 2;
        grid-template-columns: 1fr 1fr;
        border-radius: 20px;
    }

    .valore-card-image {
        min-height: 300px;
    }

    .valore-card-content {
        padding: 32px;
    }

    /* Presenza Section */
    .presenza-section {
        padding: 80px 0;
    }

    .presenza-section h2 {
        font-size: 36px;
    }

    .presenza-intro {
        font-size: 18px;
        max-width: 700px;
    }

    /* Storia Section */
    .storia-section {
        padding: 80px 0;
    }

    .storia-section h2 {
        font-size: 36px;
    }

    .timeline-modern {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Team Section */
    .team-section {
        padding: 80px 0;
    }

    .team-section h2 {
        font-size: 36px;
    }

    .team-intro {
        font-size: 18px;
        max-width: 700px;
    }

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

    /* Risultati Section */
    .risultati-section {
        padding: 80px 0;
    }

    .risultati-section h2 {
        font-size: 36px;
    }

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

    .risultati-stats-modern {
        flex-direction: row;
        gap: 40px;
        padding: 40px 60px;
    }

    .stat-divider {
        width: 1px;
        height: 60px;
    }

    /* CTA Section */
    .cta-section-modern {
        padding: 80px 0;
    }

    .cta-section-modern h2 {
        font-size: 36px;
    }

    .cta-section-modern p {
        font-size: 18px;
        max-width: 600px;
    }

    .cta-buttons {
        flex-direction: row;
        gap: 20px;
    }

    .cta-badges {
        flex-direction: row;
        gap: 30px;
    }
}

/* Desktop (min-width: 992px) */
@media (min-width: 992px) {
    /* Valore Section */
    .valore-section {
        padding: 100px 0;
    }

    .valore-section h2 {
        font-size: 42px;
        margin-bottom: 50px;
    }

    .valore-bento {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .valore-card-content {
        padding: 40px;
    }

    /* Presenza Section */
    .presenza-section {
        padding: 100px 0;
    }

    .presenza-section h2 {
        font-size: 42px;
    }

    .presenza-intro {
        font-size: 20px;
        max-width: 800px;
        margin-bottom: 70px;
    }

    .presenza-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    /* Storia Section */
    .storia-section {
        padding: 100px 0;
    }

    .storia-section h2 {
        font-size: 42px;
        margin-bottom: 50px;
    }

    .timeline-modern {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }

    /* Team Section */
    .team-section {
        padding: 100px 0;
    }

    .team-section h2 {
        font-size: 42px;
    }

    .team-intro {
        font-size: 20px;
        max-width: 800px;
        margin-bottom: 50px;
    }

    .team-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    /* Risultati Section */
    .risultati-section {
        padding: 100px 0;
    }

    .risultati-section h2 {
        font-size: 42px;
        margin-bottom: 50px;
    }

    .reviews-modern {
        gap: 24px;
        margin-bottom: 60px;
    }

    /* CTA Section */
    .cta-section-modern {
        padding: 120px 0;
    }

    .cta-section-modern h2 {
        font-size: 48px;
    }

    .cta-section-modern p {
        font-size: 20px;
    }

    .cta-buttons {
        margin-bottom: 50px;
    }

    .cta-badges {
        margin-top: 40px;
    }
}
