/* ===== RECENSIONI GOOGLE E CTA CSS ===== */

.reviews-section {
    background-color: #f8f9fa;
    padding: 80px 32px;
    position: relative;
}

/* SLIDER RECENSIONI GOOGLE */
.google-reviews-slider {
    position: relative;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-container {
    overflow: hidden;
    border-radius: 15px;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.review-track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-slide {
    min-width: 100%;
    padding: 30px;
    background: white;
    box-sizing: border-box;
}

/* HEADER RECENSIONE */
.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

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

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-size: 16px;
    font-family: var(--font-family-bold);
    color: #333;
    margin: 0 0 3px 0;
}

.review-count {
    font-size: 14px;
    font-family: var(--font-family-book);
    color: #666;
    margin: 0;
}

.review-menu {
    color: #666;
    cursor: pointer;
    padding: 5px;
}

/* RATING E DATA */
.review-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.review-rating .stars {
    display: flex;
    gap: 2px;
}

.review-rating .stars i {
    color: #ffc107;
    font-size: 16px;
}

.review-date {
    font-size: 14px;
    font-family: var(--font-family-book);
    color: #666;
}

/* TESTO RECENSIONE */
.review-text {
    margin-bottom: 20px;
}

.review-text p {
    font-size: 14px;
    font-family: var(--font-family-book);
    color: #333;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.review-recommendation {
    font-weight: 600 !important;
}

/* AZIONI RECENSIONE */
.review-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.like-action, .share-action {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s ease;
}

.like-action:hover, .share-action:hover {
    color: var(--color-primary);
}

/* NAVIGAZIONE SLIDER */
.review-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.review-nav:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.review-nav-left {
    left: -25px;
}

.review-nav-right {
    right: -25px;
}

/* CTA SECTION */
.cta-section {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-family: var(--font-family-book);
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-description {
    font-size: 18px;
    font-family: var(--font-family-book);
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.cta-description strong {
    font-family: var(--font-family-bold);
    color: #333;
}

.cta-webinar-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #000;
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-family: var(--font-family-bold);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-webinar-btn:hover {
    background-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    color: white;
}

.cta-webinar-btn i {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 50%;
    font-size: 16px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .reviews-section {
        padding: 60px 20px;
    }
    
    .google-reviews-slider {
        margin-bottom: 40px;
    }
    
    .review-slide {
        padding: 25px 20px;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .reviewer-name {
        font-size: 15px;
    }
    
    .review-count {
        font-size: 13px;
    }
    
    .review-text p {
        font-size: 13px;
    }
    
    .review-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .review-nav-left {
        left: -20px;
    }
    
    .review-nav-right {
        right: -20px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .cta-webinar-btn {
        font-size: 16px;
        padding: 15px 30px;
    }
    
    .cta-webinar-btn i {
        font-size: 14px;
        padding: 6px;
    }
}

@media (max-width: 576px) {
    .reviews-section {
        padding: 40px 15px;
    }
    
    .review-slide {
        padding: 20px 15px;
    }
    
    .cta-title {
        font-size: 28px;
        line-height: 1.1;
    }
    
    .cta-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .cta-webinar-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        font-size: 15px;
        padding: 12px 25px;
    }
    
    .review-nav-left,
    .review-nav-right {
        display: none;
    }
}