/* SEZIONE SERVIZI */
.services-section {
    padding: 0;
    background: var(--bg-primary-gradient);
    position: relative;
    overflow: hidden;
    min-height: 160vh;
    display: flex;
    align-items: flex-start;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pattern-hex) repeat;
    z-index: 1;
}

.services-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 160vh;
    padding-top: 110px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.services-section .section-title {
    color: var(--text-white);
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 15px;
    position: relative;
    text-align: center;
}

.services-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-300), var(--primary-200));
    border-radius: var(--radius-sm);
}

.services-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    margin-bottom: 30px;
    text-align: center;
}

.services-content {
    display: flex;
    flex-direction: column;
}

/* Prima sottosezione servizi */
.services-subsection-1 {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

/* Seconda sottosezione servizi */
.services-subsection-2 {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

.services-main {
    margin-bottom: 20px;
}

.main-service-card {
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-backdrop);
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 25px;
    transition: var(--transition-normal);
}

.main-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.service-icon-large {
    width: 60px;
    height: 60px;
    background: var(--glass-bg-strong);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-large i {
    color: var(--text-white);
    font-size: 2rem;
}

.service-title-section h3 {
    color: var(--text-white);
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 8px;
    line-height: var(--line-height-tight);
}

.service-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-lg);
    margin: 0;
}

.service-description {
    margin-bottom: 15px;
}

.service-description p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.service-features-grid .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--glass-bg);
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.service-features-grid .feature-item:hover {
    background: var(--glass-bg-strong);
    transform: translateX(10px);
}

.service-features-grid .feature-item i {
    color: var(--primary-200);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-features-grid .feature-item span {
    color: var(--text-white);
    font-weight: var(--font-weight-medium);
}

.service-cta {
    text-align: center;
}

.service-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    background: var(--glass-bg-strong);
    color: var(--text-white);
    text-decoration: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-lg);
    transition: var(--transition-normal);
    backdrop-filter: var(--glass-backdrop);
    border: var(--glass-border);
}

.service-btn-primary:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
    text-decoration: none;
}

.service-btn-primary i {
    transition: var(--transition-normal);
}

.service-btn-primary:hover i {
    transform: translateX(5px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition-slower);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--glass-bg-strong);
}

.service-card .service-icon {
    width: 70px;
    height: 70px;
    background: var(--glass-bg-strong);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card .service-icon i {
    color: var(--text-white);
    font-size: 1.8rem;
}

.service-card h4 {
    color: var(--text-white);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-tight);
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-lg);
}

.service-link a {
    color: var(--primary-200);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-fast);
    position: relative;
}

.service-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-200);
    transition: var(--transition-normal);
}

.service-link a:hover::after {
    width: 100%;
}

.service-link a:hover {
    color: var(--text-white);
}

/* Process Section */
.process-section {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.process-section h3 {
    color: var(--text-white);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xl);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.process-step {
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.process-step:hover {
    background: var(--glass-bg-strong);
    transform: translateY(-5px);
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-white);
    margin: 0 auto var(--spacing-md);
}

.process-content h4 {
    color: var(--text-white);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.process-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.testimonials-section h3 {
    color: var(--text-white);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.testimonial-card:hover {
    background: var(--glass-bg-strong);
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: var(--spacing-md);
}

.testimonial-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
    font-style: italic;
    margin: 0;
    position: relative;
    padding-left: var(--spacing-md);
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 2rem;
    color: var(--primary-200);
    font-family: serif;
}

.testimonial-author h5 {
    color: var(--text-white);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-md);
    margin-bottom: var(--spacing-xs);
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
}

/* Why Choose Section */
.why-choose-section {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
}

.why-choose-section h3 {
    color: var(--text-white);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xl);
}

.advantages-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.advantage-card {
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-card:hover {
    background: var(--glass-bg-strong);
    transform: translateY(-5px);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: var(--glass-bg-strong);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    transition: var(--transition-normal);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-icon i {
    color: var(--primary-200);
    font-size: 1.8rem;
}

.advantage-card h5 {
    color: var(--text-white);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

/* RESPONSIVE */
@media (min-width: 1200px) {
    .services-section .container {
        max-width: 1200px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .advantages-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    .services-section {
        scroll-margin-top: var(--navbar-height);
    }
    
    .process-section,
    .testimonials-section,
    .why-choose-section {
        padding: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-section {
        min-height: auto;
        padding: var(--section-padding-mobile);
    }
    
    .services-section .container {
        min-height: auto;
        padding-top: 60px;
    }
    
    .services-subsection-1,
    .services-subsection-2 {
        min-height: auto;
        padding: 30px 0;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantages-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .services-section .section-title {
        font-size: 2.2rem;
    }
    
    .main-service-card {
        padding: 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .process-section,
    .testimonials-section,
    .why-choose-section {
        padding: 15px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .advantages-row {
        grid-template-columns: 1fr;
    }
    
    .services-section .section-title {
        font-size: 2rem;
    }
}