/* Vision Mission / Values Block Styling */

.mercato-values-section {
    background-color: #e5e7eb;
    padding: 80px 20px;
    overflow: hidden;
    margin-top: 40px;
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-title {
    color: #000;
    font-size: 2.5rem;
    font-weight: 700;
}

.u-underline {
    color: #facc15;
    text-decoration: underline;
    text-decoration-color: #facc15;
    text-underline-offset: 8px;
    font-weight: 800;
}

/* Desktop Layout */
.values-desktop-layout {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    min-height: 600px;
    max-width: 1200px;
    margin: 0 auto;
}

.values-side-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 80px;
    padding: 40px 0;
}

.values-center-col {
    z-index: 10;
}

/* Card Styling */
.value-card {
    background: #fff;
    width: 250px;
    height: 320px;
    border-radius: 60px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

/* Highlighted (Center) Card */
.value-card.is-highlighted {
    background: #facc15;
    border: 2px solid #fff;
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.value-card.is-highlighted:hover {
    transform: scale(1.18);
}

/* Badge (Number) */
.value-badge {
    background: #facc15;
    color: #000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.is-highlighted .value-badge {
    background: #fff;
}

/* Typography in Cards */
.value-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #facc15;
    margin-bottom: 12px;
}

.is-highlighted .value-card-title {
    color: #fff;
}

.value-card-desc {
    font-size: 0.9rem;
    color: #6b7280;
    /* Text Gray 500 */
    line-height: 1.6;
    margin: 0;
}

.is-highlighted .value-card-desc {
    color: #000;
    font-weight: 500;
}

/* Layout Visibility */
.values-mobile-layout {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-top: 40px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .values-desktop-layout {
        display: none;
    }

    .values-mobile-layout {
        display: grid;
    }

    .value-card {
        margin: 0 auto;
        width: 100%;
        max-width: 300px;
        height: 280px;
    }

    .value-card.is-highlighted {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .mercato-values-section {
        padding: 50px 15px;
    }

    .values-title {
        font-size: 1.8rem;
    }
}