/* ========================================
   SERVICES COMPONENT - Ubuntu Seguros
   ======================================== */

 /* Services Section */
 /* Benefits Grid Section */
 .benefits-grid {
    padding: var(--spacing-5xl) 0;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.benefits-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(233, 84, 32, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(15, 20, 25, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.benefits-grid .container {
    position: relative;
    z-index: 1;
}

/* Section Header */
.section-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-white);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-white);
    text-align: center;
    margin-bottom: var(--spacing-5xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--line-height-relaxed);
}

/* Benefits Container */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-4xl);
    align-items: start;
}

/* Benefits Column */
.benefits-column {
    background: #1a233880;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-3xl);
    box-shadow: var(--shadow-lg);
    /* border: 1px solid #fff; */
    transition: var(--transition-all);
    position: relative;
    overflow: hidden;
}


.benefits-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    /* background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.6s ease; */
}

.benefits-column:hover {
    transform: translateY(-8px);
    /* box-shadow: var(--shadow-xl); */
}

.benefits-column:hover::before {
    transform: translateX(0);
}

/* Column Title */
.benefits-column h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    color: var(--primary-light);
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid #2d323a;
    position: relative;
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

/* .benefits-column h3::before {
    content: attr(data-icon);
    font-size: var(--font-size-2xl);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    flex-shrink: 0;
} */

/* Benefit Cards */
.benefit-card {
    border: 1px solid #404650;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    margin-bottom: var(--spacing-base);
    font-weight: var(--font-weight-medium);
    color: var(--text-white);
    transition: var(--transition-all);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    /* background: var(--gradient-primary); */
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition-base);
}

.benefit-card:hover {
    border: 1px solid var(--primary-light);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.benefit-card:hover::before {
    transform: scaleY(1);
}

.benefit-card:last-child {
    margin-bottom: 0;
}

/* Animation for cards */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card {
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }
.benefit-card:nth-child(7) { animation-delay: 0.7s; }

/* Responsive Design */
@media (max-width: 768px) {
    .benefits-grid {
        padding: var(--spacing-4xl) 0;
    }

    .section-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-base);
    }

    .section-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-3xl);
    }

    .benefits-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .benefits-column {
        padding: var(--spacing-2xl);
    }

    .benefits-column h3 {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-xl);
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    .benefits-column h3::before {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-xl);
    }

    .benefit-card {
        padding: var(--spacing-base) var(--spacing-lg);
        text-align: center;
    }

    .benefit-card:hover {
        transform: translateX(0) translateY(-4px);
    }
}

@media (max-width: 480px) {
    .benefits-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .benefits-column {
        padding: var(--spacing-xl);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }
}