/* Variables de colores unificadas */
:root {
    --primary-color: #2293d9;
    --secondary-color: #6C757D;
    --success-color: #198754;
    --danger-color: #DC3545;
    --warning-color: #FFC107;
    --info-color: #0DCAF0;
    --light-color: #F8F9FA;
    --dark-color: #212529;
    --text-color: #2c3e50;
    --text-muted: #6c757d;
    --shadow-light: rgba(0,0,0,0.08);
    --shadow-medium: rgba(0,0,0,0.1);
    --shadow-strong: rgba(13, 202, 240, 0.15);
}

/* Estilos base de títulos */
.title-sm {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Estilos de texto base */
.disc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.pre {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

/* Contenedores de sección */
.section-container {
    padding: 40px 0;
}

.coberturas-section-gap {
    padding: 80px 0;
}

.title-between-area {
    margin-bottom: 60px;
}

.title-wrapper-left .pre {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.title-wrapper-left .title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Estilos de valores y cards */
.valores-item {
    background-color: var(--light-color);
    border-radius: 15px;
    padding: 20px 15px;
    margin-bottom: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.valores-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-strong);
    border-color: var(--primary-color);
}

.valor-text {
    color: #495057;
    font-weight: bold;
    margin: 0;
}

.closing-text {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    border: 1px solid #e9ecef;
}

/* Estilos de navegación (tabs) */
.nav-tabs {
    border: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.nav-tabs .nav-item {
    margin-bottom: 10px;
}

.nav-tabs .nav-link {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 80px;
    text-align: center;
}

.nav-tabs .nav-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-tabs .nav-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.tab-content {
    margin-top: 40px;
}

/* Estilos de grillas y elementos de obras sociales */
.obras-sociales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.obra-social-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.obra-social-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-strong);
    border-color: var(--primary-color);
}

.obra-social-item .icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), #0bb3d6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.obra-social-item .icon i {
    color: white;
    font-size: 16px;
}

.obra-social-item h5 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Estados vacíos */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #dee2e6;
}

/* Utilidades */
.bg-light {
    background-color: var(--light-color) !important;
}

/* Media queries para responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    .title-wrapper-left .title {
        font-size: 2rem;
    }

    .nav-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .nav-tabs .nav-link {
        white-space: nowrap;
        min-width: 60px;
        padding: 10px 20px;
    }

    .obras-sociales-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .valores-item {
        padding: 15px 10px;
    }
    
    .closing-text {
        padding: 20px;
    }
}